case "object":
if (("test" in opts.definitions[def].validator) && ("source" in opts.definitions[def].validator)) {
defs[def] = validator;
match.push(validator.source);
}
break;
this code doesn't work because opts is not defined only maskOpts available
case "object": if (("test" in opts.definitions[def].validator) && ("source" in opts.definitions[def].validator)) { defs[def] = validator; match.push(validator.source); } break;
this code doesn't work because opts is not defined only maskOpts available