Skip to content
Snippets Groups Projects
Commit d9dedc36 authored by Mike Greiling's avatar Mike Greiling
Browse files

remove Vue from the global space

parent 2cdfbbfc
No related branches found
No related tags found
No related merge requests found
Showing
with 39 additions and 22 deletions
/* eslint-disable one-var, quote-props, comma-dangle, space-before-function-paren */
/* global Vue */
/* global BoardService */
 
import Vue from 'vue';
import VueResource from 'vue-resource';
import FilteredSearchBoards from './filtered_search_boards';
import eventHub from './eventhub';
 
window.Vue = require('vue');
window.Vue.use(require('vue-resource'));
require('./models/issue');
require('./models/label');
require('./models/list');
Loading
Loading
@@ -24,6 +23,8 @@ require('./components/new_list_dropdown');
require('./components/modal/index');
require('../vue_shared/vue_resource_interceptor');
 
Vue.use(VueResource);
$(() => {
const $boardApp = document.getElementById('board-app');
const Store = gl.issueBoards.BoardsStore;
Loading
Loading
/* eslint-disable comma-dangle, space-before-function-paren, one-var */
/* global Vue */
/* global Sortable */
 
import Vue from 'vue';
import boardBlankState from './board_blank_state';
 
require('./board_delete');
Loading
Loading
/* global Vue */
require('./issue_card_inner');
 
const Store = gl.issueBoards.BoardsStore;
Loading
Loading
/* eslint-disable comma-dangle, space-before-function-paren, no-alert */
/* global Vue */
import Vue from 'vue';
 
(() => {
window.gl = window.gl || {};
Loading
Loading
/* eslint-disable comma-dangle, space-before-function-paren, max-len */
/* global Vue */
/* global Sortable */
 
import Vue from 'vue';
import boardNewIssue from './board_new_issue';
import boardCard from './board_card';
 
Loading
Loading
/* eslint-disable comma-dangle, space-before-function-paren, no-new */
/* global Vue */
/* global IssuableContext */
/* global MilestoneSelect */
/* global LabelsSelect */
/* global Sidebar */
 
import Vue from 'vue';
require('./sidebar/remove_issue');
 
(() => {
Loading
Loading
/* global Vue */
import Vue from 'vue';
import eventHub from '../eventhub';
 
(() => {
Loading
Loading
/* global Vue */
import Vue from 'vue';
(() => {
const ModalStore = gl.issueBoards.ModalStore;
 
Loading
Loading
/* eslint-disable no-new */
/* global Vue */
/* global Flash */
 
import Vue from 'vue';
require('./lists_dropdown');
 
(() => {
Loading
Loading
/* global Vue */
/* global ListIssue */
import queryData from '../../utils/query_data';
 
import Vue from 'vue';
require('./header');
require('./list');
require('./footer');
Loading
Loading
/* global Vue */
/* global ListIssue */
/* global bp */
import Vue from 'vue';
(() => {
const ModalStore = gl.issueBoards.ModalStore;
 
Loading
Loading
/* global Vue */
import Vue from 'vue';
(() => {
const ModalStore = gl.issueBoards.ModalStore;
 
Loading
Loading
/* global Vue */
import Vue from 'vue';
(() => {
const ModalStore = gl.issueBoards.ModalStore;
 
Loading
Loading
/* eslint-disable no-new */
/* global Vue */
/* global Flash */
import Vue from 'vue';
(() => {
const Store = gl.issueBoards.BoardsStore;
 
Loading
Loading
/* global Vue */
/* global dateFormat */
 
import Vue from 'vue';
Vue.filter('due-date', (value) => {
const date = new Date(value);
return dateFormat(date, 'mmm d, yyyy', true);
Loading
Loading
/* eslint-disable no-unused-vars, space-before-function-paren, arrow-body-style, arrow-parens, comma-dangle, max-len */
/* global Vue */
/* global ListLabel */
/* global ListMilestone */
/* global ListUser */
 
import Vue from 'vue';
class ListIssue {
constructor (obj) {
this.globalId = obj.id;
Loading
Loading
/* eslint-disable space-before-function-paren, comma-dangle, no-param-reassign, camelcase, max-len, no-unused-vars */
/* global Vue */
import Vue from 'vue';
 
class BoardService {
constructor (root, bulkUpdatePath, boardId) {
Loading
Loading
/* eslint-disable no-param-reassign */
/* global Vue */
import Vue from 'vue';
 
((global) => {
global.cycleAnalytics = global.cycleAnalytics || {};
Loading
Loading
/* eslint-disable no-param-reassign */
/* global Vue */
import Vue from 'vue';
 
((global) => {
global.cycleAnalytics = global.cycleAnalytics || {};
Loading
Loading
/* eslint-disable no-param-reassign */
/* global Vue */
import Vue from 'vue';
 
((global) => {
global.cycleAnalytics = global.cycleAnalytics || {};
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment