1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-27 05:49:07 +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

@@ -24,7 +24,6 @@ import BaseComponent from './base-component'
*/
const NAME = 'alert'
const VERSION = '5.0.0-alpha3'
const DATA_KEY = 'bs.alert'
const EVENT_KEY = `.${DATA_KEY}`
const DATA_API_KEY = '.data-api'
@@ -48,10 +47,6 @@ const CLASSNAME_SHOW = 'show'
class Alert extends BaseComponent {
// Getters
static get VERSION() {
return VERSION
}
static get DATA_KEY() {
return DATA_KEY
}