diff options
| author | Mark Otto <[email protected]> | 2014-06-08 11:19:35 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-06-08 11:19:35 -0700 |
| commit | 34891de173f1ea1dfd470d4cdeed52f83d9a253b (patch) | |
| tree | a7cb7aaf85bdfce5e1f0a8165879193c327179b6 /js/tests/unit/carousel.js | |
| parent | d66b65ddde1b2f1a5cb14f601d30c552c79d7626 (diff) | |
| parent | 1e3b93804fa88d247d8708529fb44b28d73fd91f (diff) | |
| download | bootstrap-34891de173f1ea1dfd470d4cdeed52f83d9a253b.tar.xz bootstrap-34891de173f1ea1dfd470d4cdeed52f83d9a253b.zip | |
grunt
Diffstat (limited to 'js/tests/unit/carousel.js')
| -rw-r--r-- | js/tests/unit/carousel.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/tests/unit/carousel.js b/js/tests/unit/carousel.js index 5fd875c8c..474cfb40c 100644 --- a/js/tests/unit/carousel.js +++ b/js/tests/unit/carousel.js @@ -1,4 +1,5 @@ $(function () { + 'use strict'; module('carousel plugin') @@ -7,11 +8,11 @@ $(function () { }) module('carousel', { - 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.bootstrapCarousel = $.fn.carousel.noConflict() }, - teardown: function() { + teardown: function () { $.fn.carousel = $.fn.bootstrapCarousel delete $.fn.bootstrapCarousel } |
