fix mixin definitions inside other mixin definitions

This commit is contained in:
cloudhead 2010-07-07 11:58:55 +02:00
parent 2afcdd7860
commit 752bf96e53

View File

@ -15,7 +15,7 @@ tree.Ruleset.prototype = {
rules.push(rule.evalRules(context));
} else if (rule instanceof tree.mixin.Call) {
Array.prototype.push.apply(rules, rule.eval(context));
} else {
} else if (! (rule instanceof tree.mixin.Definition)) {
rules.push(rule.eval ? rule.eval(context) : '');
}
});