From 9dc86a03f73872b17f211632cb3f6c7663a72b6b Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Mon, 28 Dec 2009 00:21:48 +0100 Subject: [PATCH] SassScript issue has been fixed (sass repo has a test case for this now, yay) --- lib/big_band/sass.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/big_band/sass.rb b/lib/big_band/sass.rb index 8fc5ec0..bcd8bcd 100644 --- a/lib/big_band/sass.rb +++ b/lib/big_band/sass.rb @@ -12,13 +12,6 @@ class BigBand < Sinatra::Base # This can be used without BigBand or even Sinatra. module Sass module Functions - - # HACK: Dunno why I have to do both. Have to talk to nex3 or somebody. - # Including it just in EvaluationContext will not make the methods available - # from Sass, including it just in Functions will cause Sass to raise an - # NoMethodError. What causes this behaviour is not obvious from sass/script/functions.rb. - # More digging through the Sass code should be done. - ::Sass::Script::Functions::EvaluationContext.send :include, self ::Sass::Script::Functions.send :include, self def min(*args)