Add missing file.
This commit is contained in:
parent
b7c6a7e50f
commit
165e3b43fb
9
lib/compass/sass_extensions/functions/lists.rb
Normal file
9
lib/compass/sass_extensions/functions/lists.rb
Normal 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
|
Loading…
Reference in New Issue
Block a user