Skip to content

Commit

Permalink
Moved parent field
Browse files Browse the repository at this point in the history
  • Loading branch information
AleshaOleg committed Nov 1, 2018
1 parent 7e8ca10 commit b4e9c65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parser.es6
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ class SassParser {
},
end: node.end,
input: this.input
}
},
parent
})

if (this.raws.beforeMulti) {
Expand All @@ -365,7 +366,6 @@ class SassParser {

parent.nodes.push(comment)
this.raws.before = ''
comment.parent = parent
}
space (node, parent) {
// Spaces before root and rule
Expand Down

0 comments on commit b4e9c65

Please sign in to comment.