Skip to content

Instantly share code, notes, and snippets.

@bobthecow
Created January 13, 2014 02:01
Show Gist options
  • Save bobthecow/e6e25f9e32a4d688bf88 to your computer and use it in GitHub Desktop.
Save bobthecow/e6e25f9e32a4d688bf88 to your computer and use it in GitHub Desktop.
---
is_hidden: true
scripts:
- /js/jquery/
- /js/underscore/
- /js/waypoints/
---
<% item[:scripts].each do |s| %>
// <%= s.chomp '/' %>
<%= @items.find{ |i| i.identifier == s }.raw_content %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment