javascript - Uncaught TypeError: Cannot set property '_node' of undefined -


please see source code posted here

https://github.com/codesdk/famous_engine_issue_debug_position

follow steps in readme.md

i getting following error

uncaught typeerror: cannot set property '_node' of undefined

which traces following line

 */ function position(node) {     this._node = node;  <---------------------- 

please help.

right here: https://github.com/codesdk/famous_engine_issue_debug_position/blob/master/src/myscene.js#l24

you forgot new keyword.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -