Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-04-15 03:29:53 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-04-15 03:29:53 +0400
commit575f18aaf49abb0289185f6409bee031947ccf69 (patch)
treed3548124fab9ba1affe9e056665a46a20432a5c7 /docs/assets/js/bootstrap-carousel.js
parent8575a452942001bce522e8e258d9e192d24cb6ec (diff)
add jshint support + a few minor stylistic changes
Diffstat (limited to 'docs/assets/js/bootstrap-carousel.js')
-rw-r--r--docs/assets/js/bootstrap-carousel.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/assets/js/bootstrap-carousel.js b/docs/assets/js/bootstrap-carousel.js
index 0c8c5a202a..d1c3079e44 100644
--- a/docs/assets/js/bootstrap-carousel.js
+++ b/docs/assets/js/bootstrap-carousel.js
@@ -18,9 +18,10 @@
* ========================================================== */
-!function ( $ ) {
+!function ($) {
+
+ "use strict"; // jshint ;_;
- "use strict"
/* CAROUSEL CLASS DEFINITION
* ========================= */
@@ -129,7 +130,7 @@
/* CAROUSEL PLUGIN DEFINITION
* ========================== */
- $.fn.carousel = function ( option ) {
+ $.fn.carousel = function (option) {
return this.each(function () {
var $this = $(this)
, data = $this.data('carousel')
@@ -162,4 +163,4 @@
})
})
-}( window.jQuery ); \ No newline at end of file
+}(window.jQuery); \ No newline at end of file