lib/slim-grunt-helpers/helpers.rb in slim-grunt-helpers-0.0.2 vs lib/slim-grunt-helpers/helpers.rb in slim-grunt-helpers-0.0.3
- old
+ new
@@ -22,11 +22,11 @@
text = "\n<!-- build:css#{ alt } #{ path } -->\n"
yield(usemin)
usemin.each do |link|
text << "#{ link }\n"
end
- text << "\n<!-- endbuild -->"
+ text << "<!-- endbuild -->\n"
end
# Options:
# - `alt` which allows to set alternate paths which usemin should look into
def sg_usemin_js(path, options={})
@@ -39,10 +39,10 @@
text = "\n<!-- build:js#{ alt } #{ path } -->\n"
yield(usemin)
usemin.each do |link|
text << "#{ link }\n"
end
- text << "\n<!-- endbuild -->"
+ text << "<!-- endbuild -->\n"
end
end
end
\ No newline at end of file