Add missing file.

This commit is contained in:
Chris Eppstein 2010-07-24 02:01:43 -07:00
parent b7c6a7e50f
commit 165e3b43fb

View File

@ -0,0 +1,9 @@
module Compass::SassExtensions::Functions::Lists
def first_value_of(list)
if list.is_a?(Sass::Script::String)
Sass::Script::String.new(list.value.split(/\s+/).first)
else
list
end
end
end