This website requires JavaScript.
Explore
Help
Sign In
embarklabs
/
embark
Watch
2
Star
0
Fork
0
You've already forked embark
mirror of
https://github.com/embarklabs/embark.git
synced
2025-01-09 13:26:10 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
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 12:55:58 -05:00
var __mainContext = __mainContext || (
simplify ternary re: `__mainContext` and `this`
2018-07-25 15:40:10 -05:00
this ? this : typeof self !== 'undefined' ? self : void 0
mainContext -- fallback to `this`, then `self`, then `undefined`
2018-07-20 12:55:58 -05:00
);
Reference in New Issue
Copy Permalink