-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I am receiving the following error when trying to use models. Not sure what the issue is.
return this.attribute(_.deepCopy(attribute)).code(code).control();
^
TypeError: Object [object Object] has no method 'control'
// reading
ModelMaker.prototype.i = function (code, attribute) {
console.log('hello');
return this.attribute(_.deepCopy(attribute).code(code).reading());
} ;
// control
ModelMaker.prototype.o = function (code, attribute) {
return this.attribute(_.deepCopy(attribute).code(code).control());
};
Metadata
Metadata
Assignees
Labels
No labels