Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewblond committed Aug 19, 2015
1 parent 1ea61e3 commit 9d96b30
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion techs/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,11 @@ module.exports = require('enb/lib/build-flow').create()
'',
globals && [
' if (defineAsGlobal) {',
' var __bem__ = (typeof BEM !== \'undefined\') ? BEM : (global.BEM || {});',
' var __bem__ = (typeof BEM !== \'undefined\') ? BEM : {};',
' __bem__.I18N = __i18n__;',
'',
' global.BEM || (global.BEM = {});',
' global.BEM.I18N = __i18n__;',
' }'
].join(EOL),
'})(this);'
Expand Down

0 comments on commit 9d96b30

Please sign in to comment.