Skip to content

Instantly share code, notes, and snippets.

@kevingriffin
Created January 29, 2013 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevingriffin/4662127 to your computer and use it in GitHub Desktop.
Save kevingriffin/4662127 to your computer and use it in GitHub Desktop.
<script>
Namespace('OurAssets.Sounds', {
<%= ['correct1', 'correct2', 'correct3', 'correct4', 'correct5'].map { |s| "#{s}: '#{compute_public_path(s + '.mp3', 'apps/sounds/new')}'" }.join(",\n") %>
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment