Skip to content

Commit

Permalink
Bring back timestamps on JS bundles.
Browse files Browse the repository at this point in the history
Timestamps are not present as of
dcc9b02.

This is a temporary workaround until the issue is properly fixed
upstream.

Also see documentcloud#268.
  • Loading branch information
mtyaka committed Jul 7, 2016
1 parent 18f0d23 commit 8c6ebd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jammit/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def include_javascripts(*packages)
html_safe packages.map {|pack|
should_package? ? Jammit.asset_url(pack, :js) : Jammit.packager.individual_urls(pack.to_sym, :js)
}.flatten.map {|pack|
"<script src=\"#{pack}\"></script>"
javascript_include_tag pack, options
}.join("\n")
end

Expand Down

0 comments on commit 8c6ebd3

Please sign in to comment.