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
d9dedc36
Commit
d9dedc36
authored
Mar 17, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove Vue from the global space
parent
2cdfbbfc
Changes
58
Hide whitespace changes
Inline
Side-by-side
Showing
58 changed files
with
114 additions
and
69 deletions
+114
-69
app/assets/javascripts/boards/boards_bundle.js
app/assets/javascripts/boards/boards_bundle.js
+4
-3
app/assets/javascripts/boards/components/board.js
app/assets/javascripts/boards/components/board.js
+1
-1
app/assets/javascripts/boards/components/board_card.js
app/assets/javascripts/boards/components/board_card.js
+0
-1
app/assets/javascripts/boards/components/board_delete.js
app/assets/javascripts/boards/components/board_delete.js
+2
-1
app/assets/javascripts/boards/components/board_list.js
app/assets/javascripts/boards/components/board_list.js
+1
-1
app/assets/javascripts/boards/components/board_sidebar.js
app/assets/javascripts/boards/components/board_sidebar.js
+2
-1
app/assets/javascripts/boards/components/issue_card_inner.js
app/assets/javascripts/boards/components/issue_card_inner.js
+1
-1
app/assets/javascripts/boards/components/modal/empty_state.js
...assets/javascripts/boards/components/modal/empty_state.js
+2
-1
app/assets/javascripts/boards/components/modal/footer.js
app/assets/javascripts/boards/components/modal/footer.js
+2
-1
app/assets/javascripts/boards/components/modal/index.js
app/assets/javascripts/boards/components/modal/index.js
+2
-1
app/assets/javascripts/boards/components/modal/list.js
app/assets/javascripts/boards/components/modal/list.js
+3
-1
app/assets/javascripts/boards/components/modal/lists_dropdown.js
...ets/javascripts/boards/components/modal/lists_dropdown.js
+2
-1
app/assets/javascripts/boards/components/modal/tabs.js
app/assets/javascripts/boards/components/modal/tabs.js
+2
-1
app/assets/javascripts/boards/components/sidebar/remove_issue.js
...ets/javascripts/boards/components/sidebar/remove_issue.js
+3
-1
app/assets/javascripts/boards/filters/due_date_filters.js
app/assets/javascripts/boards/filters/due_date_filters.js
+2
-1
app/assets/javascripts/boards/models/issue.js
app/assets/javascripts/boards/models/issue.js
+2
-1
app/assets/javascripts/boards/services/board_service.js
app/assets/javascripts/boards/services/board_service.js
+2
-1
app/assets/javascripts/cycle_analytics/components/stage_code_component.js
...cripts/cycle_analytics/components/stage_code_component.js
+2
-1
app/assets/javascripts/cycle_analytics/components/stage_issue_component.js
...ripts/cycle_analytics/components/stage_issue_component.js
+2
-1
app/assets/javascripts/cycle_analytics/components/stage_production_component.js
.../cycle_analytics/components/stage_production_component.js
+2
-1
app/assets/javascripts/cycle_analytics/components/stage_review_component.js
...ipts/cycle_analytics/components/stage_review_component.js
+2
-1
app/assets/javascripts/cycle_analytics/components/total_time_component.js
...cripts/cycle_analytics/components/total_time_component.js
+2
-1
app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js
...ets/javascripts/cycle_analytics/cycle_analytics_bundle.js
+2
-2
app/assets/javascripts/diff_notes/components/comment_resolve_btn.js
.../javascripts/diff_notes/components/comment_resolve_btn.js
+2
-1
app/assets/javascripts/diff_notes/components/jump_to_discussion.js
...s/javascripts/diff_notes/components/jump_to_discussion.js
+2
-1
app/assets/javascripts/diff_notes/components/new_issue_for_discussion.js
...scripts/diff_notes/components/new_issue_for_discussion.js
+2
-1
app/assets/javascripts/diff_notes/components/resolve_btn.js
app/assets/javascripts/diff_notes/components/resolve_btn.js
+2
-1
app/assets/javascripts/diff_notes/components/resolve_count.js
...assets/javascripts/diff_notes/components/resolve_count.js
+2
-1
app/assets/javascripts/diff_notes/components/resolve_discussion_btn.js
...vascripts/diff_notes/components/resolve_discussion_btn.js
+1
-1
app/assets/javascripts/diff_notes/diff_notes_bundle.js
app/assets/javascripts/diff_notes/diff_notes_bundle.js
+2
-2
app/assets/javascripts/diff_notes/models/discussion.js
app/assets/javascripts/diff_notes/models/discussion.js
+2
-1
app/assets/javascripts/diff_notes/services/resolve.js
app/assets/javascripts/diff_notes/services/resolve.js
+5
-2
app/assets/javascripts/diff_notes/stores/comments.js
app/assets/javascripts/diff_notes/stores/comments.js
+2
-1
app/assets/javascripts/issuable/time_tracking/components/collapsed_state.js
...ipts/issuable/time_tracking/components/collapsed_state.js
+1
-1
app/assets/javascripts/issuable/time_tracking/components/comparison_pane.js
...ipts/issuable/time_tracking/components/comparison_pane.js
+2
-1
app/assets/javascripts/issuable/time_tracking/components/estimate_only_pane.js
...s/issuable/time_tracking/components/estimate_only_pane.js
+2
-1
app/assets/javascripts/issuable/time_tracking/components/help_state.js
...vascripts/issuable/time_tracking/components/help_state.js
+2
-1
app/assets/javascripts/issuable/time_tracking/components/no_tracking_pane.js
...pts/issuable/time_tracking/components/no_tracking_pane.js
+2
-1
app/assets/javascripts/issuable/time_tracking/components/spent_only_pane.js
...ipts/issuable/time_tracking/components/spent_only_pane.js
+2
-1
app/assets/javascripts/issuable/time_tracking/components/time_tracker.js
...scripts/issuable/time_tracking/components/time_tracker.js
+1
-1
app/assets/javascripts/issuable/time_tracking/time_tracking_bundle.js
...avascripts/issuable/time_tracking/time_tracking_bundle.js
+4
-3
app/assets/javascripts/merge_conflicts/components/diff_file_editor.js
...avascripts/merge_conflicts/components/diff_file_editor.js
+2
-1
app/assets/javascripts/merge_conflicts/components/inline_conflict_lines.js
...ripts/merge_conflicts/components/inline_conflict_lines.js
+2
-1
app/assets/javascripts/merge_conflicts/components/parallel_conflict_lines.js
...pts/merge_conflicts/components/parallel_conflict_lines.js
+2
-1
app/assets/javascripts/merge_conflicts/merge_conflict_store.js
...ssets/javascripts/merge_conflicts/merge_conflict_store.js
+2
-1
app/assets/javascripts/merge_conflicts/merge_conflicts_bundle.js
...ets/javascripts/merge_conflicts/merge_conflicts_bundle.js
+2
-2
app/assets/javascripts/milestone_select.js
app/assets/javascripts/milestone_select.js
+2
-1
app/assets/javascripts/render_gfm.js
app/assets/javascripts/render_gfm.js
+2
-1
app/assets/javascripts/render_math.js
app/assets/javascripts/render_math.js
+3
-1
app/assets/javascripts/subscription.js
app/assets/javascripts/subscription.js
+1
-1
app/assets/javascripts/users_select.js
app/assets/javascripts/users_select.js
+2
-1
spec/javascripts/boards/board_card_spec.js
spec/javascripts/boards/board_card_spec.js
+2
-1
spec/javascripts/boards/boards_store_spec.js
spec/javascripts/boards/boards_store_spec.js
+2
-1
spec/javascripts/boards/issue_card_spec.js
spec/javascripts/boards/issue_card_spec.js
+2
-1
spec/javascripts/boards/list_spec.js
spec/javascripts/boards/list_spec.js
+2
-1
spec/javascripts/boards/modal_store_spec.js
spec/javascripts/boards/modal_store_spec.js
+0
-1
spec/javascripts/issuable_time_tracker_spec.js
spec/javascripts/issuable_time_tracker_spec.js
+3
-3
spec/javascripts/test_bundle.js
spec/javascripts/test_bundle.js
+0
-2
No files found.
app/assets/javascripts/boards/boards_bundle.js
View file @
d9dedc36
/* eslint-disable one-var, quote-props, comma-dangle, space-before-function-paren */
/* eslint-disable one-var, quote-props, comma-dangle, space-before-function-paren */
/* global Vue */
/* global BoardService */
/* global BoardService */
import
Vue
from
'
vue
'
;
import
VueResource
from
'
vue-resource
'
;
import
FilteredSearchBoards
from
'
./filtered_search_boards
'
;
import
FilteredSearchBoards
from
'
./filtered_search_boards
'
;
import
eventHub
from
'
./eventhub
'
;
import
eventHub
from
'
./eventhub
'
;
window
.
Vue
=
require
(
'
vue
'
);
window
.
Vue
.
use
(
require
(
'
vue-resource
'
));
require
(
'
./models/issue
'
);
require
(
'
./models/issue
'
);
require
(
'
./models/label
'
);
require
(
'
./models/label
'
);
require
(
'
./models/list
'
);
require
(
'
./models/list
'
);
...
@@ -24,6 +23,8 @@ require('./components/new_list_dropdown');
...
@@ -24,6 +23,8 @@ require('./components/new_list_dropdown');
require
(
'
./components/modal/index
'
);
require
(
'
./components/modal/index
'
);
require
(
'
../vue_shared/vue_resource_interceptor
'
);
require
(
'
../vue_shared/vue_resource_interceptor
'
);
Vue
.
use
(
VueResource
);
$
(()
=>
{
$
(()
=>
{
const
$boardApp
=
document
.
getElementById
(
'
board-app
'
);
const
$boardApp
=
document
.
getElementById
(
'
board-app
'
);
const
Store
=
gl
.
issueBoards
.
BoardsStore
;
const
Store
=
gl
.
issueBoards
.
BoardsStore
;
...
...
app/assets/javascripts/boards/components/board.js
View file @
d9dedc36
/* eslint-disable comma-dangle, space-before-function-paren, one-var */
/* eslint-disable comma-dangle, space-before-function-paren, one-var */
/* global Vue */
/* global Sortable */
/* global Sortable */
import
Vue
from
'
vue
'
;
import
boardBlankState
from
'
./board_blank_state
'
;
import
boardBlankState
from
'
./board_blank_state
'
;
require
(
'
./board_delete
'
);
require
(
'
./board_delete
'
);
...
...
app/assets/javascripts/boards/components/board_card.js
View file @
d9dedc36
/* global Vue */
require
(
'
./issue_card_inner
'
);
require
(
'
./issue_card_inner
'
);
const
Store
=
gl
.
issueBoards
.
BoardsStore
;
const
Store
=
gl
.
issueBoards
.
BoardsStore
;
...
...
app/assets/javascripts/boards/components/board_delete.js
View file @
d9dedc36
/* eslint-disable comma-dangle, space-before-function-paren, no-alert */
/* eslint-disable comma-dangle, space-before-function-paren, no-alert */
/* global Vue */
import
Vue
from
'
vue
'
;
(()
=>
{
(()
=>
{
window
.
gl
=
window
.
gl
||
{};
window
.
gl
=
window
.
gl
||
{};
...
...
app/assets/javascripts/boards/components/board_list.js
View file @
d9dedc36
/* eslint-disable comma-dangle, space-before-function-paren, max-len */
/* eslint-disable comma-dangle, space-before-function-paren, max-len */
/* global Vue */
/* global Sortable */
/* global Sortable */
import
Vue
from
'
vue
'
;
import
boardNewIssue
from
'
./board_new_issue
'
;
import
boardNewIssue
from
'
./board_new_issue
'
;
import
boardCard
from
'
./board_card
'
;
import
boardCard
from
'
./board_card
'
;
...
...
app/assets/javascripts/boards/components/board_sidebar.js
View file @
d9dedc36
/* eslint-disable comma-dangle, space-before-function-paren, no-new */
/* eslint-disable comma-dangle, space-before-function-paren, no-new */
/* global Vue */
/* global IssuableContext */
/* global IssuableContext */
/* global MilestoneSelect */
/* global MilestoneSelect */
/* global LabelsSelect */
/* global LabelsSelect */
/* global Sidebar */
/* global Sidebar */
import
Vue
from
'
vue
'
;
require
(
'
./sidebar/remove_issue
'
);
require
(
'
./sidebar/remove_issue
'
);
(()
=>
{
(()
=>
{
...
...
app/assets/javascripts/boards/components/issue_card_inner.js
View file @
d9dedc36
/* global Vue */
import
Vue
from
'
vue
'
;
import
eventHub
from
'
../eventhub
'
;
import
eventHub
from
'
../eventhub
'
;
(()
=>
{
(()
=>
{
...
...
app/assets/javascripts/boards/components/modal/empty_state.js
View file @
d9dedc36
/* global Vue */
import
Vue
from
'
vue
'
;
(()
=>
{
(()
=>
{
const
ModalStore
=
gl
.
issueBoards
.
ModalStore
;
const
ModalStore
=
gl
.
issueBoards
.
ModalStore
;
...
...
app/assets/javascripts/boards/components/modal/footer.js
View file @
d9dedc36
/* eslint-disable no-new */
/* eslint-disable no-new */
/* global Vue */
/* global Flash */
/* global Flash */
import
Vue
from
'
vue
'
;
require
(
'
./lists_dropdown
'
);
require
(
'
./lists_dropdown
'
);
(()
=>
{
(()
=>
{
...
...
app/assets/javascripts/boards/components/modal/index.js
View file @
d9dedc36
/* global Vue */
/* global ListIssue */
/* global ListIssue */
import
queryData
from
'
../../utils/query_data
'
;
import
queryData
from
'
../../utils/query_data
'
;
import
Vue
from
'
vue
'
;
require
(
'
./header
'
);
require
(
'
./header
'
);
require
(
'
./list
'
);
require
(
'
./list
'
);
require
(
'
./footer
'
);
require
(
'
./footer
'
);
...
...
app/assets/javascripts/boards/components/modal/list.js
View file @
d9dedc36
/* global Vue */
/* global ListIssue */
/* global ListIssue */
/* global bp */
/* global bp */
import
Vue
from
'
vue
'
;
(()
=>
{
(()
=>
{
const
ModalStore
=
gl
.
issueBoards
.
ModalStore
;
const
ModalStore
=
gl
.
issueBoards
.
ModalStore
;
...
...
app/assets/javascripts/boards/components/modal/lists_dropdown.js
View file @
d9dedc36
/* global Vue */
import
Vue
from
'
vue
'
;
(()
=>
{
(()
=>
{
const
ModalStore
=
gl
.
issueBoards
.
ModalStore
;
const
ModalStore
=
gl
.
issueBoards
.
ModalStore
;
...
...
app/assets/javascripts/boards/components/modal/tabs.js
View file @
d9dedc36
/* global Vue */
import
Vue
from
'
vue
'
;
(()
=>
{
(()
=>
{
const
ModalStore
=
gl
.
issueBoards
.
ModalStore
;
const
ModalStore
=
gl
.
issueBoards
.
ModalStore
;
...
...
app/assets/javascripts/boards/components/sidebar/remove_issue.js
View file @
d9dedc36
/* eslint-disable no-new */
/* eslint-disable no-new */
/* global Vue */
/* global Flash */
/* global Flash */
import
Vue
from
'
vue
'
;
(()
=>
{
(()
=>
{
const
Store
=
gl
.
issueBoards
.
BoardsStore
;
const
Store
=
gl
.
issueBoards
.
BoardsStore
;
...
...
app/assets/javascripts/boards/filters/due_date_filters.js
View file @
d9dedc36
/* global Vue */
/* global dateFormat */
/* global dateFormat */
import
Vue
from
'
vue
'
;
Vue
.
filter
(
'
due-date
'
,
(
value
)
=>
{
Vue
.
filter
(
'
due-date
'
,
(
value
)
=>
{
const
date
=
new
Date
(
value
);
const
date
=
new
Date
(
value
);
return
dateFormat
(
date
,
'
mmm d, yyyy
'
,
true
);
return
dateFormat
(
date
,
'
mmm d, yyyy
'
,
true
);
...
...
app/assets/javascripts/boards/models/issue.js
View file @
d9dedc36
/* eslint-disable no-unused-vars, space-before-function-paren, arrow-body-style, arrow-parens, comma-dangle, max-len */
/* eslint-disable no-unused-vars, space-before-function-paren, arrow-body-style, arrow-parens, comma-dangle, max-len */
/* global Vue */
/* global ListLabel */
/* global ListLabel */
/* global ListMilestone */
/* global ListMilestone */
/* global ListUser */
/* global ListUser */
import
Vue
from
'
vue
'
;
class
ListIssue
{
class
ListIssue
{
constructor
(
obj
)
{
constructor
(
obj
)
{
this
.
globalId
=
obj
.
id
;
this
.
globalId
=
obj
.
id
;
...
...
app/assets/javascripts/boards/services/board_service.js
View file @
d9dedc36
/* eslint-disable space-before-function-paren, comma-dangle, no-param-reassign, camelcase, max-len, no-unused-vars */
/* 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
{
class
BoardService
{
constructor
(
root
,
bulkUpdatePath
,
boardId
)
{
constructor
(
root
,
bulkUpdatePath
,
boardId
)
{
...
...
app/assets/javascripts/cycle_analytics/components/stage_code_component.js
View file @
d9dedc36
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
/* global Vue */
import
Vue
from
'
vue
'
;
((
global
)
=>
{
((
global
)
=>
{
global
.
cycleAnalytics
=
global
.
cycleAnalytics
||
{};
global
.
cycleAnalytics
=
global
.
cycleAnalytics
||
{};
...
...
app/assets/javascripts/cycle_analytics/components/stage_issue_component.js
View file @
d9dedc36
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
/* global Vue */
import
Vue
from
'
vue
'
;
((
global
)
=>
{
((
global
)
=>
{
global
.
cycleAnalytics
=
global
.
cycleAnalytics
||
{};
global
.
cycleAnalytics
=
global
.
cycleAnalytics
||
{};
...
...
app/assets/javascripts/cycle_analytics/components/stage_production_component.js
View file @
d9dedc36
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
/* global Vue */
import
Vue
from
'
vue
'
;
((
global
)
=>
{
((
global
)
=>
{
global
.
cycleAnalytics
=
global
.
cycleAnalytics
||
{};
global
.
cycleAnalytics
=
global
.
cycleAnalytics
||
{};
...
...
app/assets/javascripts/cycle_analytics/components/stage_review_component.js
View file @
d9dedc36
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
/* global Vue */
import
Vue
from
'
vue
'
;
((
global
)
=>
{
((
global
)
=>
{
global
.
cycleAnalytics
=
global
.
cycleAnalytics
||
{};
global
.
cycleAnalytics
=
global
.
cycleAnalytics
||
{};
...
...
app/assets/javascripts/cycle_analytics/components/total_time_component.js
View file @
d9dedc36
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
/* global Vue */
import
Vue
from
'
vue
'
;
((
global
)
=>
{
((
global
)
=>
{
global
.
cycleAnalytics
=
global
.
cycleAnalytics
||
{};
global
.
cycleAnalytics
=
global
.
cycleAnalytics
||
{};
...
...
app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js
View file @
d9dedc36
/* global Vue */
/* global Cookies */
/* global Cookies */
/* global Flash */
/* global Flash */
window
.
Vue
=
require
(
'
vue
'
);
import
Vue
from
'
vue
'
;
window
.
Cookies
=
require
(
'
js-cookie
'
);
window
.
Cookies
=
require
(
'
js-cookie
'
);
require
(
'
./components/stage_code_component
'
);
require
(
'
./components/stage_code_component
'
);
require
(
'
./components/stage_issue_component
'
);
require
(
'
./components/stage_issue_component
'
);
...
...
app/assets/javascripts/diff_notes/components/comment_resolve_btn.js
View file @
d9dedc36
/* eslint-disable comma-dangle, object-shorthand, func-names, no-else-return, quotes, no-lonely-if, max-len */
/* eslint-disable comma-dangle, object-shorthand, func-names, no-else-return, quotes, no-lonely-if, max-len */
/* global CommentsStore */
/* global CommentsStore */
const
Vue
=
require
(
'
vue
'
);
import
Vue
from
'
vue
'
;
(()
=>
{
(()
=>
{
const
CommentAndResolveBtn
=
Vue
.
extend
({
const
CommentAndResolveBtn
=
Vue
.
extend
({
...
...
app/assets/javascripts/diff_notes/components/jump_to_discussion.js
View file @
d9dedc36
/* eslint-disable comma-dangle, object-shorthand, func-names, no-else-return, guard-for-in, no-restricted-syntax, one-var, space-before-function-paren, no-lonely-if, no-continue, brace-style, max-len, quotes */
/* eslint-disable comma-dangle, object-shorthand, func-names, no-else-return, guard-for-in, no-restricted-syntax, one-var, space-before-function-paren, no-lonely-if, no-continue, brace-style, max-len, quotes */
/* global DiscussionMixins */
/* global DiscussionMixins */
/* global CommentsStore */
/* global CommentsStore */
const
Vue
=
require
(
'
vue
'
);
import
Vue
from
'
vue
'
;
(()
=>
{
(()
=>
{
const
JumpToDiscussion
=
Vue
.
extend
({
const
JumpToDiscussion
=
Vue
.
extend
({
...
...
app/assets/javascripts/diff_notes/components/new_issue_for_discussion.js
View file @
d9dedc36
/* global Vue */
/* global CommentsStore */
/* global CommentsStore */
import
Vue
from
'
vue
'
;
(()
=>
{
(()
=>
{
const
NewIssueForDiscussion
=
Vue
.
extend
({
const
NewIssueForDiscussion
=
Vue
.
extend
({
props
:
{
props
:
{
...
...
app/assets/javascripts/diff_notes/components/resolve_btn.js
View file @
d9dedc36
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
/* global CommentsStore */
/* global CommentsStore */
/* global ResolveService */
/* global ResolveService */
/* global Flash */
/* global Flash */
const
Vue
=
require
(
'
vue
'
);
import
Vue
from
'
vue
'
;
(()
=>
{
(()
=>
{
const
ResolveBtn
=
Vue
.
extend
({
const
ResolveBtn
=
Vue
.
extend
({
...
...
app/assets/javascripts/diff_notes/components/resolve_count.js
View file @
d9dedc36
/* eslint-disable comma-dangle, object-shorthand, func-names, no-param-reassign */
/* eslint-disable comma-dangle, object-shorthand, func-names, no-param-reassign */
/* global DiscussionMixins */
/* global DiscussionMixins */
/* global CommentsStore */
/* global CommentsStore */
const
Vue
=
require
(
'
vue
'
);
import
Vue
from
'
vue
'
;
((
w
)
=>
{
((
w
)
=>
{
w
.
ResolveCount
=
Vue
.
extend
({
w
.
ResolveCount
=
Vue
.
extend
({
...
...
app/assets/javascripts/diff_notes/components/resolve_discussion_btn.js
View file @
d9dedc36
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
/* global CommentsStore */
/* global CommentsStore */
/* global ResolveService */
/* global ResolveService */
const
Vue
=
require
(
'
vue
'
)
;
import
Vue
from
'
vue
'
;
(()
=>
{
(()
=>
{
const
ResolveDiscussionBtn
=
Vue
.
extend
({
const
ResolveDiscussionBtn
=
Vue
.
extend
({
...
...
app/assets/javascripts/diff_notes/diff_notes_bundle.js
View file @
d9dedc36
/* eslint-disable func-names, comma-dangle, new-cap, no-new, max-len */
/* eslint-disable func-names, comma-dangle, new-cap, no-new, max-len */
/* global Vue */
/* global ResolveCount */
/* global ResolveCount */
const
Vue
=
require
(
'
vue
'
);
import
Vue
from
'
vue
'
;
require
(
'
./models/discussion
'
);
require
(
'
./models/discussion
'
);
require
(
'
./models/note
'
);
require
(
'
./models/note
'
);
require
(
'
./stores/comments
'
);
require
(
'
./stores/comments
'
);
...
...
app/assets/javascripts/diff_notes/models/discussion.js
View file @
d9dedc36
/* eslint-disable space-before-function-paren, camelcase, guard-for-in, no-restricted-syntax, no-unused-vars, max-len */
/* eslint-disable space-before-function-paren, camelcase, guard-for-in, no-restricted-syntax, no-unused-vars, max-len */
/* global Vue */
/* global NoteModel */
/* global NoteModel */
import
Vue
from
'
vue
'
;
class
DiscussionModel
{
class
DiscussionModel
{
constructor
(
discussionId
)
{
constructor
(
discussionId
)
{
this
.
id
=
discussionId
;
this
.
id
=
discussionId
;
...
...
app/assets/javascripts/diff_notes/services/resolve.js
View file @
d9dedc36
...
@@ -2,10 +2,13 @@
...
@@ -2,10 +2,13 @@
/* global Flash */
/* global Flash */
/* global CommentsStore */
/* global CommentsStore */
const
Vue
=
window
.
Vue
=
require
(
'
vue
'
);
import
Vue
from
'
vue
'
;
window
.
Vue
.
use
(
require
(
'
vue-resource
'
));
import
VueResource
from
'
vue-resource
'
;
require
(
'
../../vue_shared/vue_resource_interceptor
'
);
require
(
'
../../vue_shared/vue_resource_interceptor
'
);
Vue
.
use
(
VueResource
);
(()
=>
{
(()
=>
{
window
.
gl
=
window
.
gl
||
{};
window
.
gl
=
window
.
gl
||
{};
...
...
app/assets/javascripts/diff_notes/stores/comments.js
View file @
d9dedc36
/* eslint-disable object-shorthand, func-names, camelcase, no-restricted-syntax, guard-for-in, comma-dangle, max-len, no-param-reassign */
/* eslint-disable object-shorthand, func-names, camelcase, no-restricted-syntax, guard-for-in, comma-dangle, max-len, no-param-reassign */
/* global Vue */
/* global DiscussionModel */
/* global DiscussionModel */
import
Vue
from
'
vue
'
;
((
w
)
=>
{
((
w
)
=>
{
w
.
CommentsStore
=
{
w
.
CommentsStore
=
{
state
:
{},
state
:
{},
...
...
app/assets/javascripts/issuable/time_tracking/components/collapsed_state.js
View file @
d9dedc36
/* global Vue */
import
Vue
from
'
vue
'
;
import
stopwatchSvg
from
'
icons/_icon_stopwatch.svg
'
;
import
stopwatchSvg
from
'
icons/_icon_stopwatch.svg
'
;
require
(
'
../../../lib/utils/pretty_time
'
);
require
(
'
../../../lib/utils/pretty_time
'
);
...
...
app/assets/javascripts/issuable/time_tracking/components/comparison_pane.js
View file @
d9dedc36
/* global Vue */
import
Vue
from
'
vue
'
;
require
(
'
../../../lib/utils/pretty_time
'
);
require
(
'
../../../lib/utils/pretty_time
'
);
(()
=>
{
(()
=>
{
...
...
app/assets/javascripts/issuable/time_tracking/components/estimate_only_pane.js
View file @
d9dedc36
/* global Vue */
import
Vue
from
'
vue
'
;
(()
=>
{
(()
=>
{
Vue
.
component
(
'
time-tracking-estimate-only-pane
'
,
{
Vue
.
component
(
'
time-tracking-estimate-only-pane
'
,
{
name
:
'
time-tracking-estimate-only-pane
'
,
name
:
'
time-tracking-estimate-only-pane
'
,
...
...
app/assets/javascripts/issuable/time_tracking/components/help_state.js
View file @
d9dedc36
/* global Vue */
import
Vue
from
'
vue
'
;
(()
=>
{
(()
=>
{
Vue
.
component
(
'
time-tracking-help-state
'
,
{
Vue
.
component
(
'
time-tracking-help-state
'
,
{
name
:
'
time-tracking-help-state
'
,
name
:
'
time-tracking-help-state
'
,
...
...
app/assets/javascripts/issuable/time_tracking/components/no_tracking_pane.js
View file @
d9dedc36
/* global Vue */
import
Vue
from
'
vue
'
;
(()
=>
{
(()
=>
{
Vue
.
component
(
'
time-tracking-no-tracking-pane
'
,
{
Vue
.
component
(
'
time-tracking-no-tracking-pane
'
,
{
name
:
'
time-tracking-no-tracking-pane
'
,
name
:
'
time-tracking-no-tracking-pane
'
,
...
...
app/assets/javascripts/issuable/time_tracking/components/spent_only_pane.js
View file @
d9dedc36
/* global Vue */
import
Vue
from
'
vue
'
;
(()
=>
{
(()
=>
{
Vue
.
component
(
'
time-tracking-spent-only-pane
'
,
{
Vue
.
component
(
'
time-tracking-spent-only-pane
'
,
{
name
:
'
time-tracking-spent-only-pane
'
,
name
:
'
time-tracking-spent-only-pane
'
,
...
...
app/assets/javascripts/issuable/time_tracking/components/time_tracker.js
View file @
d9dedc36
/* global Vue */
import
Vue
from
'
vue
'
;
require
(
'
./help_state
'
);
require
(
'
./help_state
'
);
require
(
'
./collapsed_state
'
);
require
(
'
./collapsed_state
'
);
...
...
app/assets/javascripts/issuable/time_tracking/time_tracking_bundle.js
View file @
d9dedc36
/* global Vue */
import
Vue
from
'
vue
'
;
import
VueResource
from
'
vue-resource
'
;
window
.
Vue
=
require
(
'
vue
'
);
window
.
Vue
.
use
(
require
(
'
vue-resource
'
));
require
(
'
./components/time_tracker
'
);
require
(
'
./components/time_tracker
'
);
require
(
'
../../smart_interval
'
);
require
(
'
../../smart_interval
'
);
require
(
'
../../subbable_resource
'
);
require
(
'
../../subbable_resource
'
);
Vue
.
use
(
VueResource
);
(()
=>
{
(()
=>
{
/* This Vue instance represents what will become the parent instance for the
/* This Vue instance represents what will become the parent instance for the
* sidebar. It will be responsible for managing `issuable` state and propagating
* sidebar. It will be responsible for managing `issuable` state and propagating
...
...
app/assets/javascripts/merge_conflicts/components/diff_file_editor.js
View file @
d9dedc36
/* eslint-disable comma-dangle, quote-props, no-useless-computed-key, object-shorthand, no-new, no-param-reassign, max-len */
/* eslint-disable comma-dangle, quote-props, no-useless-computed-key, object-shorthand, no-new, no-param-reassign, max-len */
/* global Vue */
/* global ace */
/* global ace */
/* global Flash */
/* global Flash */
import
Vue
from
'
vue
'
;
((
global
)
=>
{
((
global
)
=>
{
global
.
mergeConflicts
=
global
.
mergeConflicts
||
{};
global
.
mergeConflicts
=
global
.
mergeConflicts
||
{};
...
...
app/assets/javascripts/merge_conflicts/components/inline_conflict_lines.js
View file @
d9dedc36
/* eslint-disable no-param-reassign, comma-dangle */
/* eslint-disable no-param-reassign, comma-dangle */
/* global Vue */
import
Vue
from
'
vue
'
;
((
global
)
=>
{
((
global
)
=>
{
global
.
mergeConflicts
=
global
.
mergeConflicts
||
{};
global
.
mergeConflicts
=
global
.
mergeConflicts
||
{};
...
...
app/assets/javascripts/merge_conflicts/components/parallel_conflict_lines.js
View file @
d9dedc36
/* eslint-disable no-param-reassign, comma-dangle */
/* eslint-disable no-param-reassign, comma-dangle */
/* global Vue */
import
Vue
from
'
vue
'
;
((
global
)
=>
{
((
global
)
=>
{
global
.
mergeConflicts
=
global
.
mergeConflicts
||
{};
global
.
mergeConflicts
=
global
.
mergeConflicts
||
{};
...
...
app/assets/javascripts/merge_conflicts/merge_conflict_store.js
View file @
d9dedc36
/* eslint-disable comma-dangle, object-shorthand, no-param-reassign, camelcase, no-nested-ternary, no-continue, max-len */
/* eslint-disable comma-dangle, object-shorthand, no-param-reassign, camelcase, no-nested-ternary, no-continue, max-len */
/* global Cookies */
/* global Cookies */
/* global Vue */
import
Vue
from
'
vue
'
;
((
global
)
=>
{
((
global
)
=>
{
global
.
mergeConflicts
=
global
.
mergeConflicts
||
{};
global
.
mergeConflicts
=
global
.
mergeConflicts
||
{};
...
...
app/assets/javascripts/merge_conflicts/merge_conflicts_bundle.js
View file @
d9dedc36
/* eslint-disable new-cap, comma-dangle, no-new */
/* eslint-disable new-cap, comma-dangle, no-new */
/* global Vue */
/* global Flash */
/* global Flash */
window
.
Vue
=
require
(
'
vue
'
);
import
Vue
from
'
vue
'
;
require
(
'
./merge_conflict_store
'
);
require
(
'
./merge_conflict_store
'
);
require
(
'
./merge_conflict_service
'
);
require
(
'
./merge_conflict_service
'
);
require
(
'
./mixins/line_conflict_utils
'
);
require
(
'
./mixins/line_conflict_utils
'
);
...
...
app/assets/javascripts/milestone_select.js
View file @
d9dedc36
/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-var, no-underscore-dangle, prefer-arrow-callback, max-len, one-var, one-var-declaration-per-line, no-unused-vars, object-shorthand, comma-dangle, no-else-return, no-self-compare, consistent-return, no-param-reassign, no-shadow */
/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-var, no-underscore-dangle, prefer-arrow-callback, max-len, one-var, one-var-declaration-per-line, no-unused-vars, object-shorthand, comma-dangle, no-else-return, no-self-compare, consistent-return, no-param-reassign, no-shadow */
/* global Vue */
/* global Issuable */
/* global Issuable */
/* global ListMilestone */
/* global ListMilestone */
import
Vue
from
'
vue
'
;
(
function
()
{
(
function
()
{
this
.
MilestoneSelect
=
(
function
()
{
this
.
MilestoneSelect
=
(
function
()
{
function
MilestoneSelect
(
currentProject
,
els
)
{
function
MilestoneSelect
(
currentProject
,
els
)
{
...
...
app/assets/javascripts/render_gfm.js
View file @
d9dedc36
/* eslint-disable func-names, space-before-function-paren, consistent-return, no-var, no-undef, no-else-return, prefer-arrow-callback, max-len */
/* eslint-disable func-names, space-before-function-paren, consistent-return, no-var, no-else-return, prefer-arrow-callback, max-len */
// Render Gitlab flavoured Markdown
// Render Gitlab flavoured Markdown
//
//
// Delegates to syntax highlight and render math
// Delegates to syntax highlight and render math
...
...
app/assets/javascripts/render_math.js
View file @
d9dedc36
/* eslint-disable func-names, space-before-function-paren, consistent-return, no-var, no-undef, no-else-return, prefer-arrow-callback, max-len, no-console */
/* eslint-disable func-names, space-before-function-paren, consistent-return, no-var, no-else-return, prefer-arrow-callback, max-len, no-console */
/* global katex */
// Renders math using KaTeX in any element with the
// Renders math using KaTeX in any element with the
// `js-render-math` class
// `js-render-math` class
//
//
...
...
app/assets/javascripts/subscription.js
View file @
d9dedc36
/* global Vue */
import
Vue
from
'
vue
'
;
(()
=>
{
(()
=>
{
class
Subscription
{
class
Subscription
{
...
...
app/assets/javascripts/users_select.js
View file @
d9dedc36
/* eslint-disable func-names, space-before-function-paren, one-var, no-var, prefer-rest-params, wrap-iife, quotes, max-len, one-var-declaration-per-line, vars-on-top, prefer-arrow-callback, consistent-return, comma-dangle, object-shorthand, no-shadow, no-unused-vars, no-else-return, no-self-compare, prefer-template, no-unused-expressions, no-lonely-if, yoda, prefer-spread, no-void, camelcase, no-param-reassign */
/* eslint-disable func-names, space-before-function-paren, one-var, no-var, prefer-rest-params, wrap-iife, quotes, max-len, one-var-declaration-per-line, vars-on-top, prefer-arrow-callback, consistent-return, comma-dangle, object-shorthand, no-shadow, no-unused-vars, no-else-return, no-self-compare, prefer-template, no-unused-expressions, no-lonely-if, yoda, prefer-spread, no-void, camelcase, no-param-reassign */
/* global Vue */
/* global Issuable */
/* global Issuable */
/* global ListUser */
/* global ListUser */
import
Vue
from
'
vue
'
;
(
function
()
{
(
function
()
{
var
bind
=
function
(
fn
,
me
)
{
return
function
()
{
return
fn
.
apply
(
me
,
arguments
);
};
},
var
bind
=
function
(
fn
,
me
)
{
return
function
()
{
return
fn
.
apply
(
me
,
arguments
);
};
},
slice
=
[].
slice
;
slice
=
[].
slice
;
...
...
spec/javascripts/boards/board_card_spec.js
View file @
d9dedc36
/* global Vue */
/* global List */
/* global List */
/* global ListLabel */
/* global ListLabel */
/* global listObj */
/* global listObj */
/* global boardsMockInterceptor */
/* global boardsMockInterceptor */
/* global BoardService */
/* global BoardService */
import
Vue
from
'
vue
'
;
require
(
'
~/boards/models/list
'
);
require
(
'
~/boards/models/list
'
);
require
(
'
~/boards/models/label
'
);
require
(
'
~/boards/models/label
'
);
require
(
'
~/boards/stores/boards_store
'
);
require
(
'
~/boards/stores/boards_store
'
);
...
...
spec/javascripts/boards/boards_store_spec.js
View file @
d9dedc36
/* eslint-disable comma-dangle, one-var, no-unused-vars */
/* eslint-disable comma-dangle, one-var, no-unused-vars */
/* global Vue */
/* global BoardService */
/* global BoardService */
/* global boardsMockInterceptor */
/* global boardsMockInterceptor */
/* global Cookies */
/* global Cookies */
...
@@ -7,6 +6,8 @@
...
@@ -7,6 +6,8 @@
/* global listObjDuplicate */
/* global listObjDuplicate */
/* global ListIssue */
/* global ListIssue */
import
Vue
from
'
vue
'
;
require
(
'
~/lib/utils/url_utility
'
);
require
(
'
~/lib/utils/url_utility
'
);
require
(
'
~/boards/models/issue
'
);
require
(
'
~/boards/models/issue
'
);
require
(
'
~/boards/models/label
'
);
require
(
'
~/boards/models/label
'
);
...
...
spec/javascripts/boards/issue_card_spec.js
View file @
d9dedc36
/* global Vue */
/* global ListUser */
/* global ListUser */
/* global ListLabel */
/* global ListLabel */
/* global listObj */
/* global listObj */
/* global ListIssue */
/* global ListIssue */
import
Vue
from
'
vue
'
;
require
(
'
~/boards/models/issue
'
);
require
(
'
~/boards/models/issue
'
);
require
(
'
~/boards/models/label
'
);
require
(
'
~/boards/models/label
'
);
require
(
'
~/boards/models/list
'
);
require
(
'
~/boards/models/list
'
);
...
...
spec/javascripts/boards/list_spec.js
View file @
d9dedc36
/* eslint-disable comma-dangle */
/* eslint-disable comma-dangle */
/* global Vue */
/* global boardsMockInterceptor */
/* global boardsMockInterceptor */
/* global BoardService */
/* global BoardService */
/* global List */
/* global List */
...
@@ -7,6 +6,8 @@
...
@@ -7,6 +6,8 @@
/* global listObj */
/* global listObj */
/* global listObjDuplicate */
/* global listObjDuplicate */
import
Vue
from
'
vue
'
;
require
(
'
~/lib/utils/url_utility
'
);
require
(
'
~/lib/utils/url_utility
'
);
require
(
'
~/boards/models/issue
'
);
require
(
'
~/boards/models/issue
'
);
require
(
'
~/boards/models/label
'
);
require
(
'
~/boards/models/label
'
);
...
...
spec/javascripts/boards/modal_store_spec.js
View file @
d9dedc36
/* global Vue */
/* global ListIssue */
/* global ListIssue */
require
(
'
~/boards/models/issue
'
);
require
(
'
~/boards/models/issue
'
);
...
...
spec/javascripts/issuable_time_tracker_spec.js
View file @
d9dedc36
/* eslint-disable */
/* eslint-disable no-unused-vars, space-before-function-paren, func-call-spacing, no-spaced-func, semi, max-len, quotes, space-infix-ops, padded-blocks */
import
Vue
from
'
vue
'
;
require
(
'
jquery
'
);
require
(
'
vue
'
);
require
(
'
~/issuable/time_tracking/components/time_tracker
'
);
require
(
'
~/issuable/time_tracking/components/time_tracker
'
);
function
initTimeTrackingComponent
(
opts
)
{
function
initTimeTrackingComponent
(
opts
)
{
...
...
spec/javascripts/test_bundle.js
View file @
d9dedc36
...
@@ -9,8 +9,6 @@ require('~/commons/index.js');
...
@@ -9,8 +9,6 @@ require('~/commons/index.js');
window
.
$
=
window
.
jQuery
=
require
(
'
jquery
'
);
window
.
$
=
window
.
jQuery
=
require
(
'
jquery
'
);
window
.
_
=
require
(
'
underscore
'
);
window
.
_
=
require
(
'
underscore
'
);
window
.
Cookies
=
require
(
'
js-cookie
'
);
window
.
Cookies
=
require
(
'
js-cookie
'
);
window
.
Vue
=
require
(
'
vue
'
);
window
.
Vue
.
use
(
require
(
'
vue-resource
'
));
// stub expected globals
// stub expected globals
window
.
gl
=
window
.
gl
||
{};
window
.
gl
=
window
.
gl
||
{};
...
...
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