lib/sinatra/assetpack/package.rb in sinatra-assetpack-0.0.10 vs lib/sinatra/assetpack/package.rb in sinatra-assetpack-0.0.11
- old
+ new
@@ -104,12 +104,12 @@
def css?() @type == :css; end
private
def link_tag(file, options={})
if js?
- "<script type='text/javascript' src='#{e file}'#{kv options}></script>"
+ "<script src='#{e file}'#{kv options}></script>"
elsif css?
- "<link rel='stylesheet' type='text/css' href='#{e file}'#{kv options} />"
+ "<link rel='stylesheet' href='#{e file}'#{kv options} />"
end
end
end
end
end