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.
1 parent adfbc93 commit 6c34c9dCopy full SHA for 6c34c9d
lib/web/mage/utils/main.js
@@ -7,7 +7,9 @@ define(function (require) {
7
8
var utils = {},
9
_ = require('underscore'),
10
- root = this || (0, eval)('this');
+ root = typeof self == 'object' && self.self === self && self
11
+ || typeof global == 'object' && global.global === global && global
12
+ || Function('return this')() || {};
13
14
root._ = _;
15
0 commit comments