Skip to content

Commit

Permalink
[ISSUE-276] Fix React component autofoucs js error (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
nosir authored Mar 12, 2018
1 parent 15ae1a4 commit 3c30c0f
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"form",
"input"
],
"version": "1.1.2",
"version": "1.1.3",
"author": {
"name": "Max Huang",
"email": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion dist/cleave-angular.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cleave-react-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ return /******/ (function(modules) { // webpackBootstrap
}

if (pps.numeral) {
rawValue = pps.numeralFormatter.getRawValue(rawValue);
rawValue = pps.numeralFormatter ? pps.numeralFormatter.getRawValue(rawValue) : '';
} else {
rawValue = Util.stripDelimiters(rawValue, pps.delimiter, pps.delimiters);
}
Expand Down
4 changes: 2 additions & 2 deletions dist/cleave-react-node.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cleave-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ return /******/ (function(modules) { // webpackBootstrap
}

if (pps.numeral) {
rawValue = pps.numeralFormatter.getRawValue(rawValue);
rawValue = pps.numeralFormatter ? pps.numeralFormatter.getRawValue(rawValue) : '';
} else {
rawValue = Util.stripDelimiters(rawValue, pps.delimiter, pps.delimiters);
}
Expand Down
4 changes: 2 additions & 2 deletions dist/cleave-react.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cleave.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"form",
"input"
],
"version": "1.1.2",
"version": "1.1.3",
"author": {
"name": "Max Huang",
"url": "http://github.com/nosir",
Expand Down
2 changes: 1 addition & 1 deletion src/Cleave.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ var cleaveReactClass = CreateReactClass({
}

if (pps.numeral) {
rawValue = pps.numeralFormatter.getRawValue(rawValue);
rawValue = pps.numeralFormatter ? pps.numeralFormatter.getRawValue(rawValue) : '';
} else {
rawValue = Util.stripDelimiters(rawValue, pps.delimiter, pps.delimiters);
}
Expand Down

0 comments on commit 3c30c0f

Please sign in to comment.