fix whitespace
This commit is contained in:
parent
29bf25ace6
commit
ee1d89fe55
6 changed files with 18 additions and 36 deletions
|
@ -17,9 +17,6 @@ module Middleman
|
|||
app.config.define_setting :autoload_sprockets, true, 'Automatically load sprockets at startup?'
|
||||
app.config[:autoload_sprockets] = (ENV['AUTOLOAD_SPROCKETS'] == 'true') if ENV['AUTOLOAD_SPROCKETS']
|
||||
|
||||
app.config.define_setting :autoload_compass, true, 'Automatically load compass at startup?'
|
||||
app.config[:autoload_compass] = (ENV['AUTOLOAD_COMPASS'] == 'true') if ENV['AUTOLOAD_COMPASS']
|
||||
|
||||
app.extend ClassMethods
|
||||
app.delegate :configure, to: :"self.class"
|
||||
end
|
||||
|
@ -105,15 +102,6 @@ module Middleman
|
|||
end
|
||||
end
|
||||
|
||||
if config[:autoload_compass]
|
||||
begin
|
||||
require 'middleman-compass'
|
||||
activate :compass
|
||||
rescue LoadError
|
||||
# Compass is not available, don't complain about it
|
||||
end
|
||||
end
|
||||
|
||||
# Evaluate a passed block if given
|
||||
config_context.instance_exec(&block) if block_given?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue