use different approach to set initial CLOUD_PROVIDERS (based on latest emscripten Module init)
| | |
| | | |
| | | |
| | | var CLOUD_PROVIDERS; |
| | | if (!CLOUD_PROVIDERS) CLOUD_PROVIDERS = (typeof CLOUD_PROVIDERS !== 'undefined' ? CLOUD_PROVIDERS : null) || {}; |
| | | if (typeof CLOUD_PROVIDERS === 'undefined') CLOUD_PROVIDERS = eval('(function() { try { return CLOUD_PROVIDERS || {} } catch(e) { return {} } })()'); |
| | | |
| | | (function () { |
| | | 'use-strict'; |
| | |
| | | // Boiler plate to setup cloud providers registry |
| | | var CLOUD_PROVIDERS; |
| | | if (!CLOUD_PROVIDERS) CLOUD_PROVIDERS = (typeof CLOUD_PROVIDERS !== 'undefined' ? CLOUD_PROVIDERS : null) || {}; |
| | | if (typeof CLOUD_PROVIDERS === 'undefined') CLOUD_PROVIDERS = eval('(function() { try { return CLOUD_PROVIDERS || {} } catch(e) { return {} } })()'); |
| | | |
| | | (function() { |
| | | // @todo: This may need adjusting to support fetching binary. |