1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Revert "Added warning that require_tree includes files in unspecified order. So, that people may know the order of their scripts might be the reason that their scripts work in just fine in development but not in production. "

This reverts commit 9dbd511172.

Reason: Sounds like something for the guide, not the template.
This commit is contained in:
Vijay Dev 2012-04-25 18:21:21 +05:30
parent dca1cd4a7a
commit 9e962ffd9a

View file

@ -14,9 +14,4 @@
//= require <%= options[:javascript] %>
//= require <%= options[:javascript] %>_ujs
<% end -%>
//
// require_tree includes all JavaScript/Coffee files present in asset path using an unspecified order.
// this may cause some scripts to break.
// To ensure some particular file ends up above some other in the final concatenated file, application.js
// Simply, require that prerequisite file first in the manifest.
//= require_tree .