RusticiSoftware / TinCanJS

JavaScript library for the Experience API (Tin Can API)
http://rusticisoftware.github.io/TinCanJS/
Apache License 2.0
207 stars 115 forks source link

asVersion #20

Closed danielaulloa closed 11 years ago

danielaulloa commented 11 years ago

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!

brianjmiller commented 11 years ago

@danielaulloa what is this in this context? What makes you think this.actor should be defined and/or can you give us more of a code sample?