Sha256: 2900cb117c41b1fd1d59d7fd03ab1e6f82fea6e0eb3ccb7924b08f6634ed6dd6
Contents?: true
Size: 686 Bytes
Versions: 3
Compression:
Stored size: 686 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 server_routes.any? or client_routes.any? %> app.routes = <% server_routes.each do |key, route| %> <%= route.coffee_name %> : ( <%= route.coffee_args %> ) -> "<%= route.coffee_path %>" <% end %> <% client_routes.each do |key, route| %> <%= route.coffee_name %> : ( <%= route.coffee_args %> ) -> "<%= route.coffee_path %>" <% end %> <% end %> ###* * Export ### <%= target %>.<%= app %> = app
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
eastwood-0.5.1 | app/assets/javascripts/eastwood.js.coffee.erb |
eastwood-0.5.0 | app/assets/javascripts/eastwood.js.coffee.erb |
eastwood-0.4.0 | app/assets/javascripts/eastwood.js.coffee.erb |