Skip to content

Commit

Permalink
Merge pull request #485 from bem/fix/gh-483
Browse files Browse the repository at this point in the history
i-bem: export `BEMContext` to oninit's context
  • Loading branch information
veged committed Apr 17, 2014
2 parents b4da715 + 77c6ad8 commit 592b985
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common.blocks/i-bem/i-bem.bemhtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*global oninit */
oninit(function(exports) {
oninit(function(exports, context) {

var BEM_ = {},
toString = Object.prototype.toString,
Expand Down Expand Up @@ -193,6 +193,7 @@ function BEMContext(context, apply_) {
this.mods = undefined;
this.elemMods = undefined;
}
context.BEMContext = BEMContext;

BEMContext.prototype.isArray = isArray;

Expand Down

0 comments on commit 592b985

Please sign in to comment.