BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
28 additions
and
32 deletions
+28
-32
index.js.es6
app/assets/javascripts/vue_pipelines_index/index.js.es6
+0
-2
pipelines.js.es6
app/assets/javascripts/vue_pipelines_index/pipelines.js.es6
+4
-3
time_ago.js.es6
app/assets/javascripts/vue_pipelines_index/time_ago.js.es6
+2
-1
pipelines_table.js.es6
.../javascripts/vue_shared/components/pipelines_table.js.es6
+2
-2
pipelines_table_row.js.es6
...ascripts/vue_shared/components/pipelines_table_row.js.es6
+7
-7
pipelines_spec.js.es6
spec/javascripts/commit/pipelines/pipelines_spec.js.es6
+7
-8
pipelines_store_spec.js.es6
.../javascripts/commit/pipelines/pipelines_store_spec.js.es6
+1
-2
pipelines_table_row_spec.js.es6
...pts/vue_shared/components/pipelines_table_row_spec.js.es6
+2
-3
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