From 14d526efc2a76d477cd4dde9c7d875df9aae297a Mon Sep 17 00:00:00 2001 From: luisramos0 Date: Sat, 11 Aug 2018 23:31:27 +0100 Subject: [PATCH] removed assets related to spree store: dead code --- app/assets/javascripts/store/all.js | 12 ------------ app/assets/stylesheets/store/all.css | 12 ------------ config/application.rb | 3 +-- 3 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 app/assets/javascripts/store/all.js delete mode 100644 app/assets/stylesheets/store/all.css diff --git a/app/assets/javascripts/store/all.js b/app/assets/javascripts/store/all.js deleted file mode 100644 index a8386e4b7f4..00000000000 --- a/app/assets/javascripts/store/all.js +++ /dev/null @@ -1,12 +0,0 @@ -// This is a manifest file that'll be compiled into including all the files listed below. -// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically -// be included in the compiled file accessible from http://example.com/assets/application.js -// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the -// the compiled file. -// - -//= require 'jquery' -//= require store/spree_frontend -//= require store/spree_auth - -//= require_tree . diff --git a/app/assets/stylesheets/store/all.css b/app/assets/stylesheets/store/all.css deleted file mode 100644 index ea25eaeefcb..00000000000 --- a/app/assets/stylesheets/store/all.css +++ /dev/null @@ -1,12 +0,0 @@ -/* - * This is a manifest file that'll automatically include all the stylesheets available in this directory - * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at - * the top of the compiled file, but it's generally better to create a new file per style scope. - * - - *= require store/spree_frontend - *= require store/spree_auth - - *= require_self - *= require_tree . -*/ diff --git a/config/application.rb b/config/application.rb index ea3539556b2..5e1c31e6b81 100644 --- a/config/application.rb +++ b/config/application.rb @@ -141,11 +141,10 @@ class Application < Rails::Application # Instead, they must be explicitly included below # http://stackoverflow.com/questions/8012434/what-is-the-purpose-of-config-assets-precompile config.assets.initialize_on_precompile = true - config.assets.precompile += ['store/all.css', 'store/all.js', 'store/shop_front.js', 'iehack.js'] + config.assets.precompile += ['iehack.js'] config.assets.precompile += ['admin/all.css', 'admin/*.js', 'admin/**/*.js'] config.assets.precompile += ['darkswarm/all.css', 'darkswarm/all_split2.css', 'darkswarm/all.js'] config.assets.precompile += ['mail/all.css'] - config.assets.precompile += ['search/all.css', 'search/*.js'] config.assets.precompile += ['shared/*'] config.assets.precompile += ['qz/*']