Bläddra i källkod

updated npm packages, updated to version 3.0.1

Emanuele Marchi 11 år sedan
förälder
incheckning
4b8aa42417

+ 1 - 3
.gitignore

@@ -1,6 +1,4 @@
 .grunt
 npm-debug.log
 node_modules
-components
-.idea/
-bower_components/
+bower_components

+ 1 - 1
bower.json

@@ -1,7 +1,7 @@
 {
   "name": "bootstrap-switch",
   "description": "Turn checkboxes and radio buttons in toggle switches.",
-  "version": "3.0.0",
+  "version": "3.0.1",
   "main": [
     "dist/js/bootstrap-switch.js",
     "dist/css/bootstrap3/bootstrap-switch.css"

+ 1 - 1
coffeelint.json

@@ -114,7 +114,7 @@
     },
     "no_unnecessary_double_quotes": {
         "name": "no_unnecessary_double_quotes",
-        "level": "error"
+        "level": "ignore"
     },
     "no_debugger": {
         "name": "no_debugger",

+ 1 - 1
composer.json

@@ -1,7 +1,7 @@
 {
   "name": "nostalgiaz/bootstrap-switch",
   "description": "Turn checkboxes and radio buttons in toggle switches.",
-  "version": "3.0.0",
+  "version": "3.0.1",
   "type": "component",
   "keywords": [
     "bootstrap",

+ 1 - 1
dist/css/bootstrap2/bootstrap-switch.css

@@ -1,5 +1,5 @@
 /* ========================================================================
- * bootstrap-switch - v3.0.0
+ * bootstrap-switch - v3.0.1
  * http://www.bootstrap-switch.org
  * ========================================================================
  * Copyright 2012-2013 Mattia Larentis

+ 1 - 1
dist/css/bootstrap2/bootstrap-switch.min.css

@@ -1,5 +1,5 @@
 /* ========================================================================
- * bootstrap-switch - v3.0.0
+ * bootstrap-switch - v3.0.1
  * http://www.bootstrap-switch.org
  * ========================================================================
  * Copyright 2012-2013 Mattia Larentis

+ 1 - 1
dist/css/bootstrap3/bootstrap-switch.css

@@ -1,5 +1,5 @@
 /* ========================================================================
- * bootstrap-switch - v3.0.0
+ * bootstrap-switch - v3.0.1
  * http://www.bootstrap-switch.org
  * ========================================================================
  * Copyright 2012-2013 Mattia Larentis

+ 1 - 1
dist/css/bootstrap3/bootstrap-switch.min.css

@@ -1,5 +1,5 @@
 /* ========================================================================
- * bootstrap-switch - v3.0.0
+ * bootstrap-switch - v3.0.1
  * http://www.bootstrap-switch.org
  * ========================================================================
  * Copyright 2012-2013 Mattia Larentis

+ 2 - 2
dist/js/bootstrap-switch.js

@@ -1,5 +1,5 @@
 /* ========================================================================
- * bootstrap-switch - v3.0.0
+ * bootstrap-switch - v3.0.1
  * http://www.bootstrap-switch.org
  * ========================================================================
  * Copyright 2012-2013 Mattia Larentis
@@ -431,7 +431,7 @@
           "click.bootstrapSwitch": (function(_this) {
             return function(e) {
               _this.toggleState();
-              return _this.$element.trigger('focus.bootstrapSwitch');
+              return _this.$element.trigger("focus.bootstrapSwitch");
             };
           })(this)
         });

+ 1 - 1
dist/js/bootstrap-switch.min.js

@@ -1,5 +1,5 @@
 /* ========================================================================
- * bootstrap-switch - v3.0.0
+ * bootstrap-switch - v3.0.1
  * http://www.bootstrap-switch.org
  * ========================================================================
  * Copyright 2012-2013 Mattia Larentis

+ 4 - 4
package.json

@@ -1,7 +1,7 @@
 {
   "name": "bootstrap-switch",
   "description": "Turn checkboxes and radio buttons in toggle switches.",
-  "version": "3.0.0",
+  "version": "3.0.1",
   "keywords": [
     "bootstrap",
     "switch",
@@ -37,16 +37,16 @@
   "license": "Apache Version 2",
   "readmeFilename": "README.md",
   "devDependencies": {
-    "gulp-coffee": "~1.4.2",
+    "gulp-coffee": "~1.4.3",
     "gulp-util": "~2.2.14",
     "gulp-header": "~1.0.2",
     "gulp-uglify": "~0.2.1",
-    "gulp-coffeelint": "~0.3.2",
+    "gulp-coffeelint": "~0.3.3",
     "gulp": "~3.6.1",
     "gulp-less": "~1.2.3",
     "gulp-rename": "~1.2.0",
     "gulp-open": "~0.2.8",
-    "gulp-load-plugins": "~0.5.0",
+    "gulp-load-plugins": "~0.5.1",
     "gulp-jade": "~0.5.0",
     "run-sequence": "~0.3.6",
     "gulp-connect": "~2.0.5",

+ 2 - 2
src/coffee/bootstrap-switch.coffee

@@ -324,10 +324,10 @@ do ($ = window.jQuery, window) ->
 
         "mouseleave.bootstrapSwitch": (e) =>
           @$label.trigger "mouseup.bootstrapSwitch"
-        
+
         "click.bootstrapSwitch": (e) =>
           @toggleState()
-          @$element.trigger 'focus.bootstrapSwitch'
+          @$element.trigger "focus.bootstrapSwitch"
 
     _formHandler: ->
       $form = @$element.closest "form"