summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2016-08-24 11:24:24 +0000
committerLuke "Jared" Bennett <lbennett@gitlab.com>2016-08-24 11:24:24 +0000
commit1915062bdc9d12e077f98830f0f525d7deee6155 (patch)
tree311d99a82b9c5ad9cff65bd3c8210e4a17649922
parent02591b043052eb4f8041f8cf51546fab272d7b61 (diff)
downloadgitlab-ce-patch-4.tar.gz
Update abuse_reports.js.es6 with prettier `window.gl` assignmentpatch-4
-rw-r--r--app/assets/javascripts/abuse_reports.js.es63
1 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/javascripts/abuse_reports.js.es6 b/app/assets/javascripts/abuse_reports.js.es6
index 748084b0307..2fe46b9fd06 100644
--- a/app/assets/javascripts/abuse_reports.js.es6
+++ b/app/assets/javascripts/abuse_reports.js.es6
@@ -1,4 +1,3 @@
-window.gl = window.gl || {};
((global) => {
const MAX_MESSAGE_LENGTH = 500;
const MESSAGE_CELL_SELECTOR = '.abuse-reports .message';
@@ -36,4 +35,4 @@ window.gl = window.gl || {};
}
global.AbuseReports = AbuseReports;
-})(window.gl);
+})(window.gl || (window.gl = {}));