Sha256: 4c536ba98ca9c1ff97bf467693ef06079afe734b1ea33a9c1c3fb711152f220b

Contents?: true

Size: 476 Bytes

Versions: 1

Compression:

Stored size: 476 Bytes

Contents

<%= case Soundmanager.env
when 'development'
  File.open(File.expand_path('../../../../vendor/assets/javascripts/soundmanager2.js', __FILE__)).read
else
  File.open(File.expand_path('../../../../vendor/assets/javascripts/soundmanager2-nodebug.js', __FILE__)).read
end %>

//
// this just configures soundmanager
// to properly load its default swf files
//

(function() {
  if (typeof soundManager != 'undefined') {
    soundManager.url = '<%= asset_path 'swf/' %>';
  }
})();

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
soundmanager-rails-0.1.0 lib/assets/javascripts/soundmanager.js.erb