summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/main.js
diff options
context:
space:
mode:
authorLukas Eipert <leipert@gitlab.com>2019-07-04 12:18:51 +0200
committerLukas Eipert <leipert@gitlab.com>2019-07-04 12:18:51 +0200
commit0e4cef8589e36d22e5da125e1fe83475f1b27856 (patch)
tree12737e5036a5c02dd7d5df647103249a1607f0ab /app/assets/javascripts/main.js
parente049fe0d2ea585818cd4a6a65a1d71cbee365a52 (diff)
downloadgitlab-ce-0e4cef8589e36d22e5da125e1fe83475f1b27856.tar.gz
Resolve CE/EE diff in main.js12368-main-js
Moving ee/main.js to ee/main_ee.js allows to add a noop file in CE and utilize ee_else_ce.
Diffstat (limited to 'app/assets/javascripts/main.js')
-rw-r--r--app/assets/javascripts/main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/main.js b/app/assets/javascripts/main.js
index 9f30a989295..7b42f267890 100644
--- a/app/assets/javascripts/main.js
+++ b/app/assets/javascripts/main.js
@@ -33,6 +33,8 @@ import GlFieldErrors from './gl_field_errors';
import initUserPopovers from './user_popovers';
import { __ } from './locale';
+import 'ee_else_ce/main_ee';
+
// expose jQuery as global (TODO: remove these)
window.jQuery = jQuery;
window.$ = jQuery;