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
6bf0bd0f
Commit
6bf0bd0f
authored
Jan 06, 2017
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no space for requires - all consistent syntax = change if logic for index.js.es6
parent
fc026c8a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
38 deletions
+31
-38
app/assets/javascripts/vue_pipelines_index/index.js.es6
app/assets/javascripts/vue_pipelines_index/index.js.es6
+30
-37
app/assets/javascripts/vue_pipelines_index/store.js.es6
app/assets/javascripts/vue_pipelines_index/store.js.es6
+0
-1
app/assets/javascripts/vue_pipelines_index/time_ago.js.es6
app/assets/javascripts/vue_pipelines_index/time_ago.js.es6
+1
-0
No files found.
app/assets/javascripts/vue_pipelines_index/index.js.es6
View file @
6bf0bd0f
/* global Vue, VueResource, gl */
/* global Vue, VueResource, gl */
/* eslint-disable no-bitwise, no-plusplus*/
/* eslint-disable no-bitwise, no-plusplus*/
/*= require vue_common_component/commit */
/*= require vue_common_component/commit */
/*= require vue-resource
//= require vue-resource
/*= require boards/vue_resource_interceptor */
/*= require boards/vue_resource_interceptor */
/*= require ./status.js.es6 */
//= require ./status.js.es6
/*= require ./store.js.es6 */
//= require ./store.js.es6
/*= require ./pipeline_url.js.es6 */
//= require ./pipeline_url.js.es6
/*= require ./pipeline_head.js.es6 */
//= require ./pipeline_head.js.es6
/*= require ./stage.js.es6 */
//= require ./stage.js.es6
/*= require ./stages.js.es6 */
//= require ./stages.js.es6
/*= require ./pipeline_actions.js.es6 */
//= require ./pipeline_actions.js.es6
/*= require ./time_ago.js.es6 */
//= require ./time_ago.js.es6
/*= require ./pipelines.js.es6 */
//= require ./pipelines.js.es6
(() => {
(() => {
const project = document.querySelector('.pipelines');
const project = document.querySelector('.pipelines');
...
@@ -24,7 +20,7 @@
...
@@ -24,7 +20,7 @@
Vue.use(VueResource);
Vue.use(VueResource);
if (
entry) {
if (
!entry) return null;
return new Vue({
return new Vue({
el: entry,
el: entry,
data: {
data: {
...
@@ -44,7 +40,4 @@
...
@@ -44,7 +40,4 @@
</vue-pipelines>
</vue-pipelines>
`,
`,
});
});
}
return null;
})();
})();
app/assets/javascripts/vue_pipelines_index/store.js.es6
View file @
6bf0bd0f
/* global gl, Flash */
/* global gl, Flash */
/* eslint-disable no-param-reassign, no-underscore-dangle */
/* eslint-disable no-param-reassign, no-underscore-dangle */
/*= require vue_realtime_listener/index.js */
/*= require vue_realtime_listener/index.js */
((gl) => {
((gl) => {
...
...
app/assets/javascripts/vue_pipelines_index/time_ago.js.es6
View file @
6bf0bd0f
/* global Vue, gl */
/* global Vue, gl */
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
((gl) => {
((gl) => {
gl.VueTimeAgo = Vue.extend({
gl.VueTimeAgo = Vue.extend({
data() {
data() {
...
...
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