Support Ruby 2.2

上级 0e54ed1f
......@@ -13,7 +13,7 @@ def setup
app_file "app/assets/javascripts/application.js", "//= require_tree ."
app_file "app/assets/javascripts/xmlhr.js", "function f1() { alert(); }"
app_file "app/assets/config/manifest.js", <<~JS
app_file "app/assets/config/manifest.js", <<-JS.strip_heredoc
//= link_tree ../images
//= link_directory ../stylesheets .css
//= link_directory ../javascripts .js
......
......@@ -545,7 +545,7 @@ def app_with_assets_in_view
app_file "app/assets/javascripts/application.js", "//= require_tree ."
app_file "app/assets/javascripts/xmlhr.js", "function f1() { alert(); }"
app_file "app/views/posts/index.html.erb", "<%= javascript_include_tag 'application' %>"
app_file "app/assets/config/manifest.js", <<~JS
app_file "app/assets/config/manifest.js", <<-JS.strip_heredoc
//= link_tree ../images
//= link_directory ../stylesheets .css
//= link_directory ../javascripts .js
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册