Skip to content

Instantly share code, notes, and snippets.

@procload
Created January 20, 2014 21:14
Show Gist options
  • Save procload/8529303 to your computer and use it in GitHub Desktop.
Save procload/8529303 to your computer and use it in GitHub Desktop.
$.getJSON "data/stores.json", (data) ->
_.each data, (val) ->
_.each val.products, (products) ->
console.log _.findWhere(products, {size: "5 Gallon Jug", name: "Mobil Super"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment