Skip to content

Commit

Permalink
BEM.I18N should provide it-s functionality on the outter scope
Browse files Browse the repository at this point in the history
(cherry picked from commit fb6ab6e)
  • Loading branch information
Vladimir Varankin committed Apr 17, 2013
1 parent 8ae3a91 commit 64289ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion blocks-common/i-bem/__i18n/i-bem__i18n.i18n/core.js
@@ -1,3 +1,5 @@
/* global BEM */

// XXX: Support tanker-like syntax of keys in `i-bem__i18n`
// i18n['prj']['keyset']['key'](params);
// FIXME: Should not work, because of vars hoisting
Expand Down Expand Up @@ -235,6 +237,6 @@ bem_.I18N = (function(base) {
}(new _i18n()));

/** Global */
global_.BEM = bem_;
BEM = bem_;

})(this, typeof BEM === 'undefined' ? {} : BEM);

0 comments on commit 64289ee

Please sign in to comment.