updated openzwave.cc for nodejs 0.12#48
updated openzwave.cc for nodejs 0.12#48simon-jentzsch wants to merge 1 commit intojperkin:masterfrom
Conversation
Here I applied only the changes needed in order to run the addon in nodejs 0.12
|
Thanks for this! Unfortunately you seem to have included whitespace changes which makes it very difficult to see exactly what is required to support 0.12. My plan is to move to using https://github.com/tjfontaine/node-addon-layer as I did recently with https://github.com/jperkin/node-rpio which will isolate the addon from further API changes but I'd be happy to pull in a fix for 0.12 in the meantime as long as it didn't break older releases. |
|
Hi, TypeError: Illegal invocation |
|
Yes. I stumbled upon the same issue yesterday. Seems node js 0.12 is a There is an inherit() function in lib/openzwave.js which copies the hmmt the inherit method tries to copy setValue to the wrapper object but Note: I recompiled for 0.10.36 and I went back to normal. Node JS IS SUCH A
|
|
Hi all, |
Here I applied only the changes needed in order to run the addon in nodejs 0.12