Sha256: 95a6d9969668b6535657285b76b0c7815a08e0e1b8b03cd89df07a1de68ee172
Contents?: true
Size: 658 Bytes
Versions: 2
Compression:
Stored size: 658 Bytes
Contents
###* * eastwood.js - <%= app %> ### app = { env : "<%= env %>", routes : { } } ###* * Exports ### <% if exports.any? %> app.exports = <% exports.each do |key, value| %> <%= key.to_s %> : <%= value.is_a?( String ) ? "'#{value}'" : value %> <% end %> <% end %> ###* * Routes ### <% if routes.any? or hashes.any? %> app.routes = <% routes.each do |key, route| %> <%= route.coffee_name %> : ( <%= route.coffee_args %> ) -> "<%= route.coffee_path %>" <% end %> <% hashes.each do |key, route| %> <%= route.coffee_name %> : ( <%= route.coffee_args %> ) -> "<%= route.coffee_path %>" <% end %> <% end %> ###* * Export ### <%= target %>.<%= app %> = app
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eastwood-0.3.8 | app/assets/javascripts/eastwood.js.coffee.erb |
eastwood-0.3.7 | app/assets/javascripts/eastwood.js.coffee.erb |