aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/collapse.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/collapse.js
parentd66b65ddde1b2f1a5cb14f601d30c552c79d7626 (diff)
parent1e3b93804fa88d247d8708529fb44b28d73fd91f (diff)
downloadbootstrap-34891de173f1ea1dfd470d4cdeed52f83d9a253b.tar.xz
bootstrap-34891de173f1ea1dfd470d4cdeed52f83d9a253b.zip
grunt
Diffstat (limited to 'js/tests/unit/collapse.js')
-rw-r--r--js/tests/unit/collapse.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/tests/unit/collapse.js b/js/tests/unit/collapse.js
index a8c6e38a5..4a0cf2b2e 100644
--- a/js/tests/unit/collapse.js
+++ b/js/tests/unit/collapse.js
@@ -1,4 +1,5 @@
$(function () {
+ 'use strict';
module('collapse plugin')
@@ -7,11 +8,11 @@ $(function () {
})
module('collapse', {
- 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.bootstrapCollapse = $.fn.collapse.noConflict()
},
- teardown: function() {
+ teardown: function () {
$.fn.collapse = $.fn.bootstrapCollapse
delete $.fn.bootstrapCollapse
}