We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 27737a7 + 4c26980 commit 21ead41Copy full SHA for 21ead41
.eslintrc
@@ -1,5 +1,6 @@
1
env:
2
es6: true
3
+ browser: true
4
commonjs: true
5
amd: true
6
mocha: true
index.js
@@ -335,4 +335,4 @@ if (typeof define === 'function') {
335
336
/* istanbul ignore next */
337
defineAsGlobal && (global.bemNaming = createNaming);
338
-})(this);
+})(typeof window !== 'undefined' ? window : global);
0 commit comments