try
This commit is contained in:
parent
cd99de4316
commit
2bdb5cc350
|
@ -50,7 +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']
|
||||
puts ['prefix',new_texts.scan(/<.*javascript_include_tag.*\/jquery\.min.*>|<.*javascript_include_tag.*\/jquery-1\.11\.0\.min.*>/)]
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue