diff options
author | Jose <jose@zeroc.com> | 2017-04-14 15:53:44 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-04-14 15:53:44 +0200 |
commit | 143f66813fc76abd4941f9bf2079cd3b92ab61fe (patch) | |
tree | b9d4022213a996693926d8bcff371bf91171dd38 /js/src/Ice/browser/ModuleRegistry.js | |
parent | Add icegrid to icegridadmin MSBuild dependencies (diff) | |
download | ice-143f66813fc76abd4941f9bf2079cd3b92ab61fe.tar.bz2 ice-143f66813fc76abd4941f9bf2079cd3b92ab61fe.tar.xz ice-143f66813fc76abd4941f9bf2079cd3b92ab61fe.zip |
Minor JS fixes
Diffstat (limited to 'js/src/Ice/browser/ModuleRegistry.js')
-rw-r--r-- | js/src/Ice/browser/ModuleRegistry.js | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/js/src/Ice/browser/ModuleRegistry.js b/js/src/Ice/browser/ModuleRegistry.js index 006b28a937f..ac1d676d2c4 100644 --- a/js/src/Ice/browser/ModuleRegistry.js +++ b/js/src/Ice/browser/ModuleRegistry.js @@ -7,9 +7,15 @@ // // ********************************************************************** -/* globals self */ -const root = typeof(window) !== "undefined" ? window : typeof(global) !== "undefined" ? global : typeof(self) !== "undefined" ? self : {}; -/* globals -self */ +/* global + self : false +*/ +const root = typeof(window) !== "undefined" ? window : + typeof(global) !== "undefined" ? global : + typeof(self) !== "undefined" ? self : {}; +/* global + self : true +*/ class _ModuleRegistry { |