public
Description: HTML Abstraction Markup Language - A Markup Haiku
Homepage: http://haml.hamptoncatlin.com
Clone URL: git://github.com/nex3/haml.git
Make sure function arguments are resolved before passing them to the 
functions.
nex3 (author)
Sun Oct 12 20:21:50 -0700 2008
commit  983f8c199ee4c386aa54339c6d529d26060cc3c4
tree    953bbfe9b1997562f0f5706df12d78dfc0ea044c
parent  05a617b86d77a2b5685f9155a586f550d84610ba
...
17
18
19
 
20
21
22
...
17
18
19
20
21
22
23
0
@@ -17,6 +17,7 @@ module Sass
0
       end
0
 
0
       def perform
0
+ args = self.args.map {|a| a.perform}
0
         unless Functions.public_instance_methods.include?(name) && name !~ /^__/
0
           return Script::String.new("#{name}(#{args.join(', ')})")
0
         end
...
41
42
43
44
45
46
47
...
41
42
43
 
44
45
46
0
@@ -41,7 +41,6 @@ module Sass::Script
0
     end
0
 
0
     def percentage(value)
0
- value = value.perform if value.is_a?(Sass::Script::Operation)
0
       unless value.is_a?(Sass::Script::Number) && value.unitless?
0
         raise ArgumentError.new("Value is not a unitless number")
0
       end

Comments

    No one has commented yet.