Ahh - sorry, I should have checked your attached file. That's much clearer.
It's odd actually because if runningStats was a global variable it should have got dumped. It might be that just doing var runningStats = stopwatch.runningStats; dump() (if that's where it was) would have caused dump() to try and reconstruct it.
Could we get versionning every time we save a source, maybe just renaming the previous same named file with an added time stamp automatically?
Annoyingly I don't think the Chrome app can do that - maybe it could manage with the 'projects' feature, but it definitely wouldn't work with the online version in the web browser :(
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.
Ahh - sorry, I should have checked your attached file. That's much clearer.
It's odd actually because if
runningStats
was a global variable it should have got dumped. It might be that just doingvar runningStats = stopwatch.runningStats; dump()
(if that's where it was) would have causeddump()
to try and reconstruct it.Annoyingly I don't think the Chrome app can do that - maybe it could manage with the 'projects' feature, but it definitely wouldn't work with the online version in the web browser :(
I think realistically the best method would some kind of Git integration as on http://forum.espruino.com/conversations/296367/#comment14577373