diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2018-02-28 20:13:46 +0300 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2018-02-28 20:13:46 +0300 |
commit | a9db24b2be09f15cabc84735d76f355940dc7a9e (patch) | |
tree | 9bafc4822224284194c5e9eab93cf6568ee00448 /app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js | |
parent | 0d3ed41ae532812f2529d31a75aec6b103ee0dfa (diff) |
Remove cycle analytics bundle webpack entry point
Diffstat (limited to 'app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js')
-rw-r--r-- | app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js b/app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js index 034f2923b3b..46d89c825f9 100644 --- a/app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js +++ b/app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js @@ -14,10 +14,10 @@ import CycleAnalyticsStore from './cycle_analytics_store'; Vue.use(Translate); -$(() => { +export default () => { const OVERVIEW_DIALOG_COOKIE = 'cycle_analytics_help_dismissed'; - gl.cycleAnalyticsApp = new Vue({ + new Vue({ // eslint-disable-line no-new el: '#cycle-analytics', name: 'CycleAnalytics', components: { @@ -132,4 +132,4 @@ $(() => { }, }, }); -}); +}; |