lib/sass/tree/node.rb in haml-3.0.24 vs lib/sass/tree/node.rb in haml-3.0.25

- old
+ new

@@ -313,10 +313,11 @@ # @param environment [Sass::Environment] The lexical environment containing # variable and mixin values # @see #perform def perform!(environment) self.children = perform_children(Environment.new(environment)) + self.children.each {|c| check_child! c} end # Non-destructively runs \{#perform} on all children of the current node. # # @param environment [Sass::Environment] The lexical environment containing @@ -366,11 +367,9 @@ case child when Tree::MixinDefNode "Mixins may only be defined at the root of a document." when Tree::ImportNode "Import directives may only be used at the root of a document." - when Tree::ExtendNode - "Extend directives may only be used within rules." end end # Converts a node to Sass or SCSS code that will generate it. #