mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-27 04:18:49 +01:00
Merge pull request #2062 from dnrce/swfobject
Limit use of SWFObject to the stats page
This commit is contained in:
commit
26d0c873c7
4 changed files with 3 additions and 6 deletions
|
|
@ -36,4 +36,3 @@
|
|||
//= require jquery.truncator
|
||||
//= require superfish
|
||||
//= require supersubs
|
||||
//= require swf_fu
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
<%= javascript_include_tag "swf_fu" %>
|
||||
|
||||
<div class="stats_content">
|
||||
<h2><%= t('stats.totals') %></h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Rails.application.config.assets.version = '1.0'
|
|||
|
||||
# Precompile additional assets.
|
||||
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
||||
Rails.application.config.assets.precompile += %w( print.css mobile.css jquery-ui/datepicker-*.js )
|
||||
Rails.application.config.assets.precompile += %w( print.css mobile.css jquery-ui/datepicker-*.js swf_fu.js )
|
||||
|
||||
# add /app/assets/swfs to asset pipeline for charts
|
||||
Rails.application.config.assets.paths << Rails.root.join("app", "assets", "swfs")
|
||||
|
|
|
|||
4
vendor/assets/javascripts/swfobject.js
vendored
4
vendor/assets/javascripts/swfobject.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue