Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Functional Reactive Programming with Bacon.js. Parent comment
More about event delegation here: http://api.jquery.com/on/
$('#container').asEventStream('click', '.someclass')
If an element with someclass is ever added as a child of #container, clicks on it will fire events. This is true even if the someclass element is added after the asEventStream call.
There are no comments on this comment yet.
More about event delegation here: http://api.jquery.com/on/
$('#container').asEventStream('click', '.someclass')
If an element with someclass is ever added as a child of #container, clicks on it will fire events. This is true even if the someclass element is added after the asEventStream call.