Skip to content

Commit

Permalink
[Docs] Always dasherize variables in the docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseppstein committed Jul 11, 2010
1 parent 24a25b5 commit a6c22c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc-src/lib/stylesheets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def constants(item)
if child.is_a?(Sass::Tree::VariableNode)
child.comment = comment && Sass::Tree::CommentNode.clean(comment)
comment = nil
child.name.tr!("_",'-')
constants << child
elsif child.is_a?(Sass::Tree::CommentNode)
comment ||= ""
Expand Down

0 comments on commit a6c22c3

Please sign in to comment.