Explorar o código

added support for html tag that may override inverse option

Emanuele Marchi %!s(int64=10) %!d(string=hai) anos
pai
achega
38a6766618

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

@@ -38,6 +38,7 @@
           disabled: this.$element.is(":disabled"),
           readonly: this.$element.is("[readonly]"),
           indeterminate: this.$element.data("indeterminate"),
+          inverse: this.$element.data("inverse"),
           onColor: this.$element.data("on-color"),
           offColor: this.$element.data("off-color"),
           onText: this.$element.data("on-text"),

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/js/bootstrap-switch.min.js


+ 1 - 0
src/coffee/bootstrap-switch.coffee

@@ -11,6 +11,7 @@ do ($ = window.jQuery, window) ->
         disabled: @$element.is ":disabled"
         readonly: @$element.is "[readonly]"
         indeterminate: @$element.data "indeterminate"
+        inverse: @$element.data "inverse"
         onColor: @$element.data "on-color"
         offColor: @$element.data "off-color"
         onText: @$element.data "on-text"

+ 1 - 0
test/bootstrap-switch.js

@@ -38,6 +38,7 @@
           disabled: this.$element.is(":disabled"),
           readonly: this.$element.is("[readonly]"),
           indeterminate: this.$element.data("indeterminate"),
+          inverse: this.$element.data("inverse"),
           onColor: this.$element.data("on-color"),
           offColor: this.$element.data("off-color"),
           onText: this.$element.data("on-text"),

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio