I've written a Date and Clock module. The Date module uses the same API as JS Date (but doesn't implement everything at all), and Clock inherits from it. (It's all a bit rough so want to polish a bit more before sharing :)
I'm a bit of a newbie at JS, so have a few questions...
Should these be two modules or one? I guess two... any reason why not?
Is there any way to get WebIDE to pull modules from either a) my PC or b) multiple locations? Can it pull them direct from my github account?
These aren't device modules - where would I put them in github?
Is there any convention for unit tests for Espurino modules?
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.
Hi All
I've written a Date and Clock module. The Date module uses the same API as JS Date (but doesn't implement everything at all), and Clock inherits from it. (It's all a bit rough so want to polish a bit more before sharing :)
I'm a bit of a newbie at JS, so have a few questions...
Should these be two modules or one? I guess two... any reason why not?
Is there any way to get WebIDE to pull modules from either a) my PC or b) multiple locations? Can it pull them direct from my github account?
These aren't device modules - where would I put them in github?
Is there any convention for unit tests for Espurino modules?
Thanks
Martin