mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
9 lines
245 B
JavaScript
9 lines
245 B
JavaScript
module.exports = (function () {
|
|
if (typeof self !== 'undefined') {
|
|
return self;
|
|
} else if (typeof window !== 'undefined') {
|
|
return window;
|
|
} else {
|
|
return Function('return this')(); // eslint-disable-line no-new-func
|
|
}
|
|
})();
|