Try to be safe
This commit is contained in:
parent
1581bfc27e
commit
ea39d16d81
1 changed files with 4 additions and 6 deletions
|
@ -105,10 +105,8 @@ module Middleman
|
|||
end
|
||||
end
|
||||
|
||||
SASS_MODULE = if defined?(::SassC)
|
||||
::SassC
|
||||
else
|
||||
::Sass
|
||||
if defined?(::SassC)
|
||||
::SassC::Script::Functions.send :include, ::Middleman::Sass::Functions
|
||||
elsif defined?(::Sass)
|
||||
::Sass::Script::Functions.send :include, ::Middleman::Sass::Functions
|
||||
end
|
||||
|
||||
SASS_MODULE::Script::Functions.send :include, ::Middleman::Sass::Functions
|
||||
|
|
Loading…
Reference in a new issue