lib/sprockets/helpers.rb in sprockets-helpers-1.2.1 vs lib/sprockets/helpers.rb in sprockets-helpers-1.2.2

- old
+ new

@@ -167,10 +167,10 @@ end def javascript_tag(source, options = {}) options = Helpers.default_path_options[:javascript_path].merge(options) asset_tag(source, options) do |path| - %Q(<script src="#{path}"></script>) + %Q(<script src="#{path}" type="text/javascript"></script>) end end def stylesheet_tag(source, options = {}) media = options.delete(:media)