diff options
author | fat <jacobthornton@gmail.com> | 2013-05-17 07:19:51 +0400 |
---|---|---|
committer | fat <jacobthornton@gmail.com> | 2013-05-17 07:19:51 +0400 |
commit | 140ef2320bbb96ad90b73a884d83198706affaf9 (patch) | |
tree | 4de562f3c4fa8d989de16ebe61fd07732109a9e5 /js/tests/unit/tab.js | |
parent | 5ab72f76878a85f105702a24096268fea73fba2d (diff) |
change namespace back to dot notation and someother js shizzle
Diffstat (limited to 'js/tests/unit/tab.js')
-rw-r--r-- | js/tests/unit/tab.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tests/unit/tab.js b/js/tests/unit/tab.js index 40e4656a74..aede32abb1 100644 --- a/js/tests/unit/tab.js +++ b/js/tests/unit/tab.js @@ -53,12 +53,12 @@ $(function () { $.support.transition = false stop(); $('<div class="tab"/>') - .bind('bs:tab:show', function (e) { + .on('show.bs.tab', function (e) { e.preventDefault(); ok(true); start(); }) - .bind('bs:tab:shown', function () { + .on('shown.bs.tab', function () { ok(false); }) .tab('show') @@ -78,7 +78,7 @@ $(function () { $(dropHTML).find('ul>li:first a').tab('show').end() .find('ul>li:last a').on('show', function(event){ equals(event.relatedTarget.hash, "#1-1") - }).on('bs:tab:shown', function(event){ + }).on('shown', function(event){ equals(event.relatedTarget.hash, "#1-1") }).tab('show') }) |