This version is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of bem-xjst.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right?
Are you unsure about how things are supposed to work?
There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.
You can use appendContent and prependContent modes to add child nodes to content.
block('quote')(
prependContent()('“'), // add some things before actual contentappendContent()('”'), // add content to the endappendContent({ block:'link' }); // add more content to the end
);
{ block:'quote', content:'I came, I saw, I templated.' }
Result:
<divclass="quote">“I came, I saw, I templated.”<divclass="link"></div></div>
appendContent() and prependContent() is a shortcuts to content() + applyNext():
// appendContent() is the same as:content()(function() {
return [
applyNext(),
'additional content'
];
});
// prependContent() is the same as:content()(function() {
return [
'additional content',
applyNext()
];
});
Commits:
[b59973d5b2] - Merge pull request #337 from bem/content-mods (Slava Oliyanchuk)
[bfc4e09c0c] - Tests: identify test is slow on Travis. Accuracy changed. (miripiruni)
The new version differs by 58 commits (ahead by 58, behind by 8).
Hello lovely humans,
bem-xjst just published its new version 7.1.0.
This version is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of bem-xjst. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right? Are you unsure about how things are supposed to work?
There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.
Good luck with your project :sparkles:
You rock!
:palm_tree:
GitHub Release
You can use
appendContent
andprependContent
modes to add child nodes to content.Result:
appendContent()
andprependContent()
is a shortcuts tocontent()
+applyNext()
:Commits:
b59973d5b2
] - Merge pull request #337 from bem/content-mods (Slava Oliyanchuk)bfc4e09c0c
] - Tests: identify test is slow on Travis. Accuracy changed. (miripiruni)The new version differs by 58 commits (ahead by 58, behind by 8).
49a3e10
7.1.0
de62e8c
update AUTHORS
65927a2
changelog updated
2265c4f
Docs: appendContent/prependContent
b59973d
Merge pull request #337 from bem/content-mods
bfc4e09
Tests: identify test is slow on Travis. Accuracy changed.
eaf5ae6
7.0.4
d855d49
update AUTHORS
be9770c
changelog updated
fb9b96e
Merge pull request #328 from bem/faster-escaping
3e80b00
Utils: faster escaping functions (see issue #327)
a6e6b73
New modes: appendContent and prependContent
d53646f
Merge pull request #330 from bem/greenkeeper-mocha-3.0.2
5c1d93e
chore(package): update mocha to version 3.0.2
442aaec
Merge pull request #325 from bem/coverage-badge
There are 58 commits in total. See the full diff.
This pull request was created by greenkeeper.io.
Tired of seeing this sponsor message? :zap:
greenkeeper upgrade