mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-15 08:46:34 +01:00
add swf to asset pipeline. Fixes #1311
This commit is contained in:
parent
7c1cd2a144
commit
22e166c370
5 changed files with 5 additions and 2 deletions
|
|
@ -28,4 +28,4 @@
|
|||
//= require niftycube
|
||||
//= require superfish
|
||||
//= require supersubs
|
||||
//= require swfobject
|
||||
//= require swf_fu
|
||||
BIN
app/assets/swfs/expressInstall.swf
Normal file
BIN
app/assets/swfs/expressInstall.swf
Normal file
Binary file not shown.
BIN
app/assets/swfs/open-flash-chart.swf
Normal file
BIN
app/assets/swfs/open-flash-chart.swf
Normal file
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
<% @swf_count ||= 0 -%>
|
||||
<div class="open-flash-chart"><%= swf_tag "open-flash-chart.swf",
|
||||
<div class="open-flash-chart"><%= swf_tag asset_path("open-flash-chart"),
|
||||
:flashvars => { 'width' => width, 'height' => height, 'data' => data},
|
||||
:parameters => { 'allowScriptAccess' => 'sameDomain', 'wmode' => 'transparent'},
|
||||
:div_id => "chart_#{@swf_count+=1}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue