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

@@ -26,7 +26,6 @@ import BaseComponent from './base-component'
*/
const NAME = 'tab'
const VERSION = '5.0.0-alpha3'
const DATA_KEY = 'bs.tab'
const EVENT_KEY = `.${DATA_KEY}`
const DATA_API_KEY = '.data-api'
@@ -60,10 +59,6 @@ const SELECTOR_DROPDOWN_ACTIVE_CHILD = ':scope > .dropdown-menu .active'
class Tab extends BaseComponent {
// Getters
static get VERSION() {
return VERSION
}
static get DATA_KEY() {
return DATA_KEY
}