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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
98e4829c
Commit
98e4829c
authored
Mar 17, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove additional uses of Vue in global scope
parent
a0ab9e02
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
24 additions
and
21 deletions
+24
-21
app/assets/javascripts/boards/components/board_new_form.js
app/assets/javascripts/boards/components/board_new_form.js
+3
-1
app/assets/javascripts/boards/components/boards_selector.js
app/assets/javascripts/boards/components/boards_selector.js
+1
-1
app/assets/javascripts/boards/components/milestone_select.js
app/assets/javascripts/boards/components/milestone_select.js
+1
-1
app/assets/javascripts/commit/pipelines/pipelines_bundle.js
app/assets/javascripts/commit/pipelines/pipelines_bundle.js
+4
-2
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/merge_request_widget/approvals/approvals_api.js
...vascripts/merge_request_widget/approvals/approvals_api.js
+1
-3
app/assets/javascripts/merge_request_widget/approvals/components/approvals_body.js
...rge_request_widget/approvals/components/approvals_body.js
+1
-2
app/assets/javascripts/merge_request_widget/approvals/components/approvals_footer.js
...e_request_widget/approvals/components/approvals_footer.js
+1
-2
app/assets/javascripts/vue_common_component/link_to_member_avatar.js
...javascripts/vue_common_component/link_to_member_avatar.js
+2
-1
app/assets/javascripts/vue_pipelines_index/index.js
app/assets/javascripts/vue_pipelines_index/index.js
+1
-3
spec/javascripts/approvals/approvals_body_spec.js
spec/javascripts/approvals/approvals_body_spec.js
+1
-1
spec/javascripts/approvals/approvals_footer_spec.js
spec/javascripts/approvals/approvals_footer_spec.js
+1
-1
spec/javascripts/boards/milestone_select_spec.js
spec/javascripts/boards/milestone_select_spec.js
+3
-1
spec/javascripts/vue_common_components/link_to_member_avatar_spec.js
...ripts/vue_common_components/link_to_member_avatar_spec.js
+2
-1
No files found.
app/assets/javascripts/boards/components/board_new_form.js
View file @
98e4829c
/* global Vue */
/* global BoardService */
import
Vue
from
'
vue
'
;
const
boardMilestoneSelect
=
require
(
'
./milestone_select
'
);
const
extraMilestones
=
require
(
'
../mixins/extra_milestones
'
);
...
...
app/assets/javascripts/boards/components/boards_selector.js
View file @
98e4829c
/* global Vue */
import
Vue
from
'
vue
'
;
require
(
'
./board_new_form
'
);
...
...
app/assets/javascripts/boards/components/milestone_select.js
View file @
98e4829c
/* global BoardService */
/* global Vue */
const
extraMilestones
=
require
(
'
../mixins/extra_milestones
'
);
module
.
exports
=
{
...
...
app/assets/javascripts/commit/pipelines/pipelines_bundle.js
View file @
98e4829c
/* eslint-disable no-param-reassign */
import
Vue
from
'
vue
'
;
import
VueResource
from
'
vue-resource
'
;
import
CommitPipelinesTable
from
'
./pipelines_table
'
;
window
.
Vue
=
require
(
'
vue
'
);
window
.
Vue
.
use
(
require
(
'
vue-resource
'
));
Vue
.
use
(
VueResource
);
/**
* Commits View > Pipelines Tab > Pipelines Table.
...
...
app/assets/javascripts/diff_notes/components/new_issue_for_discussion.js
View file @
98e4829c
/* global Vue */
/* global CommentsStore */
import
Vue
from
'
vue
'
;
(()
=>
{
const
NewIssueForDiscussion
=
Vue
.
extend
({
props
:
{
...
...
app/assets/javascripts/merge_request_widget/approvals/approvals_api.js
View file @
98e4829c
/* global Flash */
window
.
Vue
=
require
(
'
vue
'
);
window
.
Vue
.
use
(
require
(
'
vue-resource
'
));
import
Vue
from
'
vue
'
;
const
Vue
=
window
.
Vue
;
require
(
'
./approvals_store
'
);
class
ApprovalsApi
{
...
...
app/assets/javascripts/merge_request_widget/approvals/components/approvals_body.js
View file @
98e4829c
/* global Vue */
import
Vue
from
'
vue
'
;
const
Vue
=
require
(
'
vue
'
);
require
(
'
../approvals_store
'
);
require
(
'
../approvals_api
'
);
...
...
app/assets/javascripts/merge_request_widget/approvals/components/approvals_footer.js
View file @
98e4829c
/* global Vue */
import
Vue
from
'
vue
'
;
const
Vue
=
require
(
'
vue
'
);
require
(
'
../approvals_store
'
);
require
(
'
../../../vue_common_component/link_to_member_avatar
'
);
...
...
app/assets/javascripts/vue_common_component/link_to_member_avatar.js
View file @
98e4829c
/* global Vue */
import
Vue
from
'
vue
'
;
// Analogue of link_to_member_avatar in app/helpers/projects_helper.rb
(()
=>
{
...
...
app/assets/javascripts/vue_pipelines_index/index.js
View file @
98e4829c
import
Vue
from
'
vue
'
;
import
PipelinesStore
from
'
./stores/pipelines_store
'
;
import
PipelinesComponent
from
'
./pipelines
'
;
import
'
../vue_shared/vue_resource_interceptor
'
;
const
Vue
=
window
.
Vue
=
require
(
'
vue
'
);
window
.
Vue
.
use
(
require
(
'
vue-resource
'
));
$
(()
=>
new
Vue
({
el
:
document
.
querySelector
(
'
.vue-pipelines-index
'
),
...
...
spec/javascripts/approvals/approvals_body_spec.js
View file @
98e4829c
/* global Vue */
import
Vue
from
'
vue
'
;
require
(
'
~/merge_request_widget/approvals/components/approvals_body
'
);
...
...
spec/javascripts/approvals/approvals_footer_spec.js
View file @
98e4829c
/* global Vue */
import
Vue
from
'
vue
'
;
require
(
'
~/merge_request_widget/approvals/components/approvals_footer
'
);
...
...
spec/javascripts/boards/milestone_select_spec.js
View file @
98e4829c
/* global Vue */
/* global boardsMockInterceptor */
/* global boardObj */
/* global BoardService */
import
Vue
from
'
vue
'
;
const
milestoneSelect
=
require
(
'
~/boards/components/milestone_select
'
);
require
(
'
~/boards/services/board_service
'
);
require
(
'
~/boards/stores/boards_store
'
);
...
...
spec/javascripts/vue_common_components/link_to_member_avatar_spec.js
View file @
98e4829c
/* eslint-disable guard-for-in, no-restricted-syntax */
/* global Vue */
import
Vue
from
'
vue
'
;
require
(
'
~/vue_common_component/link_to_member_avatar
'
);
...
...
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