Skip to content

Commit

Permalink
fix some bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseppstein committed Jan 22, 2010
1 parent d7a9864 commit ec844d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc-src/lib/default.rb
Expand Up @@ -8,7 +8,11 @@ def body_class(item)
end

def body_id(item)
item.identifier.chop[1..-1].gsub(/\/|_/, "-")
if id = item.identifier.chop[1..-1]
id.gsub(/\/|_/, "-")
else
nil
end
end

def body_attributes(item)
Expand Down
1 change: 1 addition & 0 deletions doc-src/lib/stylesheets/sass_extensions.rb
@@ -1,3 +1,4 @@
require 'sass'
module Sass
module Tree
class VariableNode < Node
Expand Down

0 comments on commit ec844d2

Please sign in to comment.