diff options
-rw-r--r-- | app/assets/javascripts/user.js.es6 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/javascripts/user.js.es6 b/app/assets/javascripts/user.js.es6 index 7e699df84ca..e064853202d 100644 --- a/app/assets/javascripts/user.js.es6 +++ b/app/assets/javascripts/user.js.es6 @@ -1,3 +1,5 @@ +window.gl = window.gl || {}; + ((global) => { class User { constructor(opts) { @@ -26,4 +28,4 @@ } global.User = User; -})(window.gl || (window.gl = {}));
\ No newline at end of file +})(window.gl);
\ No newline at end of file |