diff --git a/src/vs/css.js b/src/vs/css.js index 4e1ad32966e6005cfa52bcd59995f213c389c42e..28047d44cb3de7ca1f61532d4bda401d5def2f1a 100644 --- a/src/vs/css.js +++ b/src/vs/css.js @@ -22,7 +22,7 @@ var __extends = (this && this.__extends) || function (d, b) { var _cssPluginGlobal = this; var CSSLoaderPlugin; (function (CSSLoaderPlugin) { - var global = _cssPluginGlobal; + var global = _cssPluginGlobal || {}; /** * Known issue: * - In IE there is no way to know if the CSS file loaded successfully or not. diff --git a/src/vs/nls.js b/src/vs/nls.js index 379f112f9d81789ede3f3c90370d8c512a2690f5..f1ccdc132d9371107f062f89d9fcfc03721cbd8b 100644 --- a/src/vs/nls.js +++ b/src/vs/nls.js @@ -17,7 +17,7 @@ var _nlsPluginGlobal = this; var NLSLoaderPlugin; (function (NLSLoaderPlugin) { - var global = _nlsPluginGlobal; + var global = _nlsPluginGlobal || {}; var Resources = global.Plugin && global.Plugin.Resources ? global.Plugin.Resources : undefined; var DEFAULT_TAG = 'i-default'; var IS_PSEUDO = (global && global.document && global.document.location && global.document.location.hash.indexOf('pseudo=true') >= 0);