Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfat <jacobthornton@gmail.com>2014-01-17 01:33:09 +0400
committerfat <jacobthornton@gmail.com>2014-01-17 01:33:09 +0400
commit2f76821a4dce7683168ab190e53c64fdf13dd469 (patch)
tree7fb60babcf89856fae934ea30067d13f6e3b1b1f /js/tests/unit/tab.js
parentbc074d54883de361f98429ab39b004ea89f3557a (diff)
new qunit
Diffstat (limited to 'js/tests/unit/tab.js')
-rw-r--r--js/tests/unit/tab.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/js/tests/unit/tab.js b/js/tests/unit/tab.js
index 59bedf391f..b8dbf2c18e 100644
--- a/js/tests/unit/tab.js
+++ b/js/tests/unit/tab.js
@@ -73,11 +73,14 @@ $(function () {
'</ul>'
$(dropHTML).find('ul>li:first a').tab('show').end()
- .find('ul>li:last a').on('show', function (event) {
+ .find('ul>li:last a')
+ .on('show.bs.tab', function (event) {
equal(event.relatedTarget.hash, '#1-1')
- }).on('shown', function (event) {
+ })
+ .on('show.bs.tab', function (event) {
equal(event.relatedTarget.hash, '#1-1')
- }).tab('show')
+ })
+ .tab('show')
})
})