bootstrap-switch-rails 3.3.4 → 3.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 168a079ce87f548c5f992b7d52a4545da207e34ad8af7f35e6d713386331ff4c
|
|
4
|
+
data.tar.gz: 0a260428a22d25c16895ab5862e53d3444b7d69abfcf025c3b1e60cf656aadca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c25b74d6c7cf787b9a135005ed094d1f2772beebefb297666bcdcd364317ddac569b0fad2ad37be9bff2196df6b9a8a06a806117a78d09c06ab48b47fdbc4c31
|
|
7
|
+
data.tar.gz: d6d0e8ee762bb07730c4a770f29eb55159ca7765650afe1fc32e2cfa5090e76b80b46e1d111ff4975630efefab1827a89c72adeb18c2bca9d79b308ded2c9a44
|
data/README.md
CHANGED
|
@@ -51,7 +51,7 @@ See the [demo page](http://bootstrapswitch.site/examples.html) for examples how
|
|
|
51
51
|
## License
|
|
52
52
|
|
|
53
53
|
* The [bootstrap-switch](http://bootstrapswitch.site/) plugin is licensed under the
|
|
54
|
-
[
|
|
54
|
+
[MIT License](http://opensource.org/licenses/mit-license.html)
|
|
55
55
|
* The [bootstrap-switch-rails](https://github.com/manuelvanrijn/bootstrap-switch-rails) project is
|
|
56
56
|
licensed under the [MIT License](http://opensource.org/licenses/mit-license.html)
|
|
57
57
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
|
|
3
3
|
*
|
|
4
|
-
* @version v3.3.
|
|
4
|
+
* @version v3.3.5
|
|
5
5
|
* @homepage https://bttstrp.github.io/bootstrap-switch
|
|
6
6
|
* @author Mattia Larentis <mattia@larentis.eu> (http://larentis.eu)
|
|
7
|
-
* @license
|
|
7
|
+
* @license MIT
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
(function (global, factory) {
|
|
@@ -393,7 +393,8 @@
|
|
|
393
393
|
args[_key] = arguments[_key];
|
|
394
394
|
}
|
|
395
395
|
|
|
396
|
-
|
|
396
|
+
var changeState = _this9.options.onSwitchChange.apply(element, args);
|
|
397
|
+
if (changeState === false) {
|
|
397
398
|
if (_this9.$element.is(':radio')) {
|
|
398
399
|
$('[name="' + _this9.$element.attr('name') + '"]').trigger('previousState.bootstrapSwitch', true);
|
|
399
400
|
} else {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
|
|
3
3
|
*
|
|
4
|
-
* @version v3.3.
|
|
4
|
+
* @version v3.3.5
|
|
5
5
|
* @homepage https://bttstrp.github.io/bootstrap-switch
|
|
6
6
|
* @author Mattia Larentis <mattia@larentis.eu> (http://larentis.eu)
|
|
7
|
-
* @license
|
|
7
|
+
* @license MIT
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
.clearfix {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
|
|
3
3
|
*
|
|
4
|
-
* @version v3.3.
|
|
4
|
+
* @version v3.3.5
|
|
5
5
|
* @homepage https://bttstrp.github.io/bootstrap-switch
|
|
6
6
|
* @author Mattia Larentis <mattia@larentis.eu> (http://larentis.eu)
|
|
7
|
-
* @license
|
|
7
|
+
* @license MIT
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
.bootstrap-switch {
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bootstrap-switch-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.3.
|
|
4
|
+
version: 3.3.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Manuel van Rijn
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-06-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -78,8 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
78
78
|
- !ruby/object:Gem::Version
|
|
79
79
|
version: '0'
|
|
80
80
|
requirements: []
|
|
81
|
-
|
|
82
|
-
rubygems_version: 2.7.7
|
|
81
|
+
rubygems_version: 3.0.3
|
|
83
82
|
signing_key:
|
|
84
83
|
specification_version: 4
|
|
85
84
|
summary: an asset gemification of the bootstrap-switch plugin
|