Skip to content

Commit

Permalink
Merge pull request #26 from enb-bem/issue-25
Browse files Browse the repository at this point in the history
Support ENB 1.x
  • Loading branch information
blond committed Oct 8, 2015
2 parents 53e434e + b992683 commit dbf6caa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ enb-bem-examples
$ npm install --save-dev enb-bem-examples
```

Для работы модуля требуется зависимость от пакетов `enb-magic-factory` версии `0.3.x` или выше, а так же `enb` версии `0.13.0` или выше.
Для работы модуля требуется зависимость от пакетов `enb-magic-factory` версии `0.3.x` или выше, а так же `enb` версии `0.15.0` или выше.

Технология `examples` в файловой системе
-----------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion lib/plugins/inline-bemjson.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ var path = require('path'),
vm = require('vm'),
naming = require('bem-naming'),
vow = require('vow'),
vfs = require('enb/lib/fs/async-fs'),
enb = require('enb'),
vfs = enb.asyncFS || require('enb/lib/fs/async-fs'),
scanner = require('enb-bem-pseudo-levels/lib/level-scanner'),
BEMJSON_JS_CODE_REGEX = /`{3,}(bemjson\s*[^`]*|js\s*\(?(\{|\[)[^`]*block ?:[^`]*(\]|\})\)?)\s*`{3,}/gi;

Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@
"node": ">= 0.10.0"
},
"peerDependencies": {
"enb": ">= 0.15.0 < 2.0.0",
"enb-magic-factory": ">= 0.3.0 < 1.0.0"
},
"dependencies": {
"bem-naming": "0.5.1",
"enb-bem-pseudo-levels": "0.2.6",
"enb-bem-pseudo-levels": "0.3.0",
"vow": "0.4.10"
},
"devDependencies": {
"enb": ">= 0.15.0 < 2.0.0",
"enb-magic-factory": ">= 0.3.0 < 1.0.0",
"jscs": "1.13.1",
"jshint": "2.8.0"
Expand Down

0 comments on commit dbf6caa

Please sign in to comment.