Re:Start testing your app with Casper.js
by lvh on Friday March 08, 2013 @03:14PM
(#5345476)
Given that you're using CoffeeScript, is there a reason you're not using @ instead of this.?
[ Parent
| on HN ]
@ is the shorthand for this.
Re:Start testing your app with Casper.js
by VeejayRampay on Friday March 08, 2013 @09:12PM
(#5346968)
That's exactly what he was asking: Since @foo is shorthand for this.foo, why are the code snippets littered with this.method, this.prop, this.blah and the likes?