fix some bugs.
This commit is contained in:
parent
d7a9864ee2
commit
ec844d2148
@ -8,7 +8,11 @@ def body_class(item)
|
|||||||
end
|
end
|
||||||
|
|
||||||
def body_id(item)
|
def body_id(item)
|
||||||
item.identifier.chop[1..-1].gsub(/\/|_/, "-")
|
if id = item.identifier.chop[1..-1]
|
||||||
|
id.gsub(/\/|_/, "-")
|
||||||
|
else
|
||||||
|
nil
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def body_attributes(item)
|
def body_attributes(item)
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
require 'sass'
|
||||||
module Sass
|
module Sass
|
||||||
module Tree
|
module Tree
|
||||||
class VariableNode < Node
|
class VariableNode < Node
|
||||||
|
Loading…
Reference in New Issue
Block a user