Skip to content

Instantly share code, notes, and snippets.

@ghinch
Created August 11, 2010 18:48
Show Gist options
  • Save ghinch/519509 to your computer and use it in GitHub Desktop.
Save ghinch/519509 to your computer and use it in GitHub Desktop.
Y.mix(Y.NodeList.prototype, {
slice : function (start, end) {
return Y.all(this._nodes.slice(start, end));
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment