Skip to content
This repository
Browse code

Some more documentation in generated app

  • Loading branch information...
commit 42ad187cd9dfd82e7e7408eba8e3d5b6e565560f 1 parent f2c1855
twinturbo authored
4 generators/application/app/javascripts/app.coffee.tt
@@ -25,3 +25,7 @@
25 25 # require('helpers')
26 26 #
27 27 # Your application begins here...
  28 +
  29 +<%= camelized %> = {}
  30 +
  31 +window.<%= camelized %> = <%= camelized %>
3  generators/application/test/unit/truth_test.coffee
... ... @@ -1,3 +0,0 @@
1   -test 'Truth', ->
2   - ok true == true, "Passed!"
3   -
2  generators/application/test/unit/truth_test.coffee.tt
... ... @@ -0,0 +1,2 @@
  1 +test 'Truth', ->
  2 + ok window.<%= camelized %>, "<%= camelized %> should be defined!"

0 comments on commit 42ad187

Please sign in to comment.
Something went wrong with that request. Please try again.