-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure vendored assets and stylesheets behave w/r/t asset pipeline
- Loading branch information
Showing
4 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
*= require mediaelement/mediaelementplayer.css | ||
*= require mediaelement/mediaelementplayer.scss | ||
*= require mediaelement/plugins/quality.css | ||
*= require mejs4/mejs4_add_to_playlist.scss | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
# Be sure to restart your server when you modify this file. | ||
|
||
# Version of your assets, change this if you want to expire all your assets. | ||
Rails.application.config.assets.version = '1.0' | ||
Rails.application.config.assets.tap do |assets| | ||
# Version of your assets, change this if you want to expire all your assets. | ||
assets.version = '1.0' | ||
|
||
# Add additional assets to the asset load path | ||
# Rails.application.config.assets.paths << Emoji.images_path | ||
# Add additional assets to the asset load path | ||
# assets.paths << Emoji.images_path | ||
|
||
# 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( search.js ) | ||
# Precompile additional assets. | ||
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added. | ||
# assets.precompile += %w( search.js ) | ||
|
||
Rails.application.config.assets.precompile += %w( embed.css ) | ||
assets.precompile += %w( embed.css ) | ||
|
||
# MediaElement 4 files | ||
Rails.application.config.assets.precompile += %w( mejs4_player.js ) | ||
Rails.application.config.assets.precompile += %w( mejs4_player.scss ) | ||
|
||
# MediaElement 2 files | ||
Rails.application.config.assets.precompile += %w( mejs2_player.js ) | ||
Rails.application.config.assets.precompile += %w( mejs2_player.scss ) | ||
# MediaElement 4 files | ||
assets.precompile += %w( mejs4_player.js mejs4_player.scss ) | ||
assets.precompile += Dir[Rails.root + 'vendor/assets/stylesheets/mediaelement/mejs-controls.*'] | ||
# MediaElement 2 files | ||
assets.precompile += %w( mejs2_player.js mejs2_player.scss ) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters