aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/tab.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-06-08 11:19:35 -0700
committerMark Otto <[email protected]>2014-06-08 11:19:35 -0700
commit34891de173f1ea1dfd470d4cdeed52f83d9a253b (patch)
treea7cb7aaf85bdfce5e1f0a8165879193c327179b6 /js/tests/unit/tab.js
parentd66b65ddde1b2f1a5cb14f601d30c552c79d7626 (diff)
parent1e3b93804fa88d247d8708529fb44b28d73fd91f (diff)
downloadbootstrap-34891de173f1ea1dfd470d4cdeed52f83d9a253b.tar.xz
bootstrap-34891de173f1ea1dfd470d4cdeed52f83d9a253b.zip
grunt
Diffstat (limited to 'js/tests/unit/tab.js')
-rw-r--r--js/tests/unit/tab.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/tests/unit/tab.js b/js/tests/unit/tab.js
index 7372b7a17..0c49feeaf 100644
--- a/js/tests/unit/tab.js
+++ b/js/tests/unit/tab.js
@@ -1,4 +1,5 @@
$(function () {
+ 'use strict';
module('tabs plugin')
@@ -7,11 +8,11 @@ $(function () {
})
module('tabs', {
- setup: function() {
+ setup: function () {
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
$.fn.bootstrapTab = $.fn.tab.noConflict()
},
- teardown: function() {
+ teardown: function () {
$.fn.tab = $.fn.bootstrapTab
delete $.fn.bootstrapTab
}