Skip to content

Commit

Permalink
Update standalone files and packages version
Browse files Browse the repository at this point in the history
  • Loading branch information
abpetkov committed Jun 26, 2015
1 parent 992d30b commit 4cccb5e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"dist/switchery.js",
"dist/switchery.css"
],
"version": "0.8.0",
"version": "0.8.1",
"homepage": "http://abpetkov.github.io/switchery/",
"author": [
"Alexander Petkov <abpetkov@gmail.com> (https://github.com/abpetkov)"
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "switchery",
"repo": "abpetkov/switchery",
"description": "Component to create iOS 7 styled switches from default input checkboxes",
"version": "0.8.0",
"version": "0.8.1",
"keywords": [
"checkbox",
"input",
Expand Down
8 changes: 4 additions & 4 deletions dist/switchery.js
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@ function parse(event) {

require.register("switchery", function (exports, module) {
/**
* Switchery 0.8.0
* Switchery 0.8.1
* http://abpetkov.github.io/switchery/
*
* Authored by Alexander Petkov
Expand Down Expand Up @@ -1936,9 +1936,9 @@ Switchery.prototype.enable = function() {
*/

Switchery.prototype.disable = function() {
if (this.options.disabled) this.options.disabled = true;
if (this.element.disabled) this.element.disabled = true;
if (this.element.readOnly) this.element.readOnly = true;
if (!this.options.disabled) this.options.disabled = true;
if (!this.element.disabled) this.element.disabled = true;
if (!this.element.readOnly) this.element.readOnly = true;
this.switcher.style.opacity = this.options.disabledOpacity;
this.destroy();
};
Expand Down
2 changes: 1 addition & 1 deletion dist/switchery.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "switchery",
"version": "0.8.0",
"version": "0.8.1",
"description": "Create iOS 7 styled switches from default input checkboxes",
"main": "switchery.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion switchery.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Switchery 0.8.0
* Switchery 0.8.1
* http://abpetkov.github.io/switchery/
*
* Authored by Alexander Petkov
Expand Down

0 comments on commit 4cccb5e

Please sign in to comment.