Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
4322d3c2
Commit
4322d3c2
authored
May 16, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update cycle_analytics_bundle to ES module syntax
parent
a8b5878b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
15 deletions
+14
-15
app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js
...ets/javascripts/cycle_analytics/cycle_analytics_bundle.js
+11
-12
app/assets/javascripts/cycle_analytics/cycle_analytics_store.js
...sets/javascripts/cycle_analytics/cycle_analytics_store.js
+3
-3
No files found.
app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js
View file @
4322d3c2
...
...
@@ -4,18 +4,17 @@ import Vue from 'vue';
import
Cookies
from
'
js-cookie
'
;
import
Translate
from
'
../vue_shared/translate
'
;
import
LimitWarningComponent
from
'
./components/limit_warning_component
'
;
require
(
'
./components/stage_code_component
'
);
require
(
'
./components/stage_issue_component
'
);
require
(
'
./components/stage_plan_component
'
);
require
(
'
./components/stage_production_component
'
);
require
(
'
./components/stage_review_component
'
);
require
(
'
./components/stage_staging_component
'
);
require
(
'
./components/stage_test_component
'
);
require
(
'
./components/total_time_component
'
);
require
(
'
./cycle_analytics_service
'
);
require
(
'
./cycle_analytics_store
'
);
require
(
'
./default_event_objects
'
);
import
'
./components/stage_code_component
'
;
import
'
./components/stage_issue_component
'
;
import
'
./components/stage_plan_component
'
;
import
'
./components/stage_production_component
'
;
import
'
./components/stage_review_component
'
;
import
'
./components/stage_staging_component
'
;
import
'
./components/stage_test_component
'
;
import
'
./components/total_time_component
'
;
import
'
./cycle_analytics_service
'
;
import
'
./cycle_analytics_store
'
;
import
'
./default_event_objects
'
;
Vue
.
use
(
Translate
);
...
...
app/assets/javascripts/cycle_analytics/cycle_analytics_store.js
View file @
4322d3c2
/* eslint-disable no-param-reassign */
import
{
__
}
from
'
../locale
'
;
require
(
'
../lib/utils/text_utility
'
);
const
DEFAULT_EVENT_OBJECTS
=
require
(
'
./default_event_objects
'
);
import
{
__
}
from
'
../locale
'
;
import
'
../lib/utils/text_utility
'
;
import
DEFAULT_EVENT_OBJECTS
from
'
./default_event_objects
'
;
const
global
=
window
.
gl
||
(
window
.
gl
=
{});
global
.
cycleAnalytics
=
global
.
cycleAnalytics
||
{};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment