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
5e271d3e
Commit
5e271d3e
authored
Jan 11, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EE port of main-js-tidy-up
parent
5dee62be
Changes
68
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
68 changed files
with
179 additions
and
157 deletions
+179
-157
.eslintrc
.eslintrc
+0
-1
app/assets/javascripts/blob/blob_file_dropzone.js
app/assets/javascripts/blob/blob_file_dropzone.js
+2
-0
app/assets/javascripts/boards/components/board.js
app/assets/javascripts/boards/components/board.js
+1
-1
app/assets/javascripts/boards/components/board_list.js
app/assets/javascripts/boards/components/board_list.js
+1
-1
app/assets/javascripts/boards/components/project_select.vue
app/assets/javascripts/boards/components/project_select.vue
+1
-1
app/assets/javascripts/broadcast_message.js
app/assets/javascripts/broadcast_message.js
+2
-0
app/assets/javascripts/create_merge_request_dropdown.js
app/assets/javascripts/create_merge_request_dropdown.js
+1
-0
app/assets/javascripts/dropzone_input.js
app/assets/javascripts/dropzone_input.js
+2
-0
app/assets/javascripts/environments/mixins/environments_mixin.js
...ets/javascripts/environments/mixins/environments_mixin.js
+1
-1
app/assets/javascripts/filtered_search/filtered_search_dropdown_manager.js
...ripts/filtered_search/filtered_search_dropdown_manager.js
+1
-0
app/assets/javascripts/filtered_search/filtered_search_manager.js
...ts/javascripts/filtered_search/filtered_search_manager.js
+1
-0
app/assets/javascripts/filtered_search/filtered_search_visual_tokens.js
...ascripts/filtered_search/filtered_search_visual_tokens.js
+1
-0
app/assets/javascripts/ide/lib/editor.js
app/assets/javascripts/ide/lib/editor.js
+1
-0
app/assets/javascripts/ide/stores/utils.js
app/assets/javascripts/ide/stores/utils.js
+2
-0
app/assets/javascripts/issuable/related_issues/components/related_issues_root.vue
...ssuable/related_issues/components/related_issues_root.vue
+1
-1
app/assets/javascripts/label_manager.js
app/assets/javascripts/label_manager.js
+1
-1
app/assets/javascripts/main.js
app/assets/javascripts/main.js
+95
-118
app/assets/javascripts/milestone.js
app/assets/javascripts/milestone.js
+0
-2
app/assets/javascripts/mirrors/mirror_pull.js
app/assets/javascripts/mirrors/mirror_pull.js
+1
-0
app/assets/javascripts/projects_dropdown/service/projects_service.js
...javascripts/projects_dropdown/service/projects_service.js
+1
-0
app/assets/javascripts/shortcuts_blob.js
app/assets/javascripts/shortcuts_blob.js
+1
-1
app/assets/javascripts/shortcuts_find_file.js
app/assets/javascripts/shortcuts_find_file.js
+1
-2
app/assets/javascripts/shortcuts_issuable.js
app/assets/javascripts/shortcuts_issuable.js
+1
-3
app/assets/javascripts/shortcuts_navigation.js
app/assets/javascripts/shortcuts_navigation.js
+1
-2
app/assets/javascripts/shortcuts_network.js
app/assets/javascripts/shortcuts_network.js
+1
-1
app/assets/javascripts/shortcuts_wiki.js
app/assets/javascripts/shortcuts_wiki.js
+3
-5
app/assets/javascripts/zen_mode.js
app/assets/javascripts/zen_mode.js
+3
-2
ee/app/assets/javascripts/approvals.js
ee/app/assets/javascripts/approvals.js
+2
-0
ee/app/assets/javascripts/boards/stores/boards_store_ee.js
ee/app/assets/javascripts/boards/stores/boards_store_ee.js
+1
-0
ee/app/assets/javascripts/main.js
ee/app/assets/javascripts/main.js
+11
-0
ee/app/assets/javascripts/protected_branches/protected_branch_access_dropdown.js
...ts/protected_branches/protected_branch_access_dropdown.js
+1
-1
ee/app/assets/javascripts/protected_branches/protected_branch_dropdown.js
...vascripts/protected_branches/protected_branch_dropdown.js
+2
-0
ee/app/assets/javascripts/protected_branches/protected_branch_edit.js
...s/javascripts/protected_branches/protected_branch_edit.js
+1
-0
ee/app/assets/javascripts/protected_tags/protected_tag_access_dropdown.js
...vascripts/protected_tags/protected_tag_access_dropdown.js
+1
-0
ee/app/assets/javascripts/protected_tags/protected_tag_dropdown.js
...sets/javascripts/protected_tags/protected_tag_dropdown.js
+2
-0
ee/app/assets/javascripts/protected_tags/protected_tag_edit.js
...p/assets/javascripts/protected_tags/protected_tag_edit.js
+1
-0
spec/features/copy_as_gfm_spec.rb
spec/features/copy_as_gfm_spec.rb
+1
-1
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/issue_card_spec.js
spec/javascripts/boards/issue_card_spec.js
+1
-1
spec/javascripts/boards/list_spec.js
spec/javascripts/boards/list_spec.js
+1
-1
spec/javascripts/boards/mock_data.js
spec/javascripts/boards/mock_data.js
+2
-0
spec/javascripts/commit/pipelines/pipelines_spec.js
spec/javascripts/commit/pipelines/pipelines_spec.js
+1
-0
spec/javascripts/deploy_keys/components/app_spec.js
spec/javascripts/deploy_keys/components/app_spec.js
+1
-0
spec/javascripts/environments/environments_app_spec.js
spec/javascripts/environments/environments_app_spec.js
+1
-0
spec/javascripts/environments/folder/environments_folder_view_spec.js
...ipts/environments/folder/environments_folder_view_spec.js
+1
-0
spec/javascripts/epics/new_epic/components/new_epic_spec.js
spec/javascripts/epics/new_epic/components/new_epic_spec.js
+1
-0
spec/javascripts/epics/sidebar/components/sidebar_app_spec.js
.../javascripts/epics/sidebar/components/sidebar_app_spec.js
+1
-0
spec/javascripts/filtered_search/filtered_search_visual_tokens_spec.js
...pts/filtered_search/filtered_search_visual_tokens_spec.js
+1
-0
spec/javascripts/issuable/related_issues/components/related_issues_root_spec.js
...ble/related_issues/components/related_issues_root_spec.js
+1
-0
spec/javascripts/issue_show/components/fields/description_template_spec.js
...issue_show/components/fields/description_template_spec.js
+0
-2
spec/javascripts/issue_show/components/form_spec.js
spec/javascripts/issue_show/components/form_spec.js
+0
-2
spec/javascripts/merge_request_notes_spec.js
spec/javascripts/merge_request_notes_spec.js
+1
-0
spec/javascripts/notes/components/note_app_spec.js
spec/javascripts/notes/components/note_app_spec.js
+1
-0
spec/javascripts/notes/components/noteable_note_spec.js
spec/javascripts/notes/components/noteable_note_spec.js
+1
-1
spec/javascripts/notes_spec.js
spec/javascripts/notes_spec.js
+1
-0
spec/javascripts/pipelines/pipeline_details_mediator_spec.js
spec/javascripts/pipelines/pipeline_details_mediator_spec.js
+1
-0
spec/javascripts/pipelines/pipelines_spec.js
spec/javascripts/pipelines/pipelines_spec.js
+1
-0
spec/javascripts/pipelines/stage_spec.js
spec/javascripts/pipelines/stage_spec.js
+1
-0
spec/javascripts/registry/components/app_spec.js
spec/javascripts/registry/components/app_spec.js
+1
-0
spec/javascripts/sidebar/ee_sidebar_mediator_spec.js
spec/javascripts/sidebar/ee_sidebar_mediator_spec.js
+1
-0
spec/javascripts/sidebar/sidebar_assignees_spec.js
spec/javascripts/sidebar/sidebar_assignees_spec.js
+1
-0
spec/javascripts/sidebar/sidebar_mediator_spec.js
spec/javascripts/sidebar/sidebar_mediator_spec.js
+1
-0
spec/javascripts/sidebar/sidebar_move_issue_spec.js
spec/javascripts/sidebar/sidebar_move_issue_spec.js
+1
-0
spec/javascripts/smart_interval_spec.js
spec/javascripts/smart_interval_spec.js
+1
-0
spec/javascripts/test_bundle.js
spec/javascripts/test_bundle.js
+0
-2
spec/javascripts/vue_shared/components/user_avatar/user_avatar_link_spec.js
...ue_shared/components/user_avatar/user_avatar_link_spec.js
+1
-0
spec/javascripts/zen_mode_spec.js
spec/javascripts/zen_mode_spec.js
+1
-1
No files found.
.eslintrc
View file @
5e271d3e
...
...
@@ -10,7 +10,6 @@
],
"globals": {
"__webpack_public_path__": true,
"_": false,
"gl": false,
"gon": false,
"localStorage": false
...
...
app/assets/javascripts/blob/blob_file_dropzone.js
View file @
5e271d3e
...
...
@@ -4,6 +4,8 @@ import { visitUrl } from '../lib/utils/url_utility';
import
{
HIDDEN_CLASS
}
from
'
../lib/utils/constants
'
;
import
csrf
from
'
../lib/utils/csrf
'
;
Dropzone
.
autoDiscover
=
false
;
function
toggleLoading
(
$el
,
$icon
,
loading
)
{
if
(
loading
)
{
$el
.
disable
();
...
...
app/assets/javascripts/boards/components/board.js
View file @
5e271d3e
/* eslint-disable comma-dangle, space-before-function-paren, one-var */
/* global Sortable */
import
Sortable
from
'
vendor/Sortable
'
;
import
Vue
from
'
vue
'
;
import
boardPromotionState
from
'
ee/boards/components/board_promotion_state
'
;
import
AccessorUtilities
from
'
../../lib/utils/accessor
'
;
...
...
app/assets/javascripts/boards/components/board_list.js
View file @
5e271d3e
/* global Sortable */
import
Sortable
from
'
vendor/Sortable
'
;
import
boardNewIssue
from
'
./board_new_issue
'
;
import
boardCard
from
'
./board_card.vue
'
;
import
eventHub
from
'
../eventhub
'
;
...
...
app/assets/javascripts/boards/components/project_select.vue
View file @
5e271d3e
<
script
>
/* global ListIssue */
import
_
from
'
underscore
'
;
import
eventHub
from
'
../eventhub
'
;
import
loadingIcon
from
'
../../vue_shared/components/loading_icon.vue
'
;
import
Api
from
'
../../api
'
;
...
...
app/assets/javascripts/broadcast_message.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
export
default
function
initBroadcastMessagesForm
()
{
$
(
'
input#broadcast_message_color
'
).
on
(
'
input
'
,
function
onMessageColorInput
()
{
const
previewColor
=
$
(
this
).
val
();
...
...
app/assets/javascripts/create_merge_request_dropdown.js
View file @
5e271d3e
/* eslint-disable no-new */
import
_
from
'
underscore
'
;
import
Flash
from
'
./flash
'
;
import
DropLab
from
'
./droplab/drop_lab
'
;
import
ISetter
from
'
./droplab/plugins/input_setter
'
;
...
...
app/assets/javascripts/dropzone_input.js
View file @
5e271d3e
...
...
@@ -3,6 +3,8 @@ import _ from 'underscore';
import
'
./preview_markdown
'
;
import
csrf
from
'
./lib/utils/csrf
'
;
Dropzone
.
autoDiscover
=
false
;
export
default
function
dropzoneInput
(
form
)
{
const
divHover
=
'
<div class="div-dropzone-hover"></div>
'
;
const
iconPaperclip
=
'
<i class="fa fa-paperclip div-dropzone-icon"></i>
'
;
...
...
app/assets/javascripts/environments/mixins/environments_mixin.js
View file @
5e271d3e
/**
* Common code between environmets app and folder view
*/
import
_
from
'
underscore
'
;
import
Visibility
from
'
visibilityjs
'
;
import
Poll
from
'
../../lib/utils/poll
'
;
import
{
...
...
app/assets/javascripts/filtered_search/filtered_search_dropdown_manager.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
DropLab
from
'
~/droplab/drop_lab
'
;
import
FilteredSearchContainer
from
'
./container
'
;
...
...
app/assets/javascripts/filtered_search/filtered_search_manager.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
{
visitUrl
}
from
'
../lib/utils/url_utility
'
;
import
Flash
from
'
../flash
'
;
import
FilteredSearchContainer
from
'
./container
'
;
...
...
app/assets/javascripts/filtered_search/filtered_search_visual_tokens.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
AjaxCache
from
'
../lib/utils/ajax_cache
'
;
import
Flash
from
'
../flash
'
;
import
FilteredSearchContainer
from
'
./container
'
;
...
...
app/assets/javascripts/ide/lib/editor.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
DecorationsController
from
'
./decorations/controller
'
;
import
DirtyDiffController
from
'
./diff/controller
'
;
import
Disposable
from
'
./common/disposable
'
;
...
...
app/assets/javascripts/ide/stores/utils.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
export
const
dataStructure
=
()
=>
({
id
:
''
,
key
:
''
,
...
...
app/assets/javascripts/issuable/related_issues/components/related_issues_root.vue
View file @
5e271d3e
...
...
@@ -23,7 +23,7 @@ Your caret can stop touching a `rawReference` can happen in a variety of ways:
and hide the `AddIssuableForm` area.
*/
import
_
from
'
underscore
'
;
import
Flash
from
'
../../../flash
'
;
import
eventHub
from
'
../event_hub
'
;
import
RelatedIssuesBlock
from
'
./related_issues_block.vue
'
;
...
...
app/assets/javascripts/label_manager.js
View file @
5e271d3e
/* eslint-disable comma-dangle, class-methods-use-this, no-underscore-dangle, no-param-reassign, no-unused-vars, consistent-return, func-names, space-before-function-paren, max-len */
/* global Sortable */
import
Sortable
from
'
vendor/Sortable
'
;
import
Flash
from
'
./flash
'
;
...
...
app/assets/javascripts/main.js
View file @
5e271d3e
This diff is collapsed.
Click to expand it.
app/assets/javascripts/milestone.js
View file @
5e271d3e
/* global Sortable */
import
Flash
from
'
./flash
'
;
export
default
class
Milestone
{
...
...
app/assets/javascripts/mirrors/mirror_pull.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
Flash
from
'
../flash
'
;
import
AUTH_METHOD
from
'
./constants
'
;
import
{
backOff
}
from
'
../lib/utils/common_utils
'
;
...
...
app/assets/javascripts/projects_dropdown/service/projects_service.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
Vue
from
'
vue
'
;
import
VueResource
from
'
vue-resource
'
;
...
...
app/assets/javascripts/shortcuts_blob.js
View file @
5e271d3e
/* global Mousetrap */
import
Mousetrap
from
'
mousetrap
'
;
import
{
getLocationHash
,
visitUrl
}
from
'
./lib/utils/url_utility
'
;
import
Shortcuts
from
'
./shortcuts
'
;
...
...
app/assets/javascripts/shortcuts_find_file.js
View file @
5e271d3e
/* global Mousetrap */
import
Mousetrap
from
'
mousetrap
'
;
import
ShortcutsNavigation
from
'
./shortcuts_navigation
'
;
export
default
class
ShortcutsFindFile
extends
ShortcutsNavigation
{
...
...
app/assets/javascripts/shortcuts_issuable.js
View file @
5e271d3e
/* global Mousetrap */
import
Mousetrap
from
'
mousetrap
'
;
import
_
from
'
underscore
'
;
import
'
mousetrap
'
;
import
Sidebar
from
'
./right_sidebar
'
;
import
ShortcutsNavigation
from
'
./shortcuts_navigation
'
;
import
{
CopyAsGFM
}
from
'
./behaviors/copy_as_gfm
'
;
...
...
app/assets/javascripts/shortcuts_navigation.js
View file @
5e271d3e
/* global Mousetrap */
import
Mousetrap
from
'
mousetrap
'
;
import
findAndFollowLink
from
'
./shortcuts_dashboard_navigation
'
;
import
Shortcuts
from
'
./shortcuts
'
;
...
...
app/assets/javascripts/shortcuts_network.js
View file @
5e271d3e
/* global Mousetrap */
import
Mousetrap
from
'
mousetrap
'
;
import
ShortcutsNavigation
from
'
./shortcuts_navigation
'
;
export
default
class
ShortcutsNetwork
extends
ShortcutsNavigation
{
...
...
app/assets/javascripts/shortcuts_wiki.js
View file @
5e271d3e
/* eslint-disable class-methods-use-this */
/* global Mousetrap */
import
Mousetrap
from
'
mousetrap
'
;
import
ShortcutsNavigation
from
'
./shortcuts_navigation
'
;
import
findAndFollowLink
from
'
./shortcuts_dashboard_navigation
'
;
export
default
class
ShortcutsWiki
extends
ShortcutsNavigation
{
constructor
()
{
super
();
Mousetrap
.
bind
(
'
e
'
,
this
.
editWiki
);
Mousetrap
.
bind
(
'
e
'
,
ShortcutsWiki
.
editWiki
);
}
editWiki
()
{
static
editWiki
()
{
findAndFollowLink
(
'
.js-wiki-edit
'
);
}
}
app/assets/javascripts/zen_mode.js
View file @
5e271d3e
/* eslint-disable func-names, space-before-function-paren, wrap-iife, prefer-arrow-callback, no-unused-vars, consistent-return, camelcase, comma-dangle, max-len, class-methods-use-this */
/* global Mousetrap */
// Zen Mode (full screen) textarea
//
...
...
@@ -8,9 +7,11 @@
import
'
vendor/jquery.scrollTo
'
;
import
Dropzone
from
'
dropzone
'
;
import
'
mousetrap
'
;
import
Mousetrap
from
'
mousetrap
'
;
import
'
mousetrap/plugins/pause/mousetrap-pause
'
;
Dropzone
.
autoDiscover
=
false
;
//
// ### Events
//
...
...
ee/app/assets/javascripts/approvals.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
export
default
()
=>
{
$
(
'
.approver-list
'
).
on
(
'
click
'
,
'
.unsaved-approvers.approver .btn-remove
'
,
function
approverListClickCallback
(
ev
)
{
const
removeElement
=
$
(
this
).
closest
(
'
li
'
);
...
...
ee/app/assets/javascripts/boards/stores/boards_store_ee.js
View file @
5e271d3e
/* eslint-disable class-methods-use-this */
import
_
from
'
underscore
'
;
import
Cookies
from
'
js-cookie
'
;
class
BoardsStoreEE
{
...
...
ee/app/assets/javascripts/main.js
0 → 100644
View file @
5e271d3e
import
initEETrialBanner
from
'
ee/ee_trial_banner
'
;
$
(()
=>
{
/**
* EE specific scripts
*/
$
(
'
#modal-upload-trial-license
'
).
modal
(
'
show
'
);
// EE specific calls
initEETrialBanner
();
});
ee/app/assets/javascripts/protected_branches/protected_branch_access_dropdown.js
View file @
5e271d3e
/* eslint-disable no-underscore-dangle, class-methods-use-this */
import
_
from
'
underscore
'
;
import
Flash
from
'
~/flash
'
;
import
{
LEVEL_TYPES
,
LEVEL_ID_PROP
,
ACCESS_LEVEL_NONE
}
from
'
./constants
'
;
...
...
ee/app/assets/javascripts/protected_branches/protected_branch_dropdown.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
export
default
class
ProtectedBranchDropdown
{
/**
* @param {Object} options containing
...
...
ee/app/assets/javascripts/protected_branches/protected_branch_edit.js
View file @
5e271d3e
/* eslint-disable no-new */
import
_
from
'
underscore
'
;
import
Flash
from
'
~/flash
'
;
import
{
ACCESS_LEVELS
,
LEVEL_TYPES
}
from
'
./constants
'
;
import
ProtectedBranchAccessDropdown
from
'
./protected_branch_access_dropdown
'
;
...
...
ee/app/assets/javascripts/protected_tags/protected_tag_access_dropdown.js
View file @
5e271d3e
/* eslint-disable no-underscore-dangle, class-methods-use-this */
import
_
from
'
underscore
'
;
import
Flash
from
'
~/flash
'
;
import
{
LEVEL_TYPES
,
LEVEL_ID_PROP
,
ACCESS_LEVEL_NONE
}
from
'
./constants
'
;
...
...
ee/app/assets/javascripts/protected_tags/protected_tag_dropdown.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
export
default
class
ProtectedTagDropdown
{
/**
* @param {Object} options containing
...
...
ee/app/assets/javascripts/protected_tags/protected_tag_edit.js
View file @
5e271d3e
/* eslint-disable no-new */
import
_
from
'
underscore
'
;
import
Flash
from
'
~/flash
'
;
import
{
ACCESS_LEVELS
,
LEVEL_TYPES
}
from
'
./constants
'
;
import
ProtectedTagAccessDropdown
from
'
./protected_tag_access_dropdown
'
;
...
...
spec/features/copy_as_gfm_spec.rb
View file @
5e271d3e
...
...
@@ -750,7 +750,7 @@ describe 'Copy as GFM', :js do
js
=
<<-
JS
.
strip_heredoc
(function(selector) {
var els = document.querySelectorAll(selector);
var htmls =
_.map(els,
function(el) { return el.outerHTML; });
var htmls =
[].slice.call(els).map(
function(el) { return el.outerHTML; });
return htmls.join("
\\
n");
})("
#{
escape_javascript
(
selector
)
}
")
JS
...
...
spec/javascripts/approvals/approvals_body_spec.js
View file @
5e271d3e
import
Vue
from
'
vue
'
;
import
_
from
'
underscore
'
;
import
ApprovalsBody
from
'
ee/vue_merge_request_widget/components/approvals/approvals_body
'
;
(()
=>
{
...
...
spec/javascripts/approvals/approvals_footer_spec.js
View file @
5e271d3e
import
Vue
from
'
vue
'
;
import
_
from
'
underscore
'
;
import
pendingAvatarSvg
from
'
icons/_icon_dotted_circle.svg
'
;
import
ApprovalsFooter
from
'
ee/vue_merge_request_widget/components/approvals/approvals_footer
'
;
...
...
spec/javascripts/boards/issue_card_spec.js
View file @
5e271d3e
...
...
@@ -3,7 +3,7 @@
/* global ListIssue */
import
Vue
from
'
vue
'
;
import
_
from
'
underscore
'
;
import
'
~/boards/models/issue
'
;
import
'
~/boards/models/label
'
;
import
'
~/boards/models/list
'
;
...
...
spec/javascripts/boards/list_spec.js
View file @
5e271d3e
...
...
@@ -5,7 +5,7 @@
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
_
from
'
underscore
'
;
import
'
~/boards/models/issue
'
;
import
'
~/boards/models/label
'
;
import
'
~/boards/models/list
'
;
...
...
spec/javascripts/boards/mock_data.js
View file @
5e271d3e
/* global BoardService */
/* eslint-disable comma-dangle, no-unused-vars, quote-props */
import
_
from
'
underscore
'
;
export
const
boardObj
=
{
id
:
1
,
name
:
'
test
'
,
...
...
spec/javascripts/commit/pipelines/pipelines_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
Vue
from
'
vue
'
;
import
pipelinesTable
from
'
~/commit/pipelines/pipelines_table.vue
'
;
...
...
spec/javascripts/deploy_keys/components/app_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
Vue
from
'
vue
'
;
import
eventHub
from
'
~/deploy_keys/eventhub
'
;
import
deployKeysApp
from
'
~/deploy_keys/components/app.vue
'
;
...
...
spec/javascripts/environments/environments_app_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
Vue
from
'
vue
'
;
import
environmentsComponent
from
'
~/environments/components/environments_app.vue
'
;
import
{
environment
,
folder
}
from
'
./mock_data
'
;
...
...
spec/javascripts/environments/folder/environments_folder_view_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
Vue
from
'
vue
'
;
import
environmentsFolderViewComponent
from
'
~/environments/folder/environments_folder_view.vue
'
;
import
{
environmentsList
}
from
'
../mock_data
'
;
...
...
spec/javascripts/epics/new_epic/components/new_epic_spec.js
View file @
5e271d3e
import
Vue
from
'
vue
'
;
import
_
from
'
underscore
'
;
import
newEpic
from
'
ee/epics/new_epic/components/new_epic.vue
'
;
import
*
as
urlUtility
from
'
~/lib/utils/url_utility
'
;
import
mountComponent
from
'
../../../helpers/vue_mount_component_helper
'
;
...
...
spec/javascripts/epics/sidebar/components/sidebar_app_spec.js
View file @
5e271d3e
import
Vue
from
'
vue
'
;
import
_
from
'
underscore
'
;
import
Cookies
from
'
js-cookie
'
;
import
epicSidebar
from
'
ee/epics/sidebar/components/sidebar_app.vue
'
;
import
mountComponent
from
'
../../../helpers/vue_mount_component_helper
'
;
...
...
spec/javascripts/filtered_search/filtered_search_visual_tokens_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
AjaxCache
from
'
~/lib/utils/ajax_cache
'
;
import
UsersCache
from
'
~/lib/utils/users_cache
'
;
...
...
spec/javascripts/issuable/related_issues/components/related_issues_root_spec.js
View file @
5e271d3e
import
Vue
from
'
vue
'
;
import
_
from
'
underscore
'
;
import
relatedIssuesRoot
from
'
~/issuable/related_issues/components/related_issues_root.vue
'
;
import
relatedIssuesService
from
'
~/issuable/related_issues/services/related_issues_service
'
;
...
...
spec/javascripts/issue_show/components/fields/description_template_spec.js
View file @
5e271d3e
import
Vue
from
'
vue
'
;
import
descriptionTemplate
from
'
~/issue_show/components/fields/description_template.vue
'
;
import
'
~/templates/issuable_template_selector
'
;
import
'
~/templates/issuable_template_selectors
'
;
describe
(
'
Issue description template component
'
,
()
=>
{
let
vm
;
...
...
spec/javascripts/issue_show/components/form_spec.js
View file @
5e271d3e
import
Vue
from
'
vue
'
;
import
formComponent
from
'
~/issue_show/components/form.vue
'
;
import
'
~/templates/issuable_template_selector
'
;
import
'
~/templates/issuable_template_selectors
'
;
describe
(
'
Inline edit form component
'
,
()
=>
{
let
vm
;
...
...
spec/javascripts/merge_request_notes_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
'
autosize
'
;
import
'
~/gl_form
'
;
import
'
~/lib/utils/text_utility
'
;
...
...
spec/javascripts/notes/components/note_app_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
Vue
from
'
vue
'
;
import
notesApp
from
'
~/notes/components/notes_app.vue
'
;
import
service
from
'
~/notes/services/notes_service
'
;
...
...
spec/javascripts/notes/components/noteable_note_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
Vue
from
'
vue
'
;
import
store
from
'
~/notes/stores
'
;
import
issueNote
from
'
~/notes/components/noteable_note.vue
'
;
...
...
spec/javascripts/notes_spec.js
View file @
5e271d3e
/* eslint-disable space-before-function-paren, no-unused-expressions, no-var, object-shorthand, comma-dangle, max-len */
import
_
from
'
underscore
'
;
import
*
as
urlUtils
from
'
~/lib/utils/url_utility
'
;
import
'
autosize
'
;
import
'
~/gl_form
'
;
...
...
spec/javascripts/pipelines/pipeline_details_mediator_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
Vue
from
'
vue
'
;
import
PipelineMediator
from
'
~/pipelines/pipeline_details_mediatior
'
;
...
...
spec/javascripts/pipelines/pipelines_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
Vue
from
'
vue
'
;
import
pipelinesComp
from
'
~/pipelines/components/pipelines.vue
'
;
import
Store
from
'
~/pipelines/stores/pipelines_store
'
;
...
...
spec/javascripts/pipelines/stage_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
Vue
from
'
vue
'
;
import
stage
from
'
~/pipelines/components/stage.vue
'
;
...
...
spec/javascripts/registry/components/app_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
Vue
from
'
vue
'
;
import
registry
from
'
~/registry/components/app.vue
'
;
import
mountComponent
from
'
../../helpers/vue_mount_component_helper
'
;
...
...
spec/javascripts/sidebar/ee_sidebar_mediator_spec.js
View file @
5e271d3e
import
Vue
from
'
vue
'
;
import
_
from
'
underscore
'
;
import
SidebarMediator
from
'
ee/sidebar/sidebar_mediator
'
;
import
CESidebarMediator
from
'
~/sidebar/sidebar_mediator
'
;
import
CESidebarStore
from
'
~/sidebar/stores/sidebar_store
'
;
...
...
spec/javascripts/sidebar/sidebar_assignees_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
Vue
from
'
vue
'
;
import
SidebarAssignees
from
'
~/sidebar/components/assignees/sidebar_assignees
'
;
import
SidebarMediator
from
'
~/sidebar/sidebar_mediator
'
;
...
...
spec/javascripts/sidebar/sidebar_mediator_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
Vue
from
'
vue
'
;
import
*
as
urlUtils
from
'
~/lib/utils/url_utility
'
;
import
SidebarMediator
from
'
~/sidebar/sidebar_mediator
'
;
...
...
spec/javascripts/sidebar/sidebar_move_issue_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
Vue
from
'
vue
'
;
import
SidebarMediator
from
'
~/sidebar/sidebar_mediator
'
;
import
SidebarStore
from
'
~/sidebar/stores/sidebar_store
'
;
...
...
spec/javascripts/smart_interval_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
SmartInterval
from
'
~/smart_interval
'
;
describe
(
'
SmartInterval
'
,
function
()
{
...
...
spec/javascripts/test_bundle.js
View file @
5e271d3e
/* eslint-disable jasmine/no-global-setup */
import
$
from
'
jquery
'
;
import
_
from
'
underscore
'
;
import
'
jasmine-jquery
'
;
import
'
~/commons
'
;
import
Vue
from
'
vue
'
;
...
...
@@ -30,7 +29,6 @@ jasmine.getJSONFixtures().fixturesPath = '/base/spec/javascripts/fixtures';
// globalize common libraries
window
.
$
=
window
.
jQuery
=
$
;
window
.
_
=
_
;
// stub expected globals
window
.
gl
=
window
.
gl
||
{};
...
...
spec/javascripts/vue_shared/components/user_avatar/user_avatar_link_spec.js
View file @
5e271d3e
import
_
from
'
underscore
'
;
import
Vue
from
'
vue
'
;
import
UserAvatarLink
from
'
~/vue_shared/components/user_avatar/user_avatar_link.vue
'
;
...
...
spec/javascripts/zen_mode_spec.js
View file @
5e271d3e
/* global Mousetrap */
import
Mousetrap
from
'
mousetrap
'
;
import
Dropzone
from
'
dropzone
'
;
import
ZenMode
from
'
~/zen_mode
'
;
...
...
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