test/dummy/app/assets/javascripts/assets.js.coffee.erb in magic_stylez-0.0.0.90 vs test/dummy/app/assets/javascripts/assets.js.coffee.erb in magic_stylez-0.0.0.91
- old
+ new
@@ -4,9 +4,11 @@
<% imgs[img_path] = asset_path(img_path) if img_path.match(/\.png$/) || img_path.match(/\.jpg$/) || img_path.match(/\.jpeg$/) || img_path.match(/\.gif$/) %>
<% end %>
appImages = <%= imgs.to_json %>
+# console.log "appImages", appImages
+
@assetPath = (path) ->
# "/assets/angular/app/views/#{path}.html"
appImages["#{path}"]