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

This commit is contained in:
Michael Bradley, Jr 2018-07-20 12:55:58 -05:00 committed by Pascal Precht
parent 9af5d493bb
commit b823b6ebca
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
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
)
);