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
d97b9622
Commit
d97b9622
authored
Feb 05, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use webpack to require files
parent
2e5e4bd7
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
28 additions
and
32 deletions
+28
-32
app/assets/javascripts/vue_pipelines_index/index.js.es6
app/assets/javascripts/vue_pipelines_index/index.js.es6
+0
-2
app/assets/javascripts/vue_pipelines_index/pipelines.js.es6
app/assets/javascripts/vue_pipelines_index/pipelines.js.es6
+4
-3
app/assets/javascripts/vue_pipelines_index/time_ago.js.es6
app/assets/javascripts/vue_pipelines_index/time_ago.js.es6
+2
-1
app/assets/javascripts/vue_shared/components/pipelines_table.js.es6
.../javascripts/vue_shared/components/pipelines_table.js.es6
+2
-2
app/assets/javascripts/vue_shared/components/pipelines_table_row.js.es6
...ascripts/vue_shared/components/pipelines_table_row.js.es6
+7
-7
spec/javascripts/commit/pipelines/pipelines_spec.js.es6
spec/javascripts/commit/pipelines/pipelines_spec.js.es6
+7
-8
spec/javascripts/commit/pipelines/pipelines_store_spec.js.es6
.../javascripts/commit/pipelines/pipelines_store_spec.js.es6
+1
-2
spec/javascripts/vue_shared/components/pipelines_table_row_spec.js.es6
...pts/vue_shared/components/pipelines_table_row_spec.js.es6
+2
-3
spec/javascripts/vue_shared/components/pipelines_table_spec.js.es6
...scripts/vue_shared/components/pipelines_table_spec.js.es6
+3
-4
No files found.
app/assets/javascripts/vue_pipelines_index/index.js.es6
View file @
d97b9622
...
...
@@ -6,8 +6,6 @@ require('../vue_shared/vue_resource_interceptor');
require('./pipelines');
$(() => {
Vue.use(VueResource);
return new Vue({
el: document.querySelector('.vue-pipelines-index'),
...
...
app/assets/javascripts/vue_pipelines_index/pipelines.js.es6
View file @
d97b9622
/* global Vue, gl */
/* eslint-disable no-param-reassign */
//= require vue_shared/components/table_pagination
//= require ./store.js.es6
//= require vue_shared/components/pipelines_table
window.Vue = require('vue');
require('../vue_shared/components/table_pagination');
require('./store');
require('../vue_shared/components/pipelines_table');
((gl) => {
gl.VuePipelines = Vue.extend({
...
...
app/assets/javascripts/vue_pipelines_index/time_ago.js.es6
View file @
d97b9622
/* global Vue, gl */
/* eslint-disable no-param-reassign */
//= require lib/utils/datetime_utility
window.Vue = require('vue');
require('../lib/utils/datetime_utility');
((gl) => {
gl.VueTimeAgo = Vue.extend({
...
...
app/assets/javascripts/vue_shared/components/pipelines_table.js.es6
View file @
d97b9622
/* eslint-disable no-param-reassign */
/* global Vue */
//= require ./pipelines_table_row
window.Vue = require('vue');
require('./pipelines_table_row');
/**
* Pipelines Table Component.
*
...
...
app/assets/javascripts/vue_shared/components/pipelines_table_row.js.es6
View file @
d97b9622
/* eslint-disable no-param-reassign */
/* global Vue */
//= require vue_pipelines_index/status
//= require vue_pipelines_index/pipeline_url
//= require vue_pipelines_index/stage
//= require vue_shared/components/commit
//= require vue_pipelines_index/pipeline_actions
//= require vue_pipelines_index/time_ago
window.Vue = require('vue');
require('../../vue_pipelines_index/status');
require('../../vue_pipelines_index/pipeline_url');
require('../../vue_pipelines_index/stage');
require('../../vue_pipelines_index/pipeline_actions');
require('../../vue_pipelines_index/time_ago');
require('./commit');
/**
* Pipeline table row.
*
...
...
spec/javascripts/commit/pipelines/pipelines_spec.js.es6
View file @
d97b9622
/* global pipeline, Vue */
//= require vue
//= require vue-resource
//= require flash
//= require commit/pipelines/pipelines_store
//= require commit/pipelines/pipelines_service
//= require commit/pipelines/pipelines_table
//= require vue_shared/vue_resource_interceptor
//= require ./mock_data
require('vue-resource');
require('flash');
require('~/commit/pipelines/pipelines_store');
require('~/commit/pipelines/pipelines_service');
require('~/commit/pipelines/pipelines_table');
require('~vue_shared/vue_resource_interceptor');
require('./mock_data');
describe('Pipelines table in Commits and Merge requests', () => {
preloadFixtures('pipelines_table');
...
...
spec/javascripts/commit/pipelines/pipelines_store_spec.js.es6
View file @
d97b9622
//= require vue
//= require commit/pipelines/pipelines_store
require('~commit/pipelines/pipelines_store');
describe('Store', () => {
const store = gl.commits.pipelines.PipelinesStore;
...
...
spec/javascripts/vue_shared/components/pipelines_table_row_spec.js.es6
View file @
d97b9622
/* global pipeline */
//= require vue
//= require vue_shared/components/pipelines_table_row
//= require commit/pipelines/mock_data
require('~vue_shared/components/pipelines_table_row');
require('./mock_data');
describe('Pipelines Table Row', () => {
let component;
...
...
spec/javascripts/vue_shared/components/pipelines_table_spec.js.es6
View file @
d97b9622
/* global pipeline */
//= require vue
//= require vue_shared/components/pipelines_table
//= require commit/pipelines/mock_data
//= require lib/utils/datetime_utility
require('~vue_shared/components/pipelines_table');
require('~lib/utils/datetime_utility');
require('./mock_data');
describe('Pipelines Table', () => {
preloadFixtures('static/environments/element.html.raw');
...
...
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