I'm working on a project with metro style (html5 javascript css) on Microsoft Visual Studio.
When it comes to this part
result = {
actor: this.actor.asVersion(version),
verb: this.verb.asVersion(version),
object: this.target.asVersion(version)
};
I have this error: "Object doesn't support property or method 'asVersion'" and the actor is undefined.
I'm working on a project with metro style (html5 javascript css) on Microsoft Visual Studio. When it comes to this part result = { actor: this.actor.asVersion(version), verb: this.verb.asVersion(version), object: this.target.asVersion(version) }; I have this error: "Object doesn't support property or method 'asVersion'" and the actor is undefined.
Thanks for the help!