Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
stuyam committed Jul 30, 2019
1 parent 3ba1338 commit ab75f8d
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "simple-react-validator",
"description": "A simple react form validator inspired by Laravel validation.",
"main": "dist/simple-react-validator.min.js",
"version": "1.2.1",
"version": "1.2.2",
"authors": [
"Stuart Yamartino"
],
Expand Down
2 changes: 1 addition & 1 deletion dist/locale/es.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Simple React Validator v1.2.1 | Created By Dockwa | MIT License | 2017 - Present
// Simple React Validator v1.2.2 | Created By Dockwa | MIT License | 2017 - Present
;(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['simple-react-validator'], factory);
Expand Down
2 changes: 1 addition & 1 deletion dist/locale/fr.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Simple React Validator v1.2.1 | Created By Dockwa | MIT License | 2017 - Present
// Simple React Validator v1.2.2 | Created By Dockwa | MIT License | 2017 - Present
;(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['simple-react-validator'], factory);
Expand Down
2 changes: 1 addition & 1 deletion dist/locale/min/es.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/locale/min/fr.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/locale/min/template-en.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/locale/template-en.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Simple React Validator v1.2.1 | Created By Dockwa | MIT License | 2017 - Present
// Simple React Validator v1.2.2 | Created By Dockwa | MIT License | 2017 - Present
;(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['simple-react-validator'], factory);
Expand Down
4 changes: 2 additions & 2 deletions dist/simple-react-validator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Simple React Validator v1.2.1 | Created By Dockwa | MIT License | 2017 - Present
// Simple React Validator v1.2.2 | Created By Dockwa | MIT License | 2017 - Present
;(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['react'], factory);
Expand Down Expand Up @@ -83,7 +83,7 @@ function () {
return rules[rule].hasOwnProperty('required') && rules[rule].required;
},
isBlank: function isBlank(value) {
return typeof value === 'undefined' || value === null || this.testRegex(val, /^[\s]*$/);
return typeof value === 'undefined' || value === null || this.testRegex(value, /^[\s]*$/);
},
normalizeValues: function normalizeValues(value, validation) {
return [this.valueOrEmptyString(value), this.getValidation(validation), this.getOptions(validation)];
Expand Down
Loading

0 comments on commit ab75f8d

Please sign in to comment.