We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 332eebc commit dcc9b02Copy full SHA for dcc9b02
lib/jammit/helper.rb
@@ -26,10 +26,15 @@ def include_stylesheets(*packages)
26
# except in development, where it references the individual scripts.
27
def include_javascripts(*packages)
28
options = packages.extract_options!
29
+ options.merge!(:extname=>false)
30
html_safe packages.map {|pack|
31
should_package? ? Jammit.asset_url(pack, :js) : Jammit.packager.individual_urls(pack.to_sym, :js)
32
}.flatten.map {|pack|
- javascript_include_tag pack, options
33
+# tag = javascript_include_tag pack, options
34
+ tag = "<script src='#{pack}'></script>"
35
+ # Rails.logger.warn tag
36
+ # Rails.logger.warn
37
+ tag
38
}.join("\n")
39
end
40
0 commit comments