dont cache

This commit is contained in:
Scott Davis 2011-09-10 16:38:36 -04:00
parent 2792ea3be4
commit 2367b9b9be

View File

@ -45,8 +45,7 @@ module Compass::SassExtensions::Functions::ImageSize
private private
def image_demensions(image_file) def image_demensions(image_file)
@image_demensions ||= {} ImageProperties.new(image_path(image_file.value)).size
@image_demensions[image_file.value] ||= ImageProperties.new(image_path(image_file.value)).size
end end
def image_path(image_file) def image_path(image_file)