mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-11-25 17:06:52 +01:00
10 lines
300 B
JavaScript
10 lines
300 B
JavaScript
|
var freeGlobal = require('./_freeGlobal');
|
||
|
|
||
|
/** Detect free variable `self`. */
|
||
|
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
||
|
|
||
|
/** Used as a reference to the global object. */
|
||
|
var root = freeGlobal || freeSelf || Function('return this')();
|
||
|
|
||
|
module.exports = root;
|