* 'validator' property
This commit is contained in:
@@ -224,6 +224,13 @@ View.prototype.setPropertyValue = function(propName, value) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'argName' : this.submitArgName = value; break;
|
case 'argName' : this.submitArgName = value; break;
|
||||||
|
|
||||||
|
case 'validate' :
|
||||||
|
console.log(value)
|
||||||
|
if(_.isFunction(value)) {
|
||||||
|
this.validate = value;
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(/styleSGR[0-9]{1,2}/.test(propName)) {
|
if(/styleSGR[0-9]{1,2}/.test(propName)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user