Comparing version 0.2.0 to 0.2.1
@@ -92,4 +92,13 @@ (function () { | ||
try { | ||
validator.apply(container, args); | ||
callback(); | ||
if (validator.apply(container, args.concat(args, [ | ||
function (error) { | ||
if (error) { | ||
callback(error); | ||
} else { | ||
callback(); | ||
} | ||
} | ||
]))) { | ||
callback(); | ||
} | ||
} catch (e) { | ||
@@ -96,0 +105,0 @@ callback(e.message); |
{ | ||
"name" : "form", | ||
"version" : "0.2.0", | ||
"version" : "0.2.1", | ||
"description" : "Form processor for filter and validation form data", | ||
@@ -5,0 +5,0 @@ "keywords": ["form"], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4096
100