Comparing version 0.8.6 to 0.8.7
{ | ||
"name": "bemer", | ||
"description": "Template engine. BEMJSON to HTML processor.", | ||
"version": "0.8.6", | ||
"version": "0.8.7", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "main": "bemer.js", |
@@ -122,4 +122,9 @@ definer('Tree', /** @exports Tree */ function(Template, is, object) { | ||
if(!bemjson.block && bemjson.elem) { | ||
bemjson.block = bemjson.__templateBlock__ || context.block; | ||
delete bemjson.__templateBlock__; | ||
if(bemjson.__templateBlock__) { | ||
context.block = bemjson.__templateBlock__; | ||
delete bemjson.__templateBlock__; | ||
} | ||
bemjson.block = context.block; | ||
bemjson.mods = object.extend(object.clone(context.mods), bemjson.mods || {}); | ||
@@ -126,0 +131,0 @@ } |
{ | ||
"name": "bemer", | ||
"description": "Template engine. BEMJSON to HTML processor.", | ||
"version": "0.8.6", | ||
"version": "0.8.7", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
4820637
6381