提交 9e962ffd 编写于 作者: V Vijay Dev

Revert "Added warning that require_tree includes files in unspecified order....

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 9dbd5111.

Reason: Sounds like something for the guide, not the template.
上级 dca1cd4a
...@@ -14,9 +14,4 @@ ...@@ -14,9 +14,4 @@
//= require <%= options[:javascript] %> //= require <%= options[:javascript] %>
//= require <%= options[:javascript] %>_ujs //= require <%= options[:javascript] %>_ujs
<% end -%> <% 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 . //= require_tree .
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册