News for hackers. Stuff that matters.
Re:Batman.js vs Knockout.js by ryanf on Monday August 29, 2011 @05:23AM (#2936536)
CoffeeScript wraps its output in an anonymous function, so to create a global var you have to explicitly assign it as "window.varname" or, at the top level, "this.varname".
Re:Batman.js vs Knockout.js by riffraff on Monday August 29, 2011 @01:55PM (#2938097)
ah that's interesting thanks for the explanation