Skip to content
Browse files

more relative requires

  • Loading branch information...
1 parent 8279de2 commit 1689ff7b881befcba4a2d6c87f57616e367a13df @afelix afelix committed Jul 17, 2012
Showing with 7 additions and 5 deletions.
  1. +3 −2 blocks-common/.bem/level.js
  2. +4 −3 blocks-common/i-bem/bem/techs/js.js
View
5 blocks-common/.bem/level.js
@@ -1,8 +1,9 @@
-var myPath = require('bem/lib/path');
+var BEM = require('bem'),
+ myPath = BEM.require('./path');
exports.techs = {
'js': '../i-bem/bem/techs/js.js',
- 'css': 'bem/lib/techs/css',
+ 'css': 'css',
'bemhtml': '../i-bem/bem/techs/bemhtml.js'
};
View
7 blocks-common/i-bem/bem/techs/js.js
@@ -1,6 +1,7 @@
-var myPath = require('bem/lib/path'),
- Template = require('bem/lib/template'),
- Js = require('bem/lib/legacy-techs/js');
+var BEM = require('bem'),
+ myPath = BEM.require('./path'),
+ Template = BEM.require('./template'),
+ Js = BEM.require('./legacy-techs/js');
exports.techModule = module;

0 comments on commit 1689ff7

Please sign in to comment.
Something went wrong with that request. Please try again.