diff --git a/bower.json b/bower.json index 08f765c..3348003 100755 --- a/bower.json +++ b/bower.json @@ -25,13 +25,13 @@ "**/.*" ], "dependencies": { - "angular": ">=1.3.0", + "angular": ">=1.7.0", "bootstrap": ">=3.2.0" }, "devDependencies": { - "angular-mocks": ">=1.3.0", - "angular-scenario": ">=1.3.0", - "angular": ">=1.3.0" + "angular-mocks": ">=1.7.0", + "angular-scenario": ">=1.7.0", + "angular": ">=1.7.0" }, "license": "MIT" } diff --git a/dist/angular-bootstrap-toggle.js b/dist/angular-bootstrap-toggle.js index d2e1f0c..37f492a 100644 --- a/dist/angular-bootstrap-toggle.js +++ b/dist/angular-bootstrap-toggle.js @@ -41,14 +41,16 @@ * Description: Class for "on" state from one of standard bootstrap button types. * Possible values: btn-default, btn-primary, btn-success, btn-info, btn-warning, btn-danger */ - onstyle: 'btn-primary', + onClass: 'btn-primary', + onstyle: '', /* for backward compatibility only */ /** * Type: string * Default: "btn-default" * Description: Class for "off" state from one of standard bootstrap button types. * Possible values: btn-default, btn-primary,btn- success, btn-info, btn-warning, btn-danger */ - offstyle: 'btn-default', + offClass: 'btn-default', + offstyle: '', /* for some backward compatibility only */ /** * Type: JSON string * Default: '' @@ -77,11 +79,11 @@ * manipulates this attribute, plus there is additional code that propagates its value to child elements. * Applying "disabled" to itself apparently does nothing, but when its value is propagated to * two child