Merge branch 'master' of github.com:chriseppstein/compass
This commit is contained in:
commit
638e7e2c51
@ -2,4 +2,4 @@
|
||||
:major: 0
|
||||
:minor: 11
|
||||
:state: beta
|
||||
:build: 4
|
||||
:build: 5
|
||||
|
@ -11,5 +11,13 @@ classnames:
|
||||
- core
|
||||
- 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
|
||||
|
@ -66,7 +66,7 @@ def search_index
|
||||
# puts "Indexed: #{term}"
|
||||
end
|
||||
idx["items"][id] = {
|
||||
"url" => "/docs#{item.identifier}",
|
||||
"url" => "#{item.identifier}",
|
||||
"title" => item[:title],
|
||||
"crumb" => item[:crumb]
|
||||
}
|
||||
|
@ -18,8 +18,9 @@ module Compass::SassExtensions::Functions::Lists
|
||||
def compact(*args)
|
||||
sep = :comma
|
||||
if args.size == 1 && args.first.is_a?(Sass::Script::List)
|
||||
args = args.first.value
|
||||
sep = args.first.separator
|
||||
list = args.first
|
||||
args = list.value
|
||||
sep = list.separator
|
||||
end
|
||||
Sass::Script::List.new(args.reject{|a| !a.to_bool}, sep)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user