Fixed typo.

This commit is contained in:
meri
2015-12-13 15:54:00 +01:00
parent dd09691b38
commit c2477751e6

View File

@@ -605,7 +605,7 @@ Ruleset.prototype.joinSelector = function (paths, context, selector) {
if (addPath.length > 0) {
// /deep/ is a combinator that is valid without anything in front of it
// so if the & does not have a combinator that is "" or " " then
// and there is a combinator o n the parent, then grab that.
// and there is a combinator on the parent, then grab that.
// this also allows + a { & .b { .a & { ... though not sure why you would want to do that
var combinator = replacedElement.combinator, parentEl = addPath[0].elements[0];
if (combinator.emptyOrWhitespace && !parentEl.combinator.emptyOrWhitespace) {