This website requires JavaScript.
Explore
Help
Sign In
embarklabs
/
embark
mirror of
https://github.com/embarklabs/embark.git
Watch
2
Star
0
Fork
You've already forked embark
0
Code
Issues
Projects
Releases
Wiki
Activity
5ad17be140
embark
/
lib
/
modules
/
code_generator
/
code_templates
/
main-context.js.ejs
4 lines
102 B
Plaintext
Raw
Normal View
History
Unescape
Escape
mainContext -- fallback to `this`, then `self`, then `undefined`
2018-07-20 17:55:58 +00:00
var __mainContext = __mainContext || (
simplify ternary re: `__mainContext` and `this`
2018-07-25 20:40:10 +00:00
this ? this : typeof self !== 'undefined' ? self : void 0
mainContext -- fallback to `this`, then `self`, then `undefined`
2018-07-20 17:55:58 +00:00
);