Skip to content

Commit

Permalink
Merge pull request #69 from enb-bem/provide-i18n
Browse files Browse the repository at this point in the history
Fixed provide i18n to BEM.I18N
  • Loading branch information
blond committed Aug 19, 2015
2 parents 4e9d948 + 6d43ec1 commit 5950f88
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions techs/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ module.exports = require('enb/lib/build-flow').create()
'',
globals && [
' if (defineAsGlobal) {',
' if (typeof BEM === \'undefined\' || BEM === null) {',
' BEM = { I18N: __i18n__ };',
' } else {',
' BEM.I18N = __i18n__;',
' }',
'',
' global.BEM || (global.BEM = {});',
' global.BEM.I18N = __i18n__;',
' }'
Expand Down

0 comments on commit 5950f88

Please sign in to comment.