Skip to content

Instantly share code, notes, and snippets.

@xfsnowind
Created September 29, 2015 19:10
Show Gist options
  • Select an option

  • Save xfsnowind/44410df98fbe697dcfdc to your computer and use it in GitHub Desktop.

Select an option

Save xfsnowind/44410df98fbe697dcfdc to your computer and use it in GitHub Desktop.
lazy operations to html node array on blog "Handle Jquery object with Lazy.js" on 2014/04/07
lazy($(".castle").toArray()).map(mapFunc)
.reduce(reduceFunc)
.each(eachFunc);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment