This commit is contained in:
chiu 2020-08-10 14:48:37 +08:00
parent 72203371c3
commit cd99de4316
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ all_template.each do |folder|
if new_texts.include?('jquery_prefix')
new_texts = new_texts.gsub(/<.*javascript_include_tag.*\/jquery\.min.*>|<.*javascript_include_tag.*\/jquery-1\.11\.0\.min.*>/,"<%= javascript_include_tag \"jquery.min\"%>")
else
puts ['prefix']
new_texts = new_texts.gsub(/<.*javascript_include_tag.*\/jquery\.min.*>|<.*javascript_include_tag.*\/jquery-1\.11\.0\.min.*>/,"<%= javascript_include_tag \"jquery.min\"%>\n<%= javascript_include_tag \"jquery_prefix\"%>")
end
if texts != new_texts