Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why I still prefer Prototype to jQuery. Parent comment
$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.
$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.