News for hackers. Stuff that matters.
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.?
Re:Start testing your app with Casper.js by tzaman on Friday March 08, 2013 @05:12PM (#5346060)
@ 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?
Re:Start testing your app with Casper.js by tzaman on Saturday March 09, 2013 @04:05AM (#5347892)
Ah, my bad, I've misread the question