Try to be safe

This commit is contained in:
Thomas Reynolds 2016-06-23 12:41:12 -07:00
parent 1581bfc27e
commit ea39d16d81

View file

@ -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