News for hackers. Stuff that matters.
Re:Why I still prefer Prototype to jQuery by richcollins on Monday January 12, 2009 @05:48PM (#431273)
Or pass in an object to the function that will be bound to this.

$A(self.columns).each(function(item) { this.buildHeader(item); }, this);

In general I prefer the technique you described as it is the most frequent use case and simplifies the implementation of the function that executes the callback.

There are no comments on this comment yet.