浏览代码

Generated prepublish build

Rohan Sakhale 7 年之前
父节点
当前提交
143f043b4b

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

@@ -1,10 +1,10 @@
 /**
   * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
   *
-  * @version v3.3.4
+  * @version v3.3.5
   * @homepage https://bttstrp.github.io/bootstrap-switch
   * @author Mattia Larentis <[email protected]> (http://larentis.eu)
-  * @license Apache-2.0
+  * @license MIT
   */
 
 .clearfix {

文件差异内容过多而无法显示
+ 2 - 2
dist/css/bootstrap2/bootstrap-switch.min.css


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

@@ -1,10 +1,10 @@
 /**
   * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
   *
-  * @version v3.3.4
+  * @version v3.3.5
   * @homepage https://bttstrp.github.io/bootstrap-switch
   * @author Mattia Larentis <[email protected]> (http://larentis.eu)
-  * @license Apache-2.0
+  * @license MIT
   */
 
 .bootstrap-switch {

文件差异内容过多而无法显示
+ 2 - 2
dist/css/bootstrap3/bootstrap-switch.min.css


+ 4 - 3
dist/js/bootstrap-switch.js

@@ -1,10 +1,10 @@
 /**
   * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
   *
-  * @version v3.3.4
+  * @version v3.3.5
   * @homepage https://bttstrp.github.io/bootstrap-switch
   * @author Mattia Larentis <[email protected]> (http://larentis.eu)
-  * @license Apache-2.0
+  * @license MIT
   */
 
 (function (global, factory) {
@@ -393,7 +393,8 @@
           args[_key] = arguments[_key];
         }
 
-        if (_this9.options.onSwitchChange.apply(element, args) === false) {
+        var changeState = _this9.options.onSwitchChange.apply(element, args);
+        if (changeState === false) {
           if (_this9.$element.is(':radio')) {
             $('[name="' + _this9.$element.attr('name') + '"]').trigger('previousState.bootstrapSwitch', true);
           } else {

文件差异内容过多而无法显示
+ 2 - 2
dist/js/bootstrap-switch.min.js


部分文件因为文件数量过多而无法显示