Yup - I'd have never figured that var foo=this; bit out on my own.
I think it would be nice to have an example of non-modulized code, and then the same code, in the form of a module, as part of the Module Writing tutorial. Some people (myself included) learn much better with an "example problem" so to speak.
I'm excited to submit a module. I can't wait to get some other sensor in the mail that we have no module for yet :-P
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yup - I'd have never figured that var foo=this; bit out on my own.
I think it would be nice to have an example of non-modulized code, and then the same code, in the form of a module, as part of the Module Writing tutorial. Some people (myself included) learn much better with an "example problem" so to speak.
I'm excited to submit a module. I can't wait to get some other sensor in the mail that we have no module for yet :-P