diff --git a/lib/contracts/code_templates/main-context.js.ejs b/lib/contracts/code_templates/main-context.js.ejs index 77694c7b4..77152eb84 100644 --- a/lib/contracts/code_templates/main-context.js.ejs +++ b/lib/contracts/code_templates/main-context.js.ejs @@ -1,5 +1,3 @@ var __mainContext = __mainContext || ( - typeof this !== 'undefined' ? this : ( - typeof self !== 'undefined' ? self : void 0 - ) + this ? this : typeof self !== 'undefined' ? self : void 0 );