Skip to content

Commit

Permalink
Migration to bem-xjst 8 (#2)
Browse files Browse the repository at this point in the history
* Migration to bem-xjst 8

* Rename *.bemhtml to *.bemhtml.js
  • Loading branch information
d3m1d0v authored and tadatuta committed Aug 9, 2018
1 parent 4afefcb commit e121f14
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 9 deletions.
9 changes: 7 additions & 2 deletions .enb/make.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function createTestsNodes(config) {
[bemhtml, {
target : '?.browser.tmpl.js',
filesTarget : '?.tmpl.files',
sourceSuffixes : ['bemhtml', 'bemhtml.js']
sourceSuffixes : ['bemhtml.js']
}] :
[bhBundle, {
target : '?.browser.tmpl.js',
Expand Down Expand Up @@ -107,7 +107,12 @@ function createTmplTestsNodes(config) {
},
bemhtml : {
tech : 'enb-bemxjst/techs/bemhtml',
options : { sourceSuffixes : ['bemhtml', 'bemhtml.js'] }
options : {
sourceSuffixes : ['bemhtml.js'],
engineOptions : {
xhtml : true
}
}
}
}
});
Expand Down
File renamed without changes.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
block('suggest').match(function() { return this.mods['has-dataprovider']; }).js()(function() {
var prevJs = applyNext();
return prevJs && prevJs !== true? this.extend(prevJs, this.ctx.dataprovider) : this.ctx.dataprovider;
})
File renamed without changes.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"Vladimir Varankin <[email protected]> (http://github.com/narqo)"
],
"dependencies": {
"bem-components": "^5.0.0"
"bem-components": "^6.0.1"
},
"devDependencies": {
"bem-pr": "~0.10.0"
"bem-pr": "~0.15.0"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"bower": "^1.7.7",
"enb": "^1.1.2",
"enb-bem-techs": "^2.2.1",
"enb-bem-tmpl-specs": "^0.16.1",
"enb-bemxjst": "^4.1.0",
"enb-bem-tmpl-specs": "^1.3.3",
"enb-bemxjst": "^8.10.4",
"enb-bh": "^1.1.0",
"enb-borschik": "^2.3.0",
"enb-js": "^1.1.0",
Expand Down

0 comments on commit e121f14

Please sign in to comment.