Remove css_splitter references, delete all_split2.css. #1361 #2633

This commit is contained in:
VadLusk
2018-09-03 09:20:26 +10:00
parent a9c8c033c7
commit f74a6e47d5
5 changed files with 2 additions and 10 deletions

View File

@@ -103,7 +103,6 @@ gem 'foundation_rails_helper', github: 'willrjmarshall/foundation_rails_helper',
gem 'jquery-rails'
gem 'jquery-migrate-rails'
gem 'css_splitter'
gem 'ofn-qz', github: 'openfoodfoundation/ofn-qz', ref: '60da2ae4c44cbb4c8d602f59fb5fff8d0f21db3c'

View File

@@ -243,9 +243,7 @@ GEM
safe_yaml (~> 1.0.0)
css_parser (1.3.5)
addressable
css_splitter (0.4.5)
sprockets (>= 2.0.0)
daemons (1.2.6)
daemons (1.2.2)
dalli (2.7.2)
database_cleaner (0.7.1)
db2fog (0.8.0)
@@ -725,7 +723,6 @@ DEPENDENCIES
capybara (>= 2.15.4)
coffee-rails (~> 3.2.1)
compass-rails
css_splitter
custom_error_message!
daemons
dalli

View File

@@ -1,3 +0,0 @@
/*
*= require 'darkswarm/all'
*/

View File

@@ -7,7 +7,6 @@ class ApplicationController < ActionController::Base
before_filter :set_cache_headers # Issue #1213, prevent cart emptying via cache when using back button
include EnterprisesHelper
helper CssSplitter::ApplicationHelper
def redirect_to(options = {}, response_status = {})
::Rails.logger.error("Redirected by #{caller(1).first rescue "unknown"}")

View File

@@ -17,7 +17,7 @@
= yield :scripts
%script{:src => "https://js.stripe.com/v3/", :type => "text/javascript"}
%script{src: "//maps.googleapis.com/maps/api/js?libraries=places,geometry#{ ENV['GOOGLE_MAPS_API_KEY'] ? '&key=' + ENV['GOOGLE_MAPS_API_KEY'] : ''} "}
= split_stylesheet_link_tag "darkswarm/all"
= stylesheet_link_tag "darkswarm/all"
= javascript_include_tag "darkswarm/all"
= render "layouts/i18n_script"