Skip to content

Commit

Permalink
BEMHTML: renderMix fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
miripiruni committed Feb 16, 2017
1 parent 687969f commit a24357a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/bemhtml/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,9 @@ BEMHTML.prototype.renderMix = function renderMix(entity,
context.elem = oldElem;
context.block = oldBlock;

if (!nestedMix)
continue;

for (var j = 0; j < nestedMix.length; j++) {
var nestedItem = nestedMix[j];
if (!nestedItem) continue;
Expand Down

0 comments on commit a24357a

Please sign in to comment.