diff options
author | Lukas Eipert <leipert@gitlab.com> | 2019-07-04 14:36:49 +0300 |
---|---|---|
committer | Lukas Eipert <leipert@gitlab.com> | 2019-07-05 17:37:39 +0300 |
commit | 7ca77203c0622697123e2fdb6f377d87e3de901b (patch) | |
tree | 73b4ae76d125135e0cbca3eb521a7b2f3e15d391 /app/assets/javascripts/event_tracking/notes.js | |
parent | de6c2f7033e7d856be092e3bca4cfe7a33141733 (diff) |
Replace runtime isEE check with compile time one
This has the benefit that CE bundles will remove dead code in CE only
builds.
We have a follow-up issue to get rid of this completely:
https://gitlab.com/gitlab-org/gitlab-ce/issues/64173
Diffstat (limited to 'app/assets/javascripts/event_tracking/notes.js')
-rw-r--r-- | app/assets/javascripts/event_tracking/notes.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/event_tracking/notes.js b/app/assets/javascripts/event_tracking/notes.js index 2d1ec238274..1f70290c397 100644 --- a/app/assets/javascripts/event_tracking/notes.js +++ b/app/assets/javascripts/event_tracking/notes.js @@ -1 +1,2 @@ +// Noop function which has a EE counter-part export default () => {}; |