From b5ca89425deb6933e3d62ca531b12b4b384c8d38 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Mon, 19 Sep 2011 07:40:44 -0700 Subject: [PATCH] code cleanup --- lib/compass/actions.rb | 1 - lib/compass/sprite_importer.rb | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compass/actions.rb b/lib/compass/actions.rb index 288e3370..78a6fcf4 100644 --- a/lib/compass/actions.rb +++ b/lib/compass/actions.rb @@ -107,6 +107,5 @@ module Compass logger.record(action, file, options[:extra].to_s) end end - end end diff --git a/lib/compass/sprite_importer.rb b/lib/compass/sprite_importer.rb index 9b844027..442cbbc0 100644 --- a/lib/compass/sprite_importer.rb +++ b/lib/compass/sprite_importer.rb @@ -91,7 +91,8 @@ module Compass # Returns a Sass::Engine for this sprite object def self.sass_engine(uri, name, importer, options) - Sass::Engine.new(content_for_images(uri, name, options[:skip_overrides]), sass_options(uri, importer, options)) + content = content_for_images(uri, name, options[:skip_overrides]) + Sass::Engine.new(content, sass_options(uri, importer, options)) end # Generates the Sass for this sprite file