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

fix(data): do not use data object in our unit tests

This commit is contained in:
Johann-S
2018-06-07 21:43:04 +02:00
committed by XhmikosR
parent 7eddee286e
commit 2b78078779
21 changed files with 190 additions and 44 deletions

View File

@@ -579,6 +579,10 @@ class Carousel {
event.preventDefault()
}
static _getInstance(element) {
return Data.getData(element, DATA_KEY)
}
}
/**
@@ -597,7 +601,6 @@ EventHandler.on(window, Event.LOAD_DATA_API, () => {
}
})
/**
* ------------------------------------------------------------------------
* jQuery