Skip to content
Snippets Groups Projects
Commit bef545d2 authored by Evgeny Lavrik's avatar Evgeny Lavrik
Browse files

Version v1.4.6

parent 5126c4e6
No related branches found
No related tags found
No related merge requests found
No preview for this file type
...@@ -100,13 +100,14 @@ const Shared = { ...@@ -100,13 +100,14 @@ const Shared = {
return true; return true;
if (value instanceof Array) { if (value instanceof Array) {
for (let val in value) { for (let val of value) {
val = String(val); val = String(val);
let result = val.match(regex); let result = val.match(regex);
if (!result || !result.length) { if (!result || !result.length) {
return false; return false;
} }
}; };
return true;
} }
value = String(value); value = String(value);
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment