6 ms·
Ticking countdown for all the pedants from the other thread to come and yell at you for not naming it "Morris.coffee" ;) Neat stuff -- I dig your defaults: htt
by jashkenas 15y ago
Ticking countdown for all the pedants from the other thread to come and yell at you for not naming it "Morris.coffee" ;)
Neat stuff -- I dig your defaults: https://github.com/oesmith/morris.js/blob/master/morris.coffee#L19-52 https://github.com/oesmith/morris.js/blob/master/morris.coff...
... and you may want to move some of the helper functions within "redraw" out into regular instance functions, for clarity, and since you're already using a class.
- oesmith 15y agoThanks! Refactoring redraw() is high up on my list of priorities now that other people can see the code ;)