Re:Fold the DOM like paper
by jashkenas on Saturday November 30, 2013 @11:48AM
(#6823591)
Lovely work on the annotated source code ... it explains a lot of the tricks and techniques, and makes the otherwise perhaps abstruse math accessible: http://oridomi.com/docs/oridomi.html
[ Parent
| on HN ]
I owe plenty of gratitude to you for both CoffeeScript and Docco. Both made building this a pleasure.
For those interested in going beyond what the docs cover, the annotated source page is a great place to understand the inner workings.
Just curious, why did you check for the existence of "console" on this line:
console?.warn 'OriDomi: First argument must be a DOM element'window.console is undefined in some versions of IE if the developer tools aren't active.