Skip to content

Commit ab75f8d

Browse files
committed
fix typo
1 parent 3ba1338 commit ab75f8d

12 files changed

+14
-14
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "simple-react-validator",
33
"description": "A simple react form validator inspired by Laravel validation.",
44
"main": "dist/simple-react-validator.min.js",
5-
"version": "1.2.1",
5+
"version": "1.2.2",
66
"authors": [
77
"Stuart Yamartino"
88
],

dist/locale/es.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Simple React Validator v1.2.1 | Created By Dockwa | MIT License | 2017 - Present
1+
// Simple React Validator v1.2.2 | Created By Dockwa | MIT License | 2017 - Present
22
;(function(root, factory) {
33
if (typeof define === 'function' && define.amd) {
44
define(['simple-react-validator'], factory);

dist/locale/fr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Simple React Validator v1.2.1 | Created By Dockwa | MIT License | 2017 - Present
1+
// Simple React Validator v1.2.2 | Created By Dockwa | MIT License | 2017 - Present
22
;(function(root, factory) {
33
if (typeof define === 'function' && define.amd) {
44
define(['simple-react-validator'], factory);

dist/locale/min/es.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/locale/min/fr.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/locale/min/template-en.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/locale/template-en.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Simple React Validator v1.2.1 | Created By Dockwa | MIT License | 2017 - Present
1+
// Simple React Validator v1.2.2 | Created By Dockwa | MIT License | 2017 - Present
22
;(function(root, factory) {
33
if (typeof define === 'function' && define.amd) {
44
define(['simple-react-validator'], factory);

dist/simple-react-validator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Simple React Validator v1.2.1 | Created By Dockwa | MIT License | 2017 - Present
1+
// Simple React Validator v1.2.2 | Created By Dockwa | MIT License | 2017 - Present
22
;(function(root, factory) {
33
if (typeof define === 'function' && define.amd) {
44
define(['react'], factory);
@@ -83,7 +83,7 @@ function () {
8383
return rules[rule].hasOwnProperty('required') && rules[rule].required;
8484
},
8585
isBlank: function isBlank(value) {
86-
return typeof value === 'undefined' || value === null || this.testRegex(val, /^[\s]*$/);
86+
return typeof value === 'undefined' || value === null || this.testRegex(value, /^[\s]*$/);
8787
},
8888
normalizeValues: function normalizeValues(value, validation) {
8989
return [this.valueOrEmptyString(value), this.getValidation(validation), this.getOptions(validation)];

0 commit comments

Comments
 (0)