Merge branch 'master' of github.com:chriseppstein/compass

This commit is contained in:
Scott Davis 2011-03-28 17:08:36 -04:00
commit 638e7e2c51
4 changed files with 14 additions and 5 deletions

View File

@ -2,4 +2,4 @@
:major: 0 :major: 0
:minor: 11 :minor: 11
:state: beta :state: beta
:build: 4 :build: 5

View File

@ -11,5 +11,13 @@ classnames:
- core - core
- utilities - utilities
--- ---
= render 'reference' - render 'reference' do
%h3 Additional Resources
%ul
%li
%a(href="/help/tutorials/spriting/") Spriting Tutorial
%li
%a(href="/reference/compass/helpers/sprites/") Sprite Helpers
%li
%a(href="/reference/compass/utilities/sprites/base/") Base Stylesheet

View File

@ -66,7 +66,7 @@ def search_index
# puts "Indexed: #{term}" # puts "Indexed: #{term}"
end end
idx["items"][id] = { idx["items"][id] = {
"url" => "/docs#{item.identifier}", "url" => "#{item.identifier}",
"title" => item[:title], "title" => item[:title],
"crumb" => item[:crumb] "crumb" => item[:crumb]
} }

View File

@ -18,8 +18,9 @@ module Compass::SassExtensions::Functions::Lists
def compact(*args) def compact(*args)
sep = :comma sep = :comma
if args.size == 1 && args.first.is_a?(Sass::Script::List) if args.size == 1 && args.first.is_a?(Sass::Script::List)
args = args.first.value list = args.first
sep = args.first.separator args = list.value
sep = list.separator
end end
Sass::Script::List.new(args.reject{|a| !a.to_bool}, sep) Sass::Script::List.new(args.reject{|a| !a.to_bool}, sep)
end end