diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2014-03-17 11:12:55 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2014-06-06 02:23:07 +0400 |
commit | 7b0acf14d8a7c7c6089035a848cba540ed963f36 (patch) | |
tree | d0b76d93abbce4390a52f4c367a0b0b8db08651c /js/tests/unit/carousel.js | |
parent | 5ef9383f5388ba7a701c4377b43ebdbedb0bf748 (diff) |
Comply to the new style.
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 5fd875c8cb..474cfb40c7 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 } |