bem-xjst just published its new version 6.5.0, which is not covered by your current version range.
If this pull request passes your tests you can publish your software with the latest version of bem-xjst ā otherwise use this branch to work on adaptions and fixes.
bemhtml.compile() and bemtree.compile() should work with arrow functions and function with name and params.
var bemhtml =require('bem-xjst').bemhtml;
varmyFunction=function() {
block('page').tag()('body');
};
// myFunction can be in v6.5.0:// function name() { ā¦ }// function (a, b) { ā¦ }// function name(a, b) { ā¦ }// () => { ā¦ }// (a, b) => { ā¦ }// _ => { ā¦ }var templates =bemhtml.compile(myFunction);
Hello :wave:
:rocket::rocket::rocket:
bem-xjst just published its new version 6.5.0, which is not covered by your current version range.
If this pull request passes your tests you can publish your software with the latest version of bem-xjst ā otherwise use this branch to work on adaptions and fixes.
Happy fixing and merging :palm_tree:
GitHub Release
bemhtml.compile()
andbemtree.compile()
should work with arrow functions and function with name and params.The new version differs by 118 commits .
a975b76
6.5.0
537ba61
update AUTHORS
ff65bd6
Changelog updated for v6.5.0
98c9417
Merge pull request #272 from bem/issue259__arrow-func
afd89e5
6.4.3
ce5006d
update AUTHORS
f13db12
Changelog updated for v6.4.3
679a090
Merge pull request #268 from bem/issue-187__attrs-types
cea26e6
6.4.2
80e1897
update AUTHORS
0395dc8
Changelog updated for v6.4.2
89a8612
Merge pull request #270 from incrop/fix-inherit-mods
84b011e
BEMHTML: Should not render String or Array as attrs value
3451467
bemxjst: should not inherit
modsfrom namesake parent block
1ee8b57
API .generate(): support arrow functions
There are 118 commits in total. See the full diff.
This pull request was created by greenkeeper.io. It keeps your software up to date, all the time.
Tired of seeing this sponsor message? Upgrade to the supporter plan! You'll also get your pull requests faster :zap: