1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-29 06:49:06 +02:00

Move VERSION to BaseComponent (#32254)

This commit is contained in:
Rohit Sharma
2020-11-25 12:43:33 +05:30
committed by XhmikosR
parent 9eb9d02084
commit f6a8733741
12 changed files with 12 additions and 55 deletions

View File

@@ -17,7 +17,6 @@ import BaseComponent from './base-component'
*/
const NAME = 'button'
const VERSION = '5.0.0-alpha3'
const DATA_KEY = 'bs.button'
const EVENT_KEY = `.${DATA_KEY}`
const DATA_API_KEY = '.data-api'
@@ -37,10 +36,6 @@ const EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`
class Button extends BaseComponent {
// Getters
static get VERSION() {
return VERSION
}
static get DATA_KEY() {
return DATA_KEY
}