[Sass] Fix a bug that caused the Sass::Engine options to not get passed to the Stylesheet Environment.

This commit is contained in:
Chris Eppstein 2009-11-21 10:10:40 -08:00
parent 268f8782a7
commit c11d09680e
1 changed files with 6 additions and 0 deletions

View File

@ -38,6 +38,12 @@ module Sass
raise e
end
# @see \{Node#perform!}
def perform!(environment)
environment.options = @options if environment.options.nil? || environment.options.empty?
super
end
protected
# Destructively converts this static Sass node into a static CSS node,