mainContext -- fallback to `this`, then `self`, then `undefined`

This commit is contained in:
Michael Bradley, Jr 2018-07-20 12:55:58 -05:00
parent 0e801800cd
commit 757e825be9
1 changed files with 5 additions and 1 deletions

View File

@ -1 +1,5 @@
var __mainContext = __mainContext || (typeof self !== 'undefined' ? self : this);
var __mainContext = __mainContext || (
typeof this !== 'undefined' ? this : (
typeof self !== 'undefined' ? self : void 0
)
);