Last active
November 7, 2016 16:38
-
-
Save miripiruni/627d5f5f4ce3d0c761eeb35a24e58ce2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var bemxjst = require('bem-xjst'); | |
var bemtree = bemxjst.bemtree; | |
var templates_1 = bemtree.compile(function() { | |
// Здесь одни шаблоны | |
}); | |
var templates_2 = bemtree.compile(function() { | |
// Здесь другие шаблоны | |
}); | |
console.log(templates_1.apply({ block: 'page' })); | |
console.log(templates_2.apply({ block: 'page' })); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment