mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Sass] [SCSS] Support the @debug directive.
This commit is contained in:
parent
171474485e
commit
01494e94ab
1 changed files with 5 additions and 1 deletions
|
@ -36,7 +36,7 @@ module Sass
|
|||
true
|
||||
end
|
||||
|
||||
DIRECTIVES = Set[:mixin, :include]
|
||||
DIRECTIVES = Set[:mixin, :include, :debug]
|
||||
|
||||
def directive
|
||||
return unless name = tok(ATRULE)
|
||||
|
@ -76,6 +76,10 @@ module Sass
|
|||
node(Sass::Tree::MixinNode.new(name, args))
|
||||
end
|
||||
|
||||
def debug
|
||||
node(Sass::Tree::DebugNode.new(sass_script_parser.parse))
|
||||
end
|
||||
|
||||
def variable
|
||||
return unless raw '!'
|
||||
name = tok! IDENT
|
||||
|
|
Loading…
Add table
Reference in a new issue