try
This commit is contained in:
parent
72203371c3
commit
cd99de4316
|
@ -50,6 +50,7 @@ all_template.each do |folder|
|
||||||
if new_texts.include?('jquery_prefix')
|
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\"%>")
|
new_texts = new_texts.gsub(/<.*javascript_include_tag.*\/jquery\.min.*>|<.*javascript_include_tag.*\/jquery-1\.11\.0\.min.*>/,"<%= javascript_include_tag \"jquery.min\"%>")
|
||||||
else
|
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\"%>")
|
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
|
end
|
||||||
if texts != new_texts
|
if texts != new_texts
|
||||||
|
|
Loading…
Reference in New Issue