diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2011-04-15 01:32:26 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2011-04-15 01:33:03 +0200 |
commit | 3d44e4575825b30dc2407e3c421af23369224a34 (patch) | |
tree | 54eeb84ae2b45ffb51548ac69e6ab8096bd90b1d /railties/lib | |
parent | 3e237522366e4b5b5811f9436a58de99d8b12542 (diff) | |
download | rails-3d44e4575825b30dc2407e3c421af23369224a34.tar.gz rails-3d44e4575825b30dc2407e3c421af23369224a34.tar.bz2 rails-3d44e4575825b30dc2407e3c421af23369224a34.zip |
Use JS comments, please
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt b/railties/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt index 8b8ba74c01..fb5e91caf4 100644 --- a/railties/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +++ b/railties/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt @@ -1,11 +1,11 @@ -# FIXME: Tell people that this is a manifest file, real code should go into discrete files -# FIXME: Tell people how Sprockets and CoffeeScript works -# -#= require <%= options[:javascript] %> -#= require <%= options[:javascript] %>_ujs +// FIXME: Tell people that this is a manifest file, real code should go into discrete files +// FIXME: Tell people how Sprockets and CoffeeScript works +// +//= require <%= options[:javascript] %> +//= require <%= options[:javascript] %>_ujs <% if options[:javascript] == "prototype" %> -#= require controls -#= require dragdrop -#= require effects +//= require controls +//= require dragdrop +//= require effects <% end -%> -#= require_tree . +//= require_tree . |