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
Boxiang Sun
gitlab-ce
Commits
b261fb7b
Commit
b261fb7b
authored
May 22, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'adopt-es-module-syntax' into 'master'
Adopt ES module syntax See merge request !9567
parents
53f18d83
97724e62
Changes
101
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
101 changed files
with
290 additions
and
315 deletions
+290
-315
.eslintrc
.eslintrc
+1
-0
app/assets/javascripts/boards/boards_bundle.js
app/assets/javascripts/boards/boards_bundle.js
+16
-17
app/assets/javascripts/boards/components/board.js
app/assets/javascripts/boards/components/board.js
+1
-3
app/assets/javascripts/boards/components/board_card.js
app/assets/javascripts/boards/components/board_card.js
+1
-1
app/assets/javascripts/boards/components/board_sidebar.js
app/assets/javascripts/boards/components/board_sidebar.js
+1
-3
app/assets/javascripts/boards/components/modal/footer.js
app/assets/javascripts/boards/components/modal/footer.js
+1
-2
app/assets/javascripts/boards/components/modal/header.js
app/assets/javascripts/boards/components/modal/header.js
+1
-2
app/assets/javascripts/boards/components/modal/index.js
app/assets/javascripts/boards/components/modal/index.js
+4
-5
app/assets/javascripts/copy_as_gfm.js
app/assets/javascripts/copy_as_gfm.js
+1
-1
app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js
...ets/javascripts/cycle_analytics/cycle_analytics_bundle.js
+10
-12
app/assets/javascripts/cycle_analytics/cycle_analytics_store.js
...sets/javascripts/cycle_analytics/cycle_analytics_store.js
+3
-3
app/assets/javascripts/cycle_analytics/default_event_objects.js
...sets/javascripts/cycle_analytics/default_event_objects.js
+1
-1
app/assets/javascripts/diff.js
app/assets/javascripts/diff.js
+1
-1
app/assets/javascripts/diff_notes/diff_notes_bundle.js
app/assets/javascripts/diff_notes/diff_notes_bundle.js
+12
-13
app/assets/javascripts/diff_notes/services/resolve.js
app/assets/javascripts/diff_notes/services/resolve.js
+1
-5
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+1
-3
app/assets/javascripts/dropzone_input.js
app/assets/javascripts/dropzone_input.js
+1
-1
app/assets/javascripts/filtered_search/dropdown_hint.js
app/assets/javascripts/filtered_search/dropdown_hint.js
+1
-2
app/assets/javascripts/filtered_search/dropdown_non_user.js
app/assets/javascripts/filtered_search/dropdown_non_user.js
+1
-2
app/assets/javascripts/filtered_search/dropdown_user.js
app/assets/javascripts/filtered_search/dropdown_user.js
+1
-2
app/assets/javascripts/filtered_search/filtered_search_bundle.js
...ets/javascripts/filtered_search/filtered_search_bundle.js
+10
-10
app/assets/javascripts/filtered_search/filtered_search_tokenizer.js
.../javascripts/filtered_search/filtered_search_tokenizer.js
+1
-1
app/assets/javascripts/gl_field_errors.js
app/assets/javascripts/gl_field_errors.js
+1
-1
app/assets/javascripts/issue.js
app/assets/javascripts/issue.js
+6
-6
app/assets/javascripts/lib/utils/datetime_utility.js
app/assets/javascripts/lib/utils/datetime_utility.js
+6
-6
app/assets/javascripts/lib/utils/http_status.js
app/assets/javascripts/lib/utils/http_status.js
+1
-3
app/assets/javascripts/lib/utils/text_utility.js
app/assets/javascripts/lib/utils/text_utility.js
+2
-1
app/assets/javascripts/line_highlighter.js
app/assets/javascripts/line_highlighter.js
+0
-2
app/assets/javascripts/main.js
app/assets/javascripts/main.js
+1
-1
app/assets/javascripts/merge_conflicts/merge_conflicts_bundle.js
...ets/javascripts/merge_conflicts/merge_conflicts_bundle.js
+7
-8
app/assets/javascripts/merge_request.js
app/assets/javascripts/merge_request.js
+3
-3
app/assets/javascripts/notes.js
app/assets/javascripts/notes.js
+9
-7
app/assets/javascripts/pager.js
app/assets/javascripts/pager.js
+2
-2
app/assets/javascripts/profile/profile_bundle.js
app/assets/javascripts/profile/profile_bundle.js
+2
-2
app/assets/javascripts/protected_branches/protected_branches_bundle.js
...vascripts/protected_branches/protected_branches_bundle.js
+5
-5
app/assets/javascripts/shortcuts_blob.js
app/assets/javascripts/shortcuts_blob.js
+2
-4
app/assets/javascripts/shortcuts_find_file.js
app/assets/javascripts/shortcuts_find_file.js
+1
-1
app/assets/javascripts/shortcuts_issuable.js
app/assets/javascripts/shortcuts_issuable.js
+2
-2
app/assets/javascripts/shortcuts_navigation.js
app/assets/javascripts/shortcuts_navigation.js
+2
-2
app/assets/javascripts/shortcuts_network.js
app/assets/javascripts/shortcuts_network.js
+1
-1
app/assets/javascripts/task_list.js
app/assets/javascripts/task_list.js
+2
-1
app/assets/javascripts/terminal/terminal_bundle.js
app/assets/javascripts/terminal/terminal_bundle.js
+7
-5
app/assets/javascripts/users/users_bundle.js
app/assets/javascripts/users/users_bundle.js
+1
-1
app/assets/javascripts/version_check_image.js
app/assets/javascripts/version_check_image.js
+1
-3
app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js
...s/vue_merge_request_widget/components/mr_widget_header.js
+1
-1
app/assets/javascripts/wikis.js
app/assets/javascripts/wikis.js
+2
-2
app/assets/javascripts/zen_mode.js
app/assets/javascripts/zen_mode.js
+6
-5
spec/javascripts/abuse_reports_spec.js
spec/javascripts/abuse_reports_spec.js
+2
-2
spec/javascripts/activities_spec.js
spec/javascripts/activities_spec.js
+3
-3
spec/javascripts/ajax_loading_spinner_spec.js
spec/javascripts/ajax_loading_spinner_spec.js
+4
-4
spec/javascripts/awards_handler_spec.js
spec/javascripts/awards_handler_spec.js
+1
-1
spec/javascripts/behaviors/autosize_spec.js
spec/javascripts/behaviors/autosize_spec.js
+1
-1
spec/javascripts/behaviors/quick_submit_spec.js
spec/javascripts/behaviors/quick_submit_spec.js
+1
-1
spec/javascripts/behaviors/requires_input_spec.js
spec/javascripts/behaviors/requires_input_spec.js
+1
-1
spec/javascripts/blob/create_branch_dropdown_spec.js
spec/javascripts/blob/create_branch_dropdown_spec.js
+3
-3
spec/javascripts/blob/target_branch_dropdown_spec.js
spec/javascripts/blob/target_branch_dropdown_spec.js
+3
-3
spec/javascripts/boards/board_card_spec.js
spec/javascripts/boards/board_card_spec.js
+5
-5
spec/javascripts/boards/board_new_issue_spec.js
spec/javascripts/boards/board_new_issue_spec.js
+2
-2
spec/javascripts/commits_spec.js
spec/javascripts/commits_spec.js
+3
-3
spec/javascripts/datetime_utility_spec.js
spec/javascripts/datetime_utility_spec.js
+1
-1
spec/javascripts/diff_comments_store_spec.js
spec/javascripts/diff_comments_store_spec.js
+3
-3
spec/javascripts/extensions/array_spec.js
spec/javascripts/extensions/array_spec.js
+1
-1
spec/javascripts/filtered_search/dropdown_user_spec.js
spec/javascripts/filtered_search/dropdown_user_spec.js
+4
-4
spec/javascripts/filtered_search/dropdown_utils_spec.js
spec/javascripts/filtered_search/dropdown_utils_spec.js
+4
-4
spec/javascripts/filtered_search/filtered_search_dropdown_manager_spec.js
.../filtered_search/filtered_search_dropdown_manager_spec.js
+4
-4
spec/javascripts/filtered_search/filtered_search_manager_spec.js
...vascripts/filtered_search/filtered_search_manager_spec.js
+7
-8
spec/javascripts/filtered_search/filtered_search_token_keys_spec.js
...cripts/filtered_search/filtered_search_token_keys_spec.js
+2
-2
spec/javascripts/filtered_search/filtered_search_tokenizer_spec.js
...scripts/filtered_search/filtered_search_tokenizer_spec.js
+3
-3
spec/javascripts/filtered_search/filtered_search_visual_tokens_spec.js
...pts/filtered_search/filtered_search_visual_tokens_spec.js
+2
-2
spec/javascripts/gfm_auto_complete_spec.js
spec/javascripts/gfm_auto_complete_spec.js
+2
-2
spec/javascripts/gl_dropdown_spec.js
spec/javascripts/gl_dropdown_spec.js
+3
-3
spec/javascripts/gl_field_errors_spec.js
spec/javascripts/gl_field_errors_spec.js
+1
-1
spec/javascripts/gl_form_spec.js
spec/javascripts/gl_form_spec.js
+11
-11
spec/javascripts/header_spec.js
spec/javascripts/header_spec.js
+2
-2
spec/javascripts/helpers/class_spec_helper.js
spec/javascripts/helpers/class_spec_helper.js
+1
-3
spec/javascripts/helpers/class_spec_helper_spec.js
spec/javascripts/helpers/class_spec_helper_spec.js
+1
-1
spec/javascripts/helpers/filtered_search_spec_helper.js
spec/javascripts/helpers/filtered_search_spec_helper.js
+1
-3
spec/javascripts/issuable_spec.js
spec/javascripts/issuable_spec.js
+2
-2
spec/javascripts/issue_spec.js
spec/javascripts/issue_spec.js
+1
-1
spec/javascripts/labels_issue_sidebar_spec.js
spec/javascripts/labels_issue_sidebar_spec.js
+8
-8
spec/javascripts/lib/utils/common_utils_spec.js
spec/javascripts/lib/utils/common_utils_spec.js
+1
-1
spec/javascripts/lib/utils/text_utility_spec.js
spec/javascripts/lib/utils/text_utility_spec.js
+1
-1
spec/javascripts/line_highlighter_spec.js
spec/javascripts/line_highlighter_spec.js
+1
-1
spec/javascripts/merge_request_spec.js
spec/javascripts/merge_request_spec.js
+1
-1
spec/javascripts/merge_request_tabs_spec.js
spec/javascripts/merge_request_tabs_spec.js
+8
-8
spec/javascripts/new_branch_spec.js
spec/javascripts/new_branch_spec.js
+1
-1
spec/javascripts/pager_spec.js
spec/javascripts/pager_spec.js
+1
-1
spec/javascripts/pretty_time_spec.js
spec/javascripts/pretty_time_spec.js
+1
-1
spec/javascripts/project_title_spec.js
spec/javascripts/project_title_spec.js
+5
-5
spec/javascripts/search_autocomplete_spec.js
spec/javascripts/search_autocomplete_spec.js
+4
-4
spec/javascripts/shortcuts_issuable_spec.js
spec/javascripts/shortcuts_issuable_spec.js
+2
-2
spec/javascripts/signin_tabs_memoizer_spec.js
spec/javascripts/signin_tabs_memoizer_spec.js
+1
-1
spec/javascripts/smart_interval_spec.js
spec/javascripts/smart_interval_spec.js
+1
-1
spec/javascripts/syntax_highlight_spec.js
spec/javascripts/syntax_highlight_spec.js
+1
-1
spec/javascripts/test_bundle.js
spec/javascripts/test_bundle.js
+8
-6
spec/javascripts/todos_spec.js
spec/javascripts/todos_spec.js
+2
-2
spec/javascripts/u2f/authenticate_spec.js
spec/javascripts/u2f/authenticate_spec.js
+5
-5
spec/javascripts/u2f/register_spec.js
spec/javascripts/u2f/register_spec.js
+5
-5
spec/javascripts/version_check_image_spec.js
spec/javascripts/version_check_image_spec.js
+2
-3
spec/javascripts/visibility_select_spec.js
spec/javascripts/visibility_select_spec.js
+1
-1
spec/javascripts/zen_mode_spec.js
spec/javascripts/zen_mode_spec.js
+1
-1
No files found.
.eslintrc
View file @
b261fb7b
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
},
},
"rules": {
"rules": {
"filenames/match-regex": [2, "^[a-z0-9_]+$"],
"filenames/match-regex": [2, "^[a-z0-9_]+$"],
"import/no-commonjs": "error",
"no-multiple-empty-lines": ["error", { "max": 1 }],
"no-multiple-empty-lines": ["error", { "max": 1 }],
"promise/catch-or-return": "error"
"promise/catch-or-return": "error"
}
}
...
...
app/assets/javascripts/boards/boards_bundle.js
View file @
b261fb7b
...
@@ -6,23 +6,22 @@ import Vue from 'vue';
...
@@ -6,23 +6,22 @@ import Vue from 'vue';
import
VueResource
from
'
vue-resource
'
;
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
'
;
import
'
./models/issue
'
;
require
(
'
./models/issue
'
);
import
'
./models/label
'
;
require
(
'
./models/label
'
);
import
'
./models/list
'
;
require
(
'
./models/list
'
);
import
'
./models/milestone
'
;
require
(
'
./models/milestone
'
);
import
'
./models/assignee
'
;
require
(
'
./models/assignee
'
);
import
'
./stores/boards_store
'
;
require
(
'
./stores/boards_store
'
);
import
'
./stores/modal_store
'
;
require
(
'
./stores/modal_store
'
);
import
'
./services/board_service
'
;
require
(
'
./services/board_service
'
);
import
'
./mixins/modal_mixins
'
;
require
(
'
./mixins/modal_mixins
'
);
import
'
./mixins/sortable_default_options
'
;
require
(
'
./mixins/sortable_default_options
'
);
import
'
./filters/due_date_filters
'
;
require
(
'
./filters/due_date_filters
'
);
import
'
./components/board
'
;
require
(
'
./components/board
'
);
import
'
./components/board_sidebar
'
;
require
(
'
./components/board_sidebar
'
);
import
'
./components/new_list_dropdown
'
;
require
(
'
./components/new_list_dropdown
'
);
import
'
./components/modal/index
'
;
require
(
'
./components/modal/index
'
);
import
'
../vue_shared/vue_resource_interceptor
'
;
require
(
'
../vue_shared/vue_resource_interceptor
'
);
Vue
.
use
(
VueResource
);
Vue
.
use
(
VueResource
);
...
...
app/assets/javascripts/boards/components/board.js
View file @
b261fb7b
...
@@ -3,9 +3,7 @@
...
@@ -3,9 +3,7 @@
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
boardList
from
'
./board_list
'
;
import
boardList
from
'
./board_list
'
;
import
boardBlankState
from
'
./board_blank_state
'
;
import
boardBlankState
from
'
./board_blank_state
'
;
import
'
./board_delete
'
;
require
(
'
./board_delete
'
);
require
(
'
./board_list
'
);
const
Store
=
gl
.
issueBoards
.
BoardsStore
;
const
Store
=
gl
.
issueBoards
.
BoardsStore
;
...
...
app/assets/javascripts/boards/components/board_card.js
View file @
b261fb7b
require
(
'
./issue_card_inner
'
)
;
import
'
./issue_card_inner
'
;
const
Store
=
gl
.
issueBoards
.
BoardsStore
;
const
Store
=
gl
.
issueBoards
.
BoardsStore
;
...
...
app/assets/javascripts/boards/components/board_sidebar.js
View file @
b261fb7b
...
@@ -7,11 +7,9 @@
...
@@ -7,11 +7,9 @@
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
eventHub
from
'
../../sidebar/event_hub
'
;
import
eventHub
from
'
../../sidebar/event_hub
'
;
import
AssigneeTitle
from
'
../../sidebar/components/assignees/assignee_title
'
;
import
AssigneeTitle
from
'
../../sidebar/components/assignees/assignee_title
'
;
import
Assignees
from
'
../../sidebar/components/assignees/assignees
'
;
import
Assignees
from
'
../../sidebar/components/assignees/assignees
'
;
import
'
./sidebar/remove_issue
'
;
require
(
'
./sidebar/remove_issue
'
);
const
Store
=
gl
.
issueBoards
.
BoardsStore
;
const
Store
=
gl
.
issueBoards
.
BoardsStore
;
...
...
app/assets/javascripts/boards/components/modal/footer.js
View file @
b261fb7b
...
@@ -2,8 +2,7 @@
...
@@ -2,8 +2,7 @@
/* global Flash */
/* global Flash */
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
'
./lists_dropdown
'
;
require
(
'
./lists_dropdown
'
);
const
ModalStore
=
gl
.
issueBoards
.
ModalStore
;
const
ModalStore
=
gl
.
issueBoards
.
ModalStore
;
...
...
app/assets/javascripts/boards/components/modal/header.js
View file @
b261fb7b
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
modalFilters
from
'
./filters
'
;
import
modalFilters
from
'
./filters
'
;
import
'
./tabs
'
;
require
(
'
./tabs
'
);
const
ModalStore
=
gl
.
issueBoards
.
ModalStore
;
const
ModalStore
=
gl
.
issueBoards
.
ModalStore
;
...
...
app/assets/javascripts/boards/components/modal/index.js
View file @
b261fb7b
...
@@ -3,11 +3,10 @@
...
@@ -3,11 +3,10 @@
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
queryData
from
'
../../utils/query_data
'
;
import
queryData
from
'
../../utils/query_data
'
;
import
loadingIcon
from
'
../../../vue_shared/components/loading_icon.vue
'
;
import
loadingIcon
from
'
../../../vue_shared/components/loading_icon.vue
'
;
import
'
./header
'
;
require
(
'
./header
'
);
import
'
./list
'
;
require
(
'
./list
'
);
import
'
./footer
'
;
require
(
'
./footer
'
);
import
'
./empty_state
'
;
require
(
'
./empty_state
'
);
const
ModalStore
=
gl
.
issueBoards
.
ModalStore
;
const
ModalStore
=
gl
.
issueBoards
.
ModalStore
;
...
...
app/assets/javascripts/copy_as_gfm.js
View file @
b261fb7b
/* eslint-disable class-methods-use-this, object-shorthand, no-unused-vars, no-use-before-define, no-new, max-len, no-restricted-syntax, guard-for-in, no-continue */
/* eslint-disable class-methods-use-this, object-shorthand, no-unused-vars, no-use-before-define, no-new, max-len, no-restricted-syntax, guard-for-in, no-continue */
require
(
'
./lib/utils/common_utils
'
)
;
import
'
./lib/utils/common_utils
'
;
const
gfmRules
=
{
const
gfmRules
=
{
// The filters referenced in lib/banzai/pipeline/gfm_pipeline.rb convert
// The filters referenced in lib/banzai/pipeline/gfm_pipeline.rb convert
...
...
app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js
View file @
b261fb7b
...
@@ -4,18 +4,16 @@ import Vue from 'vue';
...
@@ -4,18 +4,16 @@ import Vue from 'vue';
import
Cookies
from
'
js-cookie
'
;
import
Cookies
from
'
js-cookie
'
;
import
Translate
from
'
../vue_shared/translate
'
;
import
Translate
from
'
../vue_shared/translate
'
;
import
LimitWarningComponent
from
'
./components/limit_warning_component
'
;
import
LimitWarningComponent
from
'
./components/limit_warning_component
'
;
import
'
./components/stage_code_component
'
;
require
(
'
./components/stage_code_component
'
);
import
'
./components/stage_issue_component
'
;
require
(
'
./components/stage_issue_component
'
);
import
'
./components/stage_plan_component
'
;
require
(
'
./components/stage_plan_component
'
);
import
'
./components/stage_production_component
'
;
require
(
'
./components/stage_production_component
'
);
import
'
./components/stage_review_component
'
;
require
(
'
./components/stage_review_component
'
);
import
'
./components/stage_staging_component
'
;
require
(
'
./components/stage_staging_component
'
);
import
'
./components/stage_test_component
'
;
require
(
'
./components/stage_test_component
'
);
import
'
./components/total_time_component
'
;
require
(
'
./components/total_time_component
'
);
import
'
./cycle_analytics_service
'
;
require
(
'
./cycle_analytics_service
'
);
import
'
./cycle_analytics_store
'
;
require
(
'
./cycle_analytics_store
'
);
require
(
'
./default_event_objects
'
);
Vue
.
use
(
Translate
);
Vue
.
use
(
Translate
);
...
...
app/assets/javascripts/cycle_analytics/cycle_analytics_store.js
View file @
b261fb7b
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
import
{
__
}
from
'
../locale
'
;
require
(
'
../lib/utils/text_utility
'
);
import
{
__
}
from
'
../locale
'
;
const
DEFAULT_EVENT_OBJECTS
=
require
(
'
./default_event_objects
'
);
import
'
../lib/utils/text_utility
'
;
import
DEFAULT_EVENT_OBJECTS
from
'
./default_event_objects
'
;
const
global
=
window
.
gl
||
(
window
.
gl
=
{});
const
global
=
window
.
gl
||
(
window
.
gl
=
{});
global
.
cycleAnalytics
=
global
.
cycleAnalytics
||
{};
global
.
cycleAnalytics
=
global
.
cycleAnalytics
||
{};
...
...
app/assets/javascripts/cycle_analytics/default_event_objects.js
View file @
b261fb7b
module
.
exports
=
{
export
default
{
issue
:
{
issue
:
{
created_at
:
''
,
created_at
:
''
,
url
:
''
,
url
:
''
,
...
...
app/assets/javascripts/diff.js
View file @
b261fb7b
/* eslint-disable class-methods-use-this */
/* eslint-disable class-methods-use-this */
require
(
'
./lib/utils/url_utility
'
)
;
import
'
./lib/utils/url_utility
'
;
const
UNFOLD_COUNT
=
20
;
const
UNFOLD_COUNT
=
20
;
let
isBound
=
false
;
let
isBound
=
false
;
...
...
app/assets/javascripts/diff_notes/diff_notes_bundle.js
View file @
b261fb7b
...
@@ -2,19 +2,18 @@
...
@@ -2,19 +2,18 @@
/* global ResolveCount */
/* global ResolveCount */
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
'
./models/discussion
'
;
require
(
'
./models/discussion
'
);
import
'
./models/note
'
;
require
(
'
./models/note
'
);
import
'
./stores/comments
'
;
require
(
'
./stores/comments
'
);
import
'
./services/resolve
'
;
require
(
'
./services/resolve
'
);
import
'
./mixins/discussion
'
;
require
(
'
./mixins/discussion
'
);
import
'
./components/comment_resolve_btn
'
;
require
(
'
./components/comment_resolve_btn
'
);
import
'
./components/jump_to_discussion
'
;
require
(
'
./components/jump_to_discussion
'
);
import
'
./components/resolve_btn
'
;
require
(
'
./components/resolve_btn
'
);
import
'
./components/resolve_count
'
;
require
(
'
./components/resolve_count
'
);
import
'
./components/resolve_discussion_btn
'
;
require
(
'
./components/resolve_discussion_btn
'
);
import
'
./components/diff_note_avatars
'
;
require
(
'
./components/diff_note_avatars
'
);
import
'
./components/new_issue_for_discussion
'
;
require
(
'
./components/new_issue_for_discussion
'
);
$
(()
=>
{
$
(()
=>
{
const
projectPath
=
document
.
querySelector
(
'
.merge-request
'
).
dataset
.
projectPath
;
const
projectPath
=
document
.
querySelector
(
'
.merge-request
'
).
dataset
.
projectPath
;
...
...
app/assets/javascripts/diff_notes/services/resolve.js
View file @
b261fb7b
...
@@ -3,11 +3,7 @@
...
@@ -3,11 +3,7 @@
/* global CommentsStore */
/* global CommentsStore */
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
VueResource
from
'
vue-resource
'
;
import
'
../../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/dispatcher.js
View file @
b261fb7b
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
/* global ShortcutsWiki */
/* global ShortcutsWiki */
import
Issue
from
'
./issue
'
;
import
Issue
from
'
./issue
'
;
import
BindInOut
from
'
./behaviors/bind_in_out
'
;
import
BindInOut
from
'
./behaviors/bind_in_out
'
;
import
DeleteModal
from
'
./branches/branches_delete_modal
'
;
import
DeleteModal
from
'
./branches/branches_delete_modal
'
;
import
Group
from
'
./group
'
;
import
Group
from
'
./group
'
;
...
@@ -54,8 +53,7 @@ import AutoWidthDropdownSelect from './issuable/auto_width_dropdown_select';
...
@@ -54,8 +53,7 @@ import AutoWidthDropdownSelect from './issuable/auto_width_dropdown_select';
import
UsersSelect
from
'
./users_select
'
;
import
UsersSelect
from
'
./users_select
'
;
import
RefSelectDropdown
from
'
./ref_select_dropdown
'
;
import
RefSelectDropdown
from
'
./ref_select_dropdown
'
;
import
GfmAutoComplete
from
'
./gfm_auto_complete
'
;
import
GfmAutoComplete
from
'
./gfm_auto_complete
'
;
import
ShortcutsBlob
from
'
./shortcuts_blob
'
;
const
ShortcutsBlob
=
require
(
'
./shortcuts_blob
'
);
(
function
()
{
(
function
()
{
var
Dispatcher
;
var
Dispatcher
;
...
...
app/assets/javascripts/dropzone_input.js
View file @
b261fb7b
/* eslint-disable func-names, space-before-function-paren, wrap-iife, max-len, one-var, no-var, one-var-declaration-per-line, no-unused-vars, camelcase, quotes, no-useless-concat, prefer-template, quote-props, comma-dangle, object-shorthand, consistent-return, prefer-arrow-callback */
/* eslint-disable func-names, space-before-function-paren, wrap-iife, max-len, one-var, no-var, one-var-declaration-per-line, no-unused-vars, camelcase, quotes, no-useless-concat, prefer-template, quote-props, comma-dangle, object-shorthand, consistent-return, prefer-arrow-callback */
/* global Dropzone */
/* global Dropzone */
require
(
'
./preview_markdown
'
)
;
import
'
./preview_markdown
'
;
window
.
DropzoneInput
=
(
function
()
{
window
.
DropzoneInput
=
(
function
()
{
function
DropzoneInput
(
form
)
{
function
DropzoneInput
(
form
)
{
...
...
app/assets/javascripts/filtered_search/dropdown_hint.js
View file @
b261fb7b
import
Filter
from
'
~/droplab/plugins/filter
'
;
import
Filter
from
'
~/droplab/plugins/filter
'
;
import
'
./filtered_search_dropdown
'
;
require
(
'
./filtered_search_dropdown
'
);
class
DropdownHint
extends
gl
.
FilteredSearchDropdown
{
class
DropdownHint
extends
gl
.
FilteredSearchDropdown
{
constructor
(
droplab
,
dropdown
,
input
,
filter
)
{
constructor
(
droplab
,
dropdown
,
input
,
filter
)
{
...
...
app/assets/javascripts/filtered_search/dropdown_non_user.js
View file @
b261fb7b
...
@@ -2,8 +2,7 @@
...
@@ -2,8 +2,7 @@
import
Ajax
from
'
~/droplab/plugins/ajax
'
;
import
Ajax
from
'
~/droplab/plugins/ajax
'
;
import
Filter
from
'
~/droplab/plugins/filter
'
;
import
Filter
from
'
~/droplab/plugins/filter
'
;
import
'
./filtered_search_dropdown
'
;
require
(
'
./filtered_search_dropdown
'
);
class
DropdownNonUser
extends
gl
.
FilteredSearchDropdown
{
class
DropdownNonUser
extends
gl
.
FilteredSearchDropdown
{
constructor
(
droplab
,
dropdown
,
input
,
filter
,
endpoint
,
symbol
)
{
constructor
(
droplab
,
dropdown
,
input
,
filter
,
endpoint
,
symbol
)
{
...
...
app/assets/javascripts/filtered_search/dropdown_user.js
View file @
b261fb7b
/* global Flash */
/* global Flash */
import
AjaxFilter
from
'
~/droplab/plugins/ajax_filter
'
;
import
AjaxFilter
from
'
~/droplab/plugins/ajax_filter
'
;
import
'
./filtered_search_dropdown
'
;
require
(
'
./filtered_search_dropdown
'
);
class
DropdownUser
extends
gl
.
FilteredSearchDropdown
{
class
DropdownUser
extends
gl
.
FilteredSearchDropdown
{
constructor
(
droplab
,
dropdown
,
input
,
filter
)
{
constructor
(
droplab
,
dropdown
,
input
,
filter
)
{
...
...
app/assets/javascripts/filtered_search/filtered_search_bundle.js
View file @
b261fb7b
require
(
'
./dropdown_hint
'
)
;
import
'
./dropdown_hint
'
;
require
(
'
./dropdown_non_user
'
)
;
import
'
./dropdown_non_user
'
;
require
(
'
./dropdown_user
'
)
;
import
'
./dropdown_user
'
;
require
(
'
./dropdown_utils
'
)
;
import
'
./dropdown_utils
'
;
require
(
'
./filtered_search_dropdown_manager
'
)
;
import
'
./filtered_search_dropdown_manager
'
;
require
(
'
./filtered_search_dropdown
'
)
;
import
'
./filtered_search_dropdown
'
;
require
(
'
./filtered_search_manager
'
)
;
import
'
./filtered_search_manager
'
;
require
(
'
./filtered_search_token_keys
'
)
;
import
'
./filtered_search_token_keys
'
;
require
(
'
./filtered_search_tokenizer
'
)
;
import
'
./filtered_search_tokenizer
'
;
require
(
'
./filtered_search_visual_tokens
'
)
;
import
'
./filtered_search_visual_tokens
'
;
app/assets/javascripts/filtered_search/filtered_search_tokenizer.js
View file @
b261fb7b
require
(
'
./filtered_search_token_keys
'
)
;
import
'
./filtered_search_token_keys
'
;
class
FilteredSearchTokenizer
{
class
FilteredSearchTokenizer
{
static
processTokens
(
input
)
{
static
processTokens
(
input
)
{
...
...
app/assets/javascripts/gl_field_errors.js
View file @
b261fb7b
/* eslint-disable comma-dangle, class-methods-use-this, max-len, space-before-function-paren, arrow-parens, no-param-reassign */
/* eslint-disable comma-dangle, class-methods-use-this, max-len, space-before-function-paren, arrow-parens, no-param-reassign */
require
(
'
./gl_field_error
'
)
;
import
'
./gl_field_error
'
;
const
customValidationFlag
=
'
gl-field-error-ignore
'
;
const
customValidationFlag
=
'
gl-field-error-ignore
'
;
...
...
app/assets/javascripts/issue.js
View file @
b261fb7b
/* eslint-disable func-names, space-before-function-paren, no-var, prefer-rest-params, wrap-iife, one-var, no-underscore-dangle, one-var-declaration-per-line, object-shorthand, no-unused-vars, no-new, comma-dangle, consistent-return, quotes, dot-notation, quote-props, prefer-arrow-callback, max-len */
/* eslint-disable func-names, space-before-function-paren, no-var, prefer-rest-params, wrap-iife, one-var, no-underscore-dangle, one-var-declaration-per-line, object-shorthand, no-unused-vars, no-new, comma-dangle, consistent-return, quotes, dot-notation, quote-props, prefer-arrow-callback, max-len */
/* global Flash */
/* global Flash */
import
CreateMergeRequestDropdown
from
'
./create_merge_request_dropdown
'
;
require
(
'
./flash
'
);
import
'
vendor/jquery.waitforimages
'
;
require
(
'
~/lib/utils/text_utility
'
);
import
'
~/lib/utils/text_utility
'
;
require
(
'
vendor/jquery.waitforimages
'
);
import
'
./flash
'
;
require
(
'
./task_list
'
);
import
'
./task_list
'
;
import
CreateMergeRequestDropdown
from
'
./create_merge_request_dropdown
'
;
class
Issue
{
class
Issue
{
constructor
()
{
constructor
()
{
...
...
app/assets/javascripts/lib/utils/datetime_utility.js
View file @
b261fb7b
/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-var, no-param-reassign, no-cond-assign, comma-dangle, no-unused-expressions, prefer-template, max-len */
/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-var, no-param-reassign, no-cond-assign, comma-dangle, no-unused-expressions, prefer-template, max-len */
/* global timeago */
/* global dateFormat */
window
.
timeago
=
require
(
'
timeago.js
'
);
import
timeago
from
'
timeago.js
'
;
window
.
dateFormat
=
require
(
'
vendor/date.format
'
);
import
dateFormat
from
'
vendor/date.format
'
;
window
.
timeago
=
timeago
;
window
.
dateFormat
=
dateFormat
;
(
function
()
{
(
function
()
{
(
function
(
w
)
{
(
function
(
w
)
{
...
@@ -101,8 +102,7 @@ window.dateFormat = require('vendor/date.format');
...
@@ -101,8 +102,7 @@ window.dateFormat = require('vendor/date.format');
};
};
w
.
gl
.
utils
.
updateTimeagoText
=
function
(
el
)
{
w
.
gl
.
utils
.
updateTimeagoText
=
function
(
el
)
{
const
timeago
=
gl
.
utils
.
getTimeago
();
const
formattedDate
=
gl
.
utils
.
getTimeago
().
format
(
el
.
getAttribute
(
'
datetime
'
),
'
gl_en
'
);
const
formattedDate
=
timeago
.
format
(
el
.
getAttribute
(
'
datetime
'
),
'
gl_en
'
);
if
(
el
.
textContent
!==
formattedDate
)
{
if
(
el
.
textContent
!==
formattedDate
)
{
el
.
textContent
=
formattedDate
;
el
.
textContent
=
formattedDate
;
...
...
app/assets/javascripts/lib/utils/http_status.js
View file @
b261fb7b
...
@@ -2,9 +2,7 @@
...
@@ -2,9 +2,7 @@
* exports HTTP status codes
* exports HTTP status codes
*/
*/
const
statusCodes
=
{
export
default
{
NO_CONTENT
:
204
,
NO_CONTENT
:
204
,
OK
:
200
,
OK
:
200
,
};
};
module
.
exports
=
statusCodes
;
app/assets/javascripts/lib/utils/text_utility.js
View file @
b261fb7b
/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-var, no-param-reassign, no-cond-assign, quotes, one-var, one-var-declaration-per-line, operator-assignment, no-else-return, prefer-template, prefer-arrow-callback, no-empty, max-len, consistent-return, no-unused-vars, no-return-assign, max-len, vars-on-top */
/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-var, no-param-reassign, no-cond-assign, quotes, one-var, one-var-declaration-per-line, operator-assignment, no-else-return, prefer-template, prefer-arrow-callback, no-empty, max-len, consistent-return, no-unused-vars, no-return-assign, max-len, vars-on-top */
require
(
'
vendor/latinise
'
);
import
'
vendor/latinise
'
;
var
base
;
var
base
;
var
w
=
window
;
var
w
=
window
;
...
...
app/assets/javascripts/line_highlighter.js
View file @
b261fb7b
...
@@ -4,8 +4,6 @@
...
@@ -4,8 +4,6 @@
//
//
// Handles single- and multi-line selection and highlight for blob views.
// Handles single- and multi-line selection and highlight for blob views.
//
//
require
(
'
vendor/jquery.scrollTo
'
);
//
//
// ### Example Markup
// ### Example Markup
//
//
...
...
app/assets/javascripts/main.js
View file @
b261fb7b
...
@@ -170,7 +170,7 @@ import './visibility_select';
...
@@ -170,7 +170,7 @@ import './visibility_select';
import
'
./wikis
'
;
import
'
./wikis
'
;
import
'
./zen_mode
'
;
import
'
./zen_mode
'
;
// eslint-disable-next-line global-require
// eslint-disable-next-line global-require
, import/no-commonjs
if
(
process
.
env
.
NODE_ENV
!==
'
production
'
)
require
(
'
./test_utils/
'
);
if
(
process
.
env
.
NODE_ENV
!==
'
production
'
)
require
(
'
./test_utils/
'
);
document
.
addEventListener
(
'
beforeunload
'
,
function
()
{
document
.
addEventListener
(
'
beforeunload
'
,
function
()
{
...
...
app/assets/javascripts/merge_conflicts/merge_conflicts_bundle.js
View file @
b261fb7b
...
@@ -2,14 +2,13 @@
...
@@ -2,14 +2,13 @@
/* global Flash */
/* global Flash */
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
'
./merge_conflict_store
'
;
require
(
'
./merge_conflict_store
'
);
import
'
./merge_conflict_service
'
;
require
(
'
./merge_conflict_service
'
);
import
'
./mixins/line_conflict_utils
'
;
require
(
'
./mixins/line_conflict_utils
'
);
import
'
./mixins/line_conflict_actions
'
;
require
(
'
./mixins/line_conflict_actions
'
);
import
'
./components/diff_file_editor
'
;
require
(
'
./components/diff_file_editor
'
);
import
'
./components/inline_conflict_lines
'
;
require
(
'
./components/inline_conflict_lines
'
);
import
'
./components/parallel_conflict_lines
'
;
require
(
'
./components/parallel_conflict_lines
'
);
$
(()
=>
{
$
(()
=>
{
const
INTERACTIVE_RESOLVE_MODE
=
'
interactive
'
;
const
INTERACTIVE_RESOLVE_MODE
=
'
interactive
'
;
...
...
app/assets/javascripts/merge_request.js
View file @
b261fb7b
/* eslint-disable func-names, space-before-function-paren, no-var, prefer-rest-params, wrap-iife, quotes, no-underscore-dangle, one-var, one-var-declaration-per-line, consistent-return, dot-notation, quote-props, comma-dangle, object-shorthand, max-len, prefer-arrow-callback */
/* eslint-disable func-names, space-before-function-paren, no-var, prefer-rest-params, wrap-iife, quotes, no-underscore-dangle, one-var, one-var-declaration-per-line, consistent-return, dot-notation, quote-props, comma-dangle, object-shorthand, max-len, prefer-arrow-callback */
/* global MergeRequestTabs */
/* global MergeRequestTabs */
require
(
'
vendor/jquery.waitforimages
'
)
;
import
'
vendor/jquery.waitforimages
'
;
require
(
'
./task_list
'
)
;
import
'
./task_list
'
;
require
(
'
./merge_request_tabs
'
)
;
import
'
./merge_request_tabs
'
;
(
function
()
{
(
function
()
{
this
.
MergeRequest
=
(
function
()
{
this
.
MergeRequest
=
(
function
()
{
...
...
app/assets/javascripts/notes.js
View file @
b261fb7b
...
@@ -6,15 +6,17 @@
...
@@ -6,15 +6,17 @@
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
Cookies
from
'
js-cookie
'
;
import
Cookies
from
'
js-cookie
'
;
import
autosize
from
'
vendor/autosize
'
;
import
Dropzone
from
'
dropzone
'
;
import
'
vendor/jquery.caret
'
;
// required by jquery.atwho
import
'
vendor/jquery.atwho
'
;
import
CommentTypeToggle
from
'
./comment_type_toggle
'
;
import
CommentTypeToggle
from
'
./comment_type_toggle
'
;
import
'
./autosave
'
;
import
'
./dropzone_input
'
;
import
'
./task_list
'
;
require
(
'
./autosave
'
);
window
.
autosize
=
autosize
;
window
.
autosize
=
require
(
'
vendor/autosize
'
);
window
.
Dropzone
=
Dropzone
;
window
.
Dropzone
=
require
(
'
dropzone
'
);
require
(
'
./dropzone_input
'
);
require
(
'
vendor/jquery.caret
'
);
// required by jquery.atwho
require
(
'
vendor/jquery.atwho
'
);
require
(
'
./task_list
'
);
const
normalizeNewlines
=
function
(
str
)
{
const
normalizeNewlines
=
function
(
str
)
{
return
str
.
replace
(
/
\r\n
/g
,
'
\n
'
);
return
str
.
replace
(
/
\r\n
/g
,
'
\n
'
);
...
...
app/assets/javascripts/pager.js
View file @
b261fb7b
require
(
'
~/lib/utils/common_utils
'
)
;
import
'
~/lib/utils/common_utils
'
;
require
(
'
~/lib/utils/url_utility
'
)
;
import
'
~/lib/utils/url_utility
'
;
(()
=>
{
(()
=>
{
const
ENDLESS_SCROLL_BOTTOM_PX
=
400
;
const
ENDLESS_SCROLL_BOTTOM_PX
=
400
;
...
...
app/assets/javascripts/profile/profile_bundle.js
View file @
b261fb7b
require
(
'
./gl_crop
'
)
;
import
'
./gl_crop
'
;
require
(
'
./profile
'
)
;
import
'
./profile
'
;
app/assets/javascripts/protected_branches/protected_branches_bundle.js
View file @
b261fb7b
require
(
'
./protected_branch_access_dropdown
'
)
;
import
'
./protected_branch_access_dropdown
'
;
require
(
'
./protected_branch_create
'
)
;
import
'
./protected_branch_create
'
;
require
(
'
./protected_branch_dropdown
'
)
;
import
'
./protected_branch_dropdown
'
;
require
(
'
./protected_branch_edit
'
)
;
import
'
./protected_branch_edit
'
;
require
(
'
./protected_branch_edit_list
'
)
;
import
'
./protected_branch_edit_list
'
;
app/assets/javascripts/shortcuts_blob.js
View file @
b261fb7b
/* global Mousetrap */
/* global Mousetrap */
/* global Shortcuts */
/* global Shortcuts */
require
(
'
./shortcuts
'
)
;
import
'
./shortcuts
'
;
const
defaults
=
{
const
defaults
=
{
skipResetBindings
:
false
,
skipResetBindings
:
false
,
fileBlobPermalinkUrl
:
null
,
fileBlobPermalinkUrl
:
null
,
};
};
class
ShortcutsBlob
extends
Shortcuts
{
export
default
class
ShortcutsBlob
extends
Shortcuts
{
constructor
(
opts
)
{
constructor
(
opts
)
{
const
options
=
Object
.
assign
({},
defaults
,
opts
);
const
options
=
Object
.
assign
({},
defaults
,
opts
);
super
(
options
.
skipResetBindings
);
super
(
options
.
skipResetBindings
);
...
@@ -25,5 +25,3 @@ class ShortcutsBlob extends Shortcuts {
...
@@ -25,5 +25,3 @@ class ShortcutsBlob extends Shortcuts {
}
}
}
}
}
}
module
.
exports
=
ShortcutsBlob
;
app/assets/javascripts/shortcuts_find_file.js
View file @
b261fb7b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
/* global Mousetrap */
/* global Mousetrap */
/* global ShortcutsNavigation */
/* global ShortcutsNavigation */
require
(
'
./shortcuts_navigation
'
)
;
import
'
./shortcuts_navigation
'
;
(
function
()
{
(
function
()
{
var
extend
=
function
(
child
,
parent
)
{
for
(
var
key
in
parent
)
{
if
(
hasProp
.
call
(
parent
,
key
))
child
[
key
]
=
parent
[
key
];
}
function
ctor
()
{
this
.
constructor
=
child
;
}
ctor
.
prototype
=
parent
.
prototype
;
child
.
prototype
=
new
ctor
();
child
.
__super__
=
parent
.
prototype
;
return
child
;
},
var
extend
=
function
(
child
,
parent
)
{
for
(
var
key
in
parent
)
{
if
(
hasProp
.
call
(
parent
,
key
))
child
[
key
]
=
parent
[
key
];
}
function
ctor
()
{
this
.
constructor
=
child
;
}
ctor
.
prototype
=
parent
.
prototype
;
child
.
prototype
=
new
ctor
();
child
.
__super__
=
parent
.
prototype
;
return
child
;
},
...
...
app/assets/javascripts/shortcuts_issuable.js
View file @
b261fb7b
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
/* global ShortcutsNavigation */
/* global ShortcutsNavigation */
/* global sidebar */
/* global sidebar */
require
(
'
mousetrap
'
)
;
import
'
mousetrap
'
;
require
(
'
./shortcuts_navigation
'
)
;
import
'
./shortcuts_navigation
'
;
(
function
()
{
(
function
()
{
var
extend
=
function
(
child
,
parent
)
{
for
(
var
key
in
parent
)
{
if
(
hasProp
.
call
(
parent
,
key
))
child
[
key
]
=
parent
[
key
];
}
function
ctor
()
{
this
.
constructor
=
child
;
}
ctor
.
prototype
=
parent
.
prototype
;
child
.
prototype
=
new
ctor
();
child
.
__super__
=
parent
.
prototype
;
return
child
;
},
var
extend
=
function
(
child
,
parent
)
{
for
(
var
key
in
parent
)
{
if
(
hasProp
.
call
(
parent
,
key
))
child
[
key
]
=
parent
[
key
];
}
function
ctor
()
{
this
.
constructor
=
child
;
}
ctor
.
prototype
=
parent
.
prototype
;
child
.
prototype
=
new
ctor
();
child
.
__super__
=
parent
.
prototype
;
return
child
;
},
...
...
app/assets/javascripts/shortcuts_navigation.js
View file @
b261fb7b
/* eslint-disable func-names, space-before-function-paren, max-len, no-var, one-var, no-restricted-syntax, vars-on-top, no-use-before-define, no-param-reassign, new-cap, no-underscore-dangle, wrap-iife, prefer-arrow-callback, consistent-return, no-return-assign */
/* eslint-disable func-names, space-before-function-paren, max-len, no-var, one-var, no-restricted-syntax, vars-on-top, no-use-before-define, no-param-reassign, new-cap, no-underscore-dangle, wrap-iife, prefer-arrow-callback, consistent-return, no-return-assign */
/* global Mousetrap */
/* global Mousetrap */
/* global Shortcuts */
/* global Shortcuts */
import
findAndFollowLink
from
'
./shortcuts_dashboard_navigation
'
;
require
(
'
./shortcuts
'
);
import
findAndFollowLink
from
'
./shortcuts_dashboard_navigation
'
;
import
'
./shortcuts
'
;
(
function
()
{
(
function
()
{
var
extend
=
function
(
child
,
parent
)
{
for
(
var
key
in
parent
)
{
if
(
hasProp
.
call
(
parent
,
key
))
child
[
key
]
=
parent
[
key
];
}
function
ctor
()
{
this
.
constructor
=
child
;
}
ctor
.
prototype
=
parent
.
prototype
;
child
.
prototype
=
new
ctor
();
child
.
__super__
=
parent
.
prototype
;
return
child
;
},
var
extend
=
function
(
child
,
parent
)
{
for
(
var
key
in
parent
)
{
if
(
hasProp
.
call
(
parent
,
key
))
child
[
key
]
=
parent
[
key
];
}
function
ctor
()
{
this
.
constructor
=
child
;
}
ctor
.
prototype
=
parent
.
prototype
;
child
.
prototype
=
new
ctor
();
child
.
__super__
=
parent
.
prototype
;
return
child
;
},
...
...
app/assets/javascripts/shortcuts_network.js
View file @
b261fb7b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
/* global Mousetrap */
/* global Mousetrap */
/* global ShortcutsNavigation */
/* global ShortcutsNavigation */
require
(
'
./shortcuts_navigation
'
)
;
import
'
./shortcuts_navigation
'
;
(
function
()
{
(
function
()
{
var
extend
=
function
(
child
,
parent
)
{
for
(
var
key
in
parent
)
{
if
(
hasProp
.
call
(
parent
,
key
))
child
[
key
]
=
parent
[
key
];
}
function
ctor
()
{
this
.
constructor
=
child
;
}
ctor
.
prototype
=
parent
.
prototype
;
child
.
prototype
=
new
ctor
();
child
.
__super__
=
parent
.
prototype
;
return
child
;
},
var
extend
=
function
(
child
,
parent
)
{
for
(
var
key
in
parent
)
{
if
(
hasProp
.
call
(
parent
,
key
))
child
[
key
]
=
parent
[
key
];
}
function
ctor
()
{
this
.
constructor
=
child
;
}
ctor
.
prototype
=
parent
.
prototype
;
child
.
prototype
=
new
ctor
();
child
.
__super__
=
parent
.
prototype
;
return
child
;
},
...
...
app/assets/javascripts/task_list.js
View file @
b261fb7b
/* global Flash */
/* global Flash */
require
(
'
vendor/task_list
'
);
import
'
vendor/task_list
'
;
class
TaskList
{
class
TaskList
{
constructor
(
options
=
{})
{
constructor
(
options
=
{})
{
...
...
app/assets/javascripts/terminal/terminal_bundle.js
View file @
b261fb7b
require
(
'
vendor/xterm/encoding-indexes.js
'
);
import
'
vendor/xterm/encoding-indexes
'
;
require
(
'
vendor/xterm/encoding.js
'
);
import
'
vendor/xterm/encoding
'
;
window
.
Terminal
=
require
(
'
vendor/xterm/xterm.js
'
);
import
Terminal
from
'
vendor/xterm/xterm
'
;
require
(
'
vendor/xterm/fit.js
'
);
import
'
vendor/xterm/fit
'
;
require
(
'
./terminal.js
'
);
import
'
./terminal
'
;
window
.
Terminal
=
Terminal
;
$
(()
=>
new
gl
.
Terminal
({
selector
:
'
#terminal
'
}));
$
(()
=>
new
gl
.
Terminal
({
selector
:
'
#terminal
'
}));
app/assets/javascripts/users/users_bundle.js
View file @
b261fb7b
require
(
'
./calendar
'
)
;
import
'
./calendar
'
;
app/assets/javascripts/version_check_image.js
View file @
b261fb7b
class
VersionCheckImage
{
export
default
class
VersionCheckImage
{
static
bindErrorEvent
(
imageElement
)
{
static
bindErrorEvent
(
imageElement
)
{
imageElement
.
off
(
'
error
'
).
on
(
'
error
'
,
()
=>
imageElement
.
hide
());
imageElement
.
off
(
'
error
'
).
on
(
'
error
'
,
()
=>
imageElement
.
hide
());
}
}
...
@@ -6,5 +6,3 @@ class VersionCheckImage {
...
@@ -6,5 +6,3 @@ class VersionCheckImage {
window
.
gl
=
window
.
gl
||
{};
window
.
gl
=
window
.
gl
||
{};
gl
.
VersionCheckImage
=
VersionCheckImage
;
gl
.
VersionCheckImage
=
VersionCheckImage
;
module
.
exports
=
VersionCheckImage
;
app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js
View file @
b261fb7b
require
(
'
../../lib/utils/text_utility
'
)
;
import
'
../../lib/utils/text_utility
'
;
export
default
{
export
default
{
name
:
'
MRWidgetHeader
'
,
name
:
'
MRWidgetHeader
'
,
...
...
app/assets/javascripts/wikis.js
View file @
b261fb7b
/* eslint-disable no-param-reassign */
/* eslint-disable no-param-reassign */
/* global Breakpoints */
/* global Breakpoints */
require
(
'
./breakpoints
'
)
;
import
'
vendor/jquery.nicescroll
'
;
require
(
'
vendor/jquery.nicescroll
'
)
;
import
'
./breakpoints
'
;
((
global
)
=>
{
((
global
)
=>
{
class
Wikis
{
class
Wikis
{
...
...
app/assets/javascripts/zen_mode.js
View file @
b261fb7b
/* eslint-disable func-names, space-before-function-paren, wrap-iife, prefer-arrow-callback, no-unused-vars, consistent-return, camelcase, comma-dangle, max-len */
/* eslint-disable func-names, space-before-function-paren, wrap-iife, prefer-arrow-callback, no-unused-vars, consistent-return, camelcase, comma-dangle, max-len */
/* global Dropzone */
/* global Mousetrap */
/* global Mousetrap */
// Zen Mode (full screen) textarea
// Zen Mode (full screen) textarea
...
@@ -7,10 +6,12 @@
...
@@ -7,10 +6,12 @@
/*= provides zen_mode:enter */
/*= provides zen_mode:enter */
/*= provides zen_mode:leave */
/*= provides zen_mode:leave */
require
(
'
vendor/jquery.scrollTo
'
);
import
'
vendor/jquery.scrollTo
'
;
window
.
Dropzone
=
require
(
'
dropzone
'
);
import
Dropzone
from
'
dropzone
'
;
require
(
'
mousetrap
'
);
import
'
mousetrap
'
;
require
(
'
mousetrap/plugins/pause/mousetrap-pause
'
);
import
'
mousetrap/plugins/pause/mousetrap-pause
'
;
window
.
Dropzone
=
Dropzone
;
//
//
// ### Events
// ### Events
...
...
spec/javascripts/abuse_reports_spec.js
View file @
b261fb7b
require
(
'
~/lib/utils/text_utility
'
)
;
import
'
~/lib/utils/text_utility
'
;
require
(
'
~/abuse_reports
'
)
;
import
'
~/abuse_reports
'
;
((
global
)
=>
{
((
global
)
=>
{
describe
(
'
Abuse Reports
'
,
()
=>
{
describe
(
'
Abuse Reports
'
,
()
=>
{
...
...
spec/javascripts/activities_spec.js
View file @
b261fb7b
/* eslint-disable no-unused-expressions, no-prototype-builtins, no-new, no-shadow, max-len */
/* eslint-disable no-unused-expressions, no-prototype-builtins, no-new, no-shadow, max-len */
require
(
'
vendor/jquery.endless-scroll.js
'
)
;
import
'
vendor/jquery.endless-scroll
'
;
require
(
'
~/pager
'
)
;
import
'
~/pager
'
;
require
(
'
~/activities
'
)
;
import
'
~/activities
'
;
(()
=>
{
(()
=>
{
window
.
gon
||
(
window
.
gon
=
{});
window
.
gon
||
(
window
.
gon
=
{});
...
...
spec/javascripts/ajax_loading_spinner_spec.js
View file @
b261fb7b
require
(
'
~/extensions/array
'
)
;
import
'
~/extensions/array
'
;
require
(
'
jquery
'
)
;
import
'
jquery
'
;
require
(
'
jquery-ujs
'
)
;
import
'
jquery-ujs
'
;
require
(
'
~/ajax_loading_spinner
'
)
;
import
'
~/ajax_loading_spinner
'
;
describe
(
'
Ajax Loading Spinner
'
,
()
=>
{
describe
(
'
Ajax Loading Spinner
'
,
()
=>
{
const
fixtureTemplate
=
'
static/ajax_loading_spinner.html.raw
'
;
const
fixtureTemplate
=
'
static/ajax_loading_spinner.html.raw
'
;
...
...
spec/javascripts/awards_handler_spec.js
View file @
b261fb7b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
import
Cookies
from
'
js-cookie
'
;
import
Cookies
from
'
js-cookie
'
;
import
AwardsHandler
from
'
~/awards_handler
'
;
import
AwardsHandler
from
'
~/awards_handler
'
;
require
(
'
~/lib/utils/common_utils
'
)
;
import
'
~/lib/utils/common_utils
'
;
(
function
()
{
(
function
()
{
var
awardsHandler
,
lazyAssert
,
urlRoot
,
openAndWaitForEmojiMenu
;
var
awardsHandler
,
lazyAssert
,
urlRoot
,
openAndWaitForEmojiMenu
;
...
...
spec/javascripts/behaviors/autosize_spec.js
View file @
b261fb7b
/* eslint-disable space-before-function-paren, no-var, comma-dangle, no-return-assign, max-len */
/* eslint-disable space-before-function-paren, no-var, comma-dangle, no-return-assign, max-len */
require
(
'
~/behaviors/autosize
'
)
;
import
'
~/behaviors/autosize
'
;
(
function
()
{
(
function
()
{
describe
(
'
Autosize behavior
'
,
function
()
{
describe
(
'
Autosize behavior
'
,
function
()
{
...
...
spec/javascripts/behaviors/quick_submit_spec.js
View file @
b261fb7b
/* eslint-disable space-before-function-paren, no-var, no-return-assign, comma-dangle, jasmine/no-spec-dupes, new-cap, max-len */
/* eslint-disable space-before-function-paren, no-var, no-return-assign, comma-dangle, jasmine/no-spec-dupes, new-cap, max-len */
require
(
'
~/behaviors/quick_submit
'
)
;
import
'
~/behaviors/quick_submit
'
;
(
function
()
{
(
function
()
{
describe
(
'
Quick Submit behavior
'
,
function
()
{
describe
(
'
Quick Submit behavior
'
,
function
()
{
...
...
spec/javascripts/behaviors/requires_input_spec.js
View file @
b261fb7b
/* eslint-disable space-before-function-paren, no-var */
/* eslint-disable space-before-function-paren, no-var */
require
(
'
~/behaviors/requires_input
'
)
;
import
'
~/behaviors/requires_input
'
;
(
function
()
{
(
function
()
{
describe
(
'
requiresInput
'
,
function
()
{
describe
(
'
requiresInput
'
,
function
()
{
...
...
spec/javascripts/blob/create_branch_dropdown_spec.js
View file @
b261fb7b
require
(
'
~/gl_dropdown
'
)
;
import
'
~/gl_dropdown
'
;
require
(
'
~/blob/create_branch_dropdown
'
)
;
import
'
~/blob/create_branch_dropdown
'
;
require
(
'
~/blob/target_branch_dropdown
'
)
;
import
'
~/blob/target_branch_dropdown
'
;
describe
(
'
CreateBranchDropdown
'
,
()
=>
{
describe
(
'
CreateBranchDropdown
'
,
()
=>
{
const
fixtureTemplate
=
'
static/target_branch_dropdown.html.raw
'
;
const
fixtureTemplate
=
'
static/target_branch_dropdown.html.raw
'
;
...
...
spec/javascripts/blob/target_branch_dropdown_spec.js
View file @
b261fb7b
require
(
'
~/gl_dropdown
'
)
;
import
'
~/gl_dropdown
'
;
require
(
'
~/blob/create_branch_dropdown
'
)
;
import
'
~/blob/create_branch_dropdown
'
;
require
(
'
~/blob/target_branch_dropdown
'
)
;
import
'
~/blob/target_branch_dropdown
'
;
describe
(
'
TargetBranchDropdown
'
,
()
=>
{
describe
(
'
TargetBranchDropdown
'
,
()
=>
{
const
fixtureTemplate
=
'
static/target_branch_dropdown.html.raw
'
;
const
fixtureTemplate
=
'
static/target_branch_dropdown.html.raw
'
;
...
...
spec/javascripts/boards/board_card_spec.js
View file @
b261fb7b
...
@@ -8,11 +8,11 @@
...
@@ -8,11 +8,11 @@
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
'
~/boards/models/assignee
'
;
import
'
~/boards/models/assignee
'
;
require
(
'
~/boards/models/list
'
)
;
import
'
~/boards/models/list
'
;
require
(
'
~/boards/models/label
'
)
;
import
'
~/boards/models/label
'
;
require
(
'
~/boards/stores/boards_store
'
)
;
import
'
~/boards/stores/boards_store
'
;
const
boardCard
=
require
(
'
~/boards/components/board_card
'
).
default
;
import
boardCard
from
'
~/boards/components/board_card
'
;
require
(
'
./mock_data
'
)
;
import
'
./mock_data
'
;
describe
(
'
Issue card
'
,
()
=>
{
describe
(
'
Issue card
'
,
()
=>
{
let
vm
;
let
vm
;
...
...
spec/javascripts/boards/board_new_issue_spec.js
View file @
b261fb7b
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
boardNewIssue
from
'
~/boards/components/board_new_issue
'
;
import
boardNewIssue
from
'
~/boards/components/board_new_issue
'
;
require
(
'
~/boards/models/list
'
)
;
import
'
~/boards/models/list
'
;
require
(
'
./mock_data
'
)
;
import
'
./mock_data
'
;
describe
(
'
Issue boards new issue form
'
,
()
=>
{
describe
(
'
Issue boards new issue form
'
,
()
=>
{
let
vm
;
let
vm
;
...
...
spec/javascripts/commits_spec.js
View file @
b261fb7b
/* global CommitsList */
/* global CommitsList */
require
(
'
vendor/jquery.endless-scroll
'
)
;
import
'
vendor/jquery.endless-scroll
'
;
require
(
'
~/pager
'
)
;
import
'
~/pager
'
;
require
(
'
~/commits
'
)
;
import
'
~/commits
'
;
(()
=>
{
(()
=>
{
// TODO: remove this hack!
// TODO: remove this hack!
...
...
spec/javascripts/datetime_utility_spec.js
View file @
b261fb7b
require
(
'
~/lib/utils/datetime_utility
'
)
;
import
'
~/lib/utils/datetime_utility
'
;
(()
=>
{
(()
=>
{
describe
(
'
Date time utils
'
,
()
=>
{
describe
(
'
Date time utils
'
,
()
=>
{
...
...
spec/javascripts/diff_comments_store_spec.js
View file @
b261fb7b
/* eslint-disable jasmine/no-global-setup, dot-notation, jasmine/no-expect-in-setup-teardown, max-len */
/* eslint-disable jasmine/no-global-setup, dot-notation, jasmine/no-expect-in-setup-teardown, max-len */
/* global CommentsStore */
/* global CommentsStore */
require
(
'
~/diff_notes/models/discussion
'
)
;
import
'
~/diff_notes/models/discussion
'
;
require
(
'
~/diff_notes/models/note
'
)
;
import
'
~/diff_notes/models/note
'
;
require
(
'
~/diff_notes/stores/comments
'
)
;
import
'
~/diff_notes/stores/comments
'
;
function
createDiscussion
(
noteId
=
1
,
resolved
=
true
)
{
function
createDiscussion
(
noteId
=
1
,
resolved
=
true
)
{
CommentsStore
.
create
({
CommentsStore
.
create
({
...
...
spec/javascripts/extensions/array_spec.js
View file @
b261fb7b
/* eslint-disable space-before-function-paren, no-var */
/* eslint-disable space-before-function-paren, no-var */
require
(
'
~/extensions/array
'
)
;
import
'
~/extensions/array
'
;
(
function
()
{
(
function
()
{
describe
(
'
Array extensions
'
,
function
()
{
describe
(
'
Array extensions
'
,
function
()
{
...
...
spec/javascripts/filtered_search/dropdown_user_spec.js
View file @
b261fb7b
require
(
'
~/filtered_search/dropdown_utils
'
)
;
import
'
~/filtered_search/dropdown_utils
'
;
require
(
'
~/filtered_search/filtered_search_tokenizer
'
)
;
import
'
~/filtered_search/filtered_search_tokenizer
'
;
require
(
'
~/filtered_search/filtered_search_dropdown
'
)
;
import
'
~/filtered_search/filtered_search_dropdown
'
;
require
(
'
~/filtered_search/dropdown_user
'
)
;
import
'
~/filtered_search/dropdown_user
'
;
describe
(
'
Dropdown User
'
,
()
=>
{
describe
(
'
Dropdown User
'
,
()
=>
{
describe
(
'
getSearchInput
'
,
()
=>
{
describe
(
'
getSearchInput
'
,
()
=>
{
...
...
spec/javascripts/filtered_search/dropdown_utils_spec.js
View file @
b261fb7b
require
(
'
~/extensions/array
'
)
;
import
'
~/extensions/array
'
;
require
(
'
~/filtered_search/dropdown_utils
'
)
;
import
'
~/filtered_search/dropdown_utils
'
;
require
(
'
~/filtered_search/filtered_search_tokenizer
'
)
;
import
'
~/filtered_search/filtered_search_tokenizer
'
;
require
(
'
~/filtered_search/filtered_search_dropdown_manager
'
)
;
import
'
~/filtered_search/filtered_search_dropdown_manager
'
;
describe
(
'
Dropdown Utils
'
,
()
=>
{
describe
(
'
Dropdown Utils
'
,
()
=>
{
describe
(
'
getEscapedText
'
,
()
=>
{
describe
(
'
getEscapedText
'
,
()
=>
{
...
...
spec/javascripts/filtered_search/filtered_search_dropdown_manager_spec.js
View file @
b261fb7b
require
(
'
~/extensions/array
'
)
;
import
'
~/extensions/array
'
;
require
(
'
~/filtered_search/filtered_search_visual_tokens
'
)
;
import
'
~/filtered_search/filtered_search_visual_tokens
'
;
require
(
'
~/filtered_search/filtered_search_tokenizer
'
)
;
import
'
~/filtered_search/filtered_search_tokenizer
'
;
require
(
'
~/filtered_search/filtered_search_dropdown_manager
'
)
;
import
'
~/filtered_search/filtered_search_dropdown_manager
'
;
describe
(
'
Filtered Search Dropdown Manager
'
,
()
=>
{
describe
(
'
Filtered Search Dropdown Manager
'
,
()
=>
{
describe
(
'
addWordToInput
'
,
()
=>
{
describe
(
'
addWordToInput
'
,
()
=>
{
...
...
spec/javascripts/filtered_search/filtered_search_manager_spec.js
View file @
b261fb7b
import
*
as
recentSearchesStoreSrc
from
'
~/filtered_search/stores/recent_searches_store
'
;
import
*
as
recentSearchesStoreSrc
from
'
~/filtered_search/stores/recent_searches_store
'
;
import
RecentSearchesService
from
'
~/filtered_search/services/recent_searches_service
'
;
import
RecentSearchesService
from
'
~/filtered_search/services/recent_searches_service
'
;
import
RecentSearchesServiceError
from
'
~/filtered_search/services/recent_searches_service_error
'
;
import
RecentSearchesServiceError
from
'
~/filtered_search/services/recent_searches_service_error
'
;
import
'
~/lib/utils/url_utility
'
;
require
(
'
~/lib/utils/url_utility
'
);
import
'
~/lib/utils/common_utils
'
;
require
(
'
~/lib/utils/common_utils
'
);
import
'
~/filtered_search/filtered_search_token_keys
'
;
require
(
'
~/filtered_search/filtered_search_token_keys
'
);
import
'
~/filtered_search/filtered_search_tokenizer
'
;
require
(
'
~/filtered_search/filtered_search_tokenizer
'
);
import
'
~/filtered_search/filtered_search_dropdown_manager
'
;
require
(
'
~/filtered_search/filtered_search_dropdown_manager
'
);
import
'
~/filtered_search/filtered_search_manager
'
;
require
(
'
~/filtered_search/filtered_search_manager
'
);
import
FilteredSearchSpecHelper
from
'
../helpers/filtered_search_spec_helper
'
;
const
FilteredSearchSpecHelper
=
require
(
'
../helpers/filtered_search_spec_helper
'
);
describe
(
'
Filtered Search Manager
'
,
()
=>
{
describe
(
'
Filtered Search Manager
'
,
()
=>
{
let
input
;
let
input
;
...
...
spec/javascripts/filtered_search/filtered_search_token_keys_spec.js
View file @
b261fb7b
require
(
'
~/extensions/array
'
)
;
import
'
~/extensions/array
'
;
require
(
'
~/filtered_search/filtered_search_token_keys
'
)
;
import
'
~/filtered_search/filtered_search_token_keys
'
;
describe
(
'
Filtered Search Token Keys
'
,
()
=>
{
describe
(
'
Filtered Search Token Keys
'
,
()
=>
{
describe
(
'
get
'
,
()
=>
{
describe
(
'
get
'
,
()
=>
{
...
...
spec/javascripts/filtered_search/filtered_search_tokenizer_spec.js
View file @
b261fb7b
require
(
'
~/extensions/array
'
)
;
import
'
~/extensions/array
'
;
require
(
'
~/filtered_search/filtered_search_token_keys
'
)
;
import
'
~/filtered_search/filtered_search_token_keys
'
;
require
(
'
~/filtered_search/filtered_search_tokenizer
'
)
;
import
'
~/filtered_search/filtered_search_tokenizer
'
;
describe
(
'
Filtered Search Tokenizer
'
,
()
=>
{
describe
(
'
Filtered Search Tokenizer
'
,
()
=>
{
describe
(
'
processTokens
'
,
()
=>
{
describe
(
'
processTokens
'
,
()
=>
{
...
...
spec/javascripts/filtered_search/filtered_search_visual_tokens_spec.js
View file @
b261fb7b
import
AjaxCache
from
'
~/lib/utils/ajax_cache
'
;
import
AjaxCache
from
'
~/lib/utils/ajax_cache
'
;
require
(
'
~/filtered_search/filtered_search_visual_tokens
'
)
;
import
'
~/filtered_search/filtered_search_visual_tokens
'
;
const
FilteredSearchSpecHelper
=
require
(
'
../helpers/filtered_search_spec_helper
'
)
;
import
FilteredSearchSpecHelper
from
'
../helpers/filtered_search_spec_helper
'
;
describe
(
'
Filtered Search Visual Tokens
'
,
()
=>
{
describe
(
'
Filtered Search Visual Tokens
'
,
()
=>
{
let
tokensContainer
;
let
tokensContainer
;
...
...
spec/javascripts/gfm_auto_complete_spec.js
View file @
b261fb7b
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
import
GfmAutoComplete
from
'
~/gfm_auto_complete
'
;
import
GfmAutoComplete
from
'
~/gfm_auto_complete
'
;
require
(
'
vendor/jquery.caret
'
)
;
import
'
vendor/jquery.caret
'
;
require
(
'
vendor/jquery.atwho
'
)
;
import
'
vendor/jquery.atwho
'
;
describe
(
'
GfmAutoComplete
'
,
function
()
{
describe
(
'
GfmAutoComplete
'
,
function
()
{
const
gfmAutoCompleteCallbacks
=
GfmAutoComplete
.
prototype
.
getDefaultCallbacks
.
call
({
const
gfmAutoCompleteCallbacks
=
GfmAutoComplete
.
prototype
.
getDefaultCallbacks
.
call
({
...
...
spec/javascripts/gl_dropdown_spec.js
View file @
b261fb7b
/* eslint-disable comma-dangle, no-param-reassign, no-unused-expressions, max-len */
/* eslint-disable comma-dangle, no-param-reassign, no-unused-expressions, max-len */
require
(
'
~/gl_dropdown
'
)
;
import
'
~/gl_dropdown
'
;
require
(
'
~/lib/utils/common_utils
'
)
;
import
'
~/lib/utils/common_utils
'
;
require
(
'
~/lib/utils/url_utility
'
)
;
import
'
~/lib/utils/url_utility
'
;
(()
=>
{
(()
=>
{
const
NON_SELECTABLE_CLASSES
=
'
.divider, .separator, .dropdown-header, .dropdown-menu-empty-link
'
;
const
NON_SELECTABLE_CLASSES
=
'
.divider, .separator, .dropdown-header, .dropdown-menu-empty-link
'
;
...
...
spec/javascripts/gl_field_errors_spec.js
View file @
b261fb7b
/* eslint-disable space-before-function-paren, arrow-body-style */
/* eslint-disable space-before-function-paren, arrow-body-style */
require
(
'
~/gl_field_errors
'
)
;
import
'
~/gl_field_errors
'
;
((
global
)
=>
{
((
global
)
=>
{
preloadFixtures
(
'
static/gl_field_errors.html.raw
'
);
preloadFixtures
(
'
static/gl_field_errors.html.raw
'
);
...
...
spec/javascripts/gl_form_spec.js
View file @
b261fb7b
/* global autosize */
import
autosize
from
'
vendor/autosize
'
;
import
'
~/gl_form
'
;
import
'
~/lib/utils/text_utility
'
;
import
'
~/lib/utils/common_utils
'
;
window
.
autosize
=
require
(
'
vendor/autosize
'
);
window
.
autosize
=
autosize
;
require
(
'
~/gl_form
'
);
require
(
'
~/lib/utils/text_utility
'
);
require
(
'
~/lib/utils/common_utils
'
);
describe
(
'
GLForm
'
,
()
=>
{
describe
(
'
GLForm
'
,
()
=>
{
const
global
=
window
.
gl
||
(
window
.
gl
=
{});
const
global
=
window
.
gl
||
(
window
.
gl
=
{});
...
@@ -27,7 +27,7 @@ describe('GLForm', () => {
...
@@ -27,7 +27,7 @@ describe('GLForm', () => {
$
.
prototype
.
off
.
calls
.
reset
();
$
.
prototype
.
off
.
calls
.
reset
();
$
.
prototype
.
on
.
calls
.
reset
();
$
.
prototype
.
on
.
calls
.
reset
();
$
.
prototype
.
css
.
calls
.
reset
();
$
.
prototype
.
css
.
calls
.
reset
();
autosize
.
calls
.
reset
();
window
.
autosize
.
calls
.
reset
();
done
();
done
();
});
});
});
});
...
@@ -51,7 +51,7 @@ describe('GLForm', () => {
...
@@ -51,7 +51,7 @@ describe('GLForm', () => {
});
});
it
(
'
should autosize the textarea
'
,
()
=>
{
it
(
'
should autosize the textarea
'
,
()
=>
{
expect
(
autosize
).
toHaveBeenCalledWith
(
jasmine
.
any
(
Object
));
expect
(
window
.
autosize
).
toHaveBeenCalledWith
(
jasmine
.
any
(
Object
));
});
});
it
(
'
should set the resize css property to vertical
'
,
()
=>
{
it
(
'
should set the resize css property to vertical
'
,
()
=>
{
...
@@ -81,7 +81,7 @@ describe('GLForm', () => {
...
@@ -81,7 +81,7 @@ describe('GLForm', () => {
spyOn
(
$
.
prototype
,
'
data
'
);
spyOn
(
$
.
prototype
,
'
data
'
);
spyOn
(
$
.
prototype
,
'
outerHeight
'
).
and
.
returnValue
(
200
);
spyOn
(
$
.
prototype
,
'
outerHeight
'
).
and
.
returnValue
(
200
);
spyOn
(
window
,
'
outerHeight
'
).
and
.
returnValue
(
400
);
spyOn
(
window
,
'
outerHeight
'
).
and
.
returnValue
(
400
);
spyOn
(
autosize
,
'
destroy
'
);
spyOn
(
window
.
autosize
,
'
destroy
'
);
this
.
glForm
.
destroyAutosize
();
this
.
glForm
.
destroyAutosize
();
});
});
...
@@ -95,7 +95,7 @@ describe('GLForm', () => {
...
@@ -95,7 +95,7 @@ describe('GLForm', () => {
});
});
it
(
'
should call autosize destroy
'
,
()
=>
{
it
(
'
should call autosize destroy
'
,
()
=>
{
expect
(
autosize
.
destroy
).
toHaveBeenCalledWith
(
this
.
textarea
);
expect
(
window
.
autosize
.
destroy
).
toHaveBeenCalledWith
(
this
.
textarea
);
});
});
it
(
'
should set the data-height attribute
'
,
()
=>
{
it
(
'
should set the data-height attribute
'
,
()
=>
{
...
@@ -114,9 +114,9 @@ describe('GLForm', () => {
...
@@ -114,9 +114,9 @@ describe('GLForm', () => {
it
(
'
should return undefined if the data-height equals the outerHeight
'
,
()
=>
{
it
(
'
should return undefined if the data-height equals the outerHeight
'
,
()
=>
{
spyOn
(
$
.
prototype
,
'
outerHeight
'
).
and
.
returnValue
(
200
);
spyOn
(
$
.
prototype
,
'
outerHeight
'
).
and
.
returnValue
(
200
);
spyOn
(
$
.
prototype
,
'
data
'
).
and
.
returnValue
(
200
);
spyOn
(
$
.
prototype
,
'
data
'
).
and
.
returnValue
(
200
);
spyOn
(
autosize
,
'
destroy
'
);
spyOn
(
window
.
autosize
,
'
destroy
'
);
expect
(
this
.
glForm
.
destroyAutosize
()).
toBeUndefined
();
expect
(
this
.
glForm
.
destroyAutosize
()).
toBeUndefined
();
expect
(
autosize
.
destroy
).
not
.
toHaveBeenCalled
();
expect
(
window
.
autosize
.
destroy
).
not
.
toHaveBeenCalled
();
});
});
});
});
});
});
...
...
spec/javascripts/header_spec.js
View file @
b261fb7b
/* eslint-disable space-before-function-paren, no-var */
/* eslint-disable space-before-function-paren, no-var */
require
(
'
~/header
'
)
;
import
'
~/header
'
;
require
(
'
~/lib/utils/text_utility
'
)
;
import
'
~/lib/utils/text_utility
'
;
(
function
()
{
(
function
()
{
describe
(
'
Header
'
,
function
()
{
describe
(
'
Header
'
,
function
()
{
...
...
spec/javascripts/helpers/class_spec_helper.js
View file @
b261fb7b
class
ClassSpecHelper
{
export
default
class
ClassSpecHelper
{
static
itShouldBeAStaticMethod
(
base
,
method
)
{
static
itShouldBeAStaticMethod
(
base
,
method
)
{
return
it
(
'
should be a static method
'
,
()
=>
{
return
it
(
'
should be a static method
'
,
()
=>
{
expect
(
Object
.
prototype
.
hasOwnProperty
.
call
(
base
,
method
)).
toBeTruthy
();
expect
(
Object
.
prototype
.
hasOwnProperty
.
call
(
base
,
method
)).
toBeTruthy
();
...
@@ -7,5 +7,3 @@ class ClassSpecHelper {
...
@@ -7,5 +7,3 @@ class ClassSpecHelper {
}
}
window
.
ClassSpecHelper
=
ClassSpecHelper
;
window
.
ClassSpecHelper
=
ClassSpecHelper
;
module
.
exports
=
ClassSpecHelper
;
spec/javascripts/helpers/class_spec_helper_spec.js
View file @
b261fb7b
/* global ClassSpecHelper */
/* global ClassSpecHelper */
require
(
'
./class_spec_helper
'
)
;
import
'
./class_spec_helper
'
;
describe
(
'
ClassSpecHelper
'
,
()
=>
{
describe
(
'
ClassSpecHelper
'
,
()
=>
{
describe
(
'
itShouldBeAStaticMethod
'
,
function
()
{
describe
(
'
itShouldBeAStaticMethod
'
,
function
()
{
...
...
spec/javascripts/helpers/filtered_search_spec_helper.js
View file @
b261fb7b
class
FilteredSearchSpecHelper
{
export
default
class
FilteredSearchSpecHelper
{
static
createFilterVisualTokenHTML
(
name
,
value
,
isSelected
)
{
static
createFilterVisualTokenHTML
(
name
,
value
,
isSelected
)
{
return
FilteredSearchSpecHelper
.
createFilterVisualToken
(
name
,
value
,
isSelected
).
outerHTML
;
return
FilteredSearchSpecHelper
.
createFilterVisualToken
(
name
,
value
,
isSelected
).
outerHTML
;
}
}
...
@@ -53,5 +53,3 @@ class FilteredSearchSpecHelper {
...
@@ -53,5 +53,3 @@ class FilteredSearchSpecHelper {
`
;
`
;
}
}
}
}
module
.
exports
=
FilteredSearchSpecHelper
;
spec/javascripts/issuable_spec.js
View file @
b261fb7b
/* global Issuable */
/* global Issuable */
require
(
'
~/lib/utils/url_utility
'
)
;
import
'
~/lib/utils/url_utility
'
;
require
(
'
~/issuable
'
)
;
import
'
~/issuable
'
;
(()
=>
{
(()
=>
{
const
BASE_URL
=
'
/user/project/issues?scope=all&state=closed
'
;
const
BASE_URL
=
'
/user/project/issues?scope=all&state=closed
'
;
...
...
spec/javascripts/issue_spec.js
View file @
b261fb7b
/* eslint-disable space-before-function-paren, one-var, one-var-declaration-per-line, no-use-before-define, comma-dangle, max-len */
/* eslint-disable space-before-function-paren, one-var, one-var-declaration-per-line, no-use-before-define, comma-dangle, max-len */
import
Issue
from
'
~/issue
'
;
import
Issue
from
'
~/issue
'
;
require
(
'
~/lib/utils/text_utility
'
)
;
import
'
~/lib/utils/text_utility
'
;
describe
(
'
Issue
'
,
function
()
{
describe
(
'
Issue
'
,
function
()
{
let
$boxClosed
,
$boxOpen
,
$btnClose
,
$btnReopen
;
let
$boxClosed
,
$boxOpen
,
$btnClose
,
$btnReopen
;
...
...
spec/javascripts/labels_issue_sidebar_spec.js
View file @
b261fb7b
...
@@ -2,14 +2,14 @@
...
@@ -2,14 +2,14 @@
/* global IssuableContext */
/* global IssuableContext */
/* global LabelsSelect */
/* global LabelsSelect */
require
(
'
~/gl_dropdown
'
)
;
import
'
~/gl_dropdown
'
;
require
(
'
select2
'
)
;
import
'
select2
'
;
require
(
'
vendor/jquery.nicescroll
'
)
;
import
'
vendor/jquery.nicescroll
'
;
require
(
'
~/api
'
)
;
import
'
~/api
'
;
require
(
'
~/create_label
'
)
;
import
'
~/create_label
'
;
require
(
'
~/issuable_context
'
)
;
import
'
~/issuable_context
'
;
require
(
'
~/users_select
'
)
;
import
'
~/users_select
'
;
require
(
'
~/labels_select
'
)
;
import
'
~/labels_select
'
;
(()
=>
{
(()
=>
{
let
saveLabelCount
=
0
;
let
saveLabelCount
=
0
;
...
...
spec/javascripts/lib/utils/common_utils_spec.js
View file @
b261fb7b
/* eslint-disable promise/catch-or-return */
/* eslint-disable promise/catch-or-return */
require
(
'
~/lib/utils/common_utils
'
)
;
import
'
~/lib/utils/common_utils
'
;
(()
=>
{
(()
=>
{
describe
(
'
common_utils
'
,
()
=>
{
describe
(
'
common_utils
'
,
()
=>
{
...
...
spec/javascripts/lib/utils/text_utility_spec.js
View file @
b261fb7b
require
(
'
~/lib/utils/text_utility
'
)
;
import
'
~/lib/utils/text_utility
'
;
describe
(
'
text_utility
'
,
()
=>
{
describe
(
'
text_utility
'
,
()
=>
{
describe
(
'
gl.text.getTextWidth
'
,
()
=>
{
describe
(
'
gl.text.getTextWidth
'
,
()
=>
{
...
...
spec/javascripts/line_highlighter_spec.js
View file @
b261fb7b
/* eslint-disable space-before-function-paren, no-var, no-param-reassign, quotes, prefer-template, no-else-return, new-cap, dot-notation, no-return-assign, comma-dangle, no-new, one-var, one-var-declaration-per-line, jasmine/no-spec-dupes, no-underscore-dangle, max-len */
/* eslint-disable space-before-function-paren, no-var, no-param-reassign, quotes, prefer-template, no-else-return, new-cap, dot-notation, no-return-assign, comma-dangle, no-new, one-var, one-var-declaration-per-line, jasmine/no-spec-dupes, no-underscore-dangle, max-len */
/* global LineHighlighter */
/* global LineHighlighter */
require
(
'
~/line_highlighter
'
)
;
import
'
~/line_highlighter
'
;
(
function
()
{
(
function
()
{
describe
(
'
LineHighlighter
'
,
function
()
{
describe
(
'
LineHighlighter
'
,
function
()
{
...
...
spec/javascripts/merge_request_spec.js
View file @
b261fb7b
/* eslint-disable space-before-function-paren, no-return-assign */
/* eslint-disable space-before-function-paren, no-return-assign */
/* global MergeRequest */
/* global MergeRequest */
require
(
'
~/merge_request
'
)
;
import
'
~/merge_request
'
;
(
function
()
{
(
function
()
{
describe
(
'
MergeRequest
'
,
function
()
{
describe
(
'
MergeRequest
'
,
function
()
{
...
...
spec/javascripts/merge_request_tabs_spec.js
View file @
b261fb7b
/* eslint-disable no-var, comma-dangle, object-shorthand */
/* eslint-disable no-var, comma-dangle, object-shorthand */
require
(
'
~/merge_request_tabs
'
)
;
import
'
~/merge_request_tabs
'
;
require
(
'
~/commit/pipelines/pipelines_bundle.js
'
)
;
import
'
~/commit/pipelines/pipelines_bundle
'
;
require
(
'
~/breakpoints
'
)
;
import
'
~/breakpoints
'
;
require
(
'
~/lib/utils/common_utils
'
)
;
import
'
~/lib/utils/common_utils
'
;
require
(
'
~/diff
'
)
;
import
'
~/diff
'
;
require
(
'
~/single_file_diff
'
)
;
import
'
~/single_file_diff
'
;
require
(
'
~/files_comment_button
'
)
;
import
'
~/files_comment_button
'
;
require
(
'
vendor/jquery.scrollTo
'
)
;
import
'
vendor/jquery.scrollTo
'
;
(
function
()
{
(
function
()
{
// TODO: remove this hack!
// TODO: remove this hack!
...
...
spec/javascripts/new_branch_spec.js
View file @
b261fb7b
/* eslint-disable space-before-function-paren, one-var, no-var, one-var-declaration-per-line, no-return-assign, quotes, max-len */
/* eslint-disable space-before-function-paren, one-var, no-var, one-var-declaration-per-line, no-return-assign, quotes, max-len */
/* global NewBranchForm */
/* global NewBranchForm */
require
(
'
~/new_branch_form
'
)
;
import
'
~/new_branch_form
'
;
(
function
()
{
(
function
()
{
describe
(
'
Branch
'
,
function
()
{
describe
(
'
Branch
'
,
function
()
{
...
...
spec/javascripts/pager_spec.js
View file @
b261fb7b
/* global fixture */
/* global fixture */
require
(
'
~/pager
'
)
;
import
'
~/pager
'
;
describe
(
'
pager
'
,
()
=>
{
describe
(
'
pager
'
,
()
=>
{
const
Pager
=
window
.
Pager
;
const
Pager
=
window
.
Pager
;
...
...
spec/javascripts/pretty_time_spec.js
View file @
b261fb7b
require
(
'
~/lib/utils/pretty_time
'
)
;
import
'
~/lib/utils/pretty_time
'
;
(()
=>
{
(()
=>
{
const
prettyTime
=
gl
.
utils
.
prettyTime
;
const
prettyTime
=
gl
.
utils
.
prettyTime
;
...
...
spec/javascripts/project_title_spec.js
View file @
b261fb7b
/* eslint-disable space-before-function-paren, no-unused-expressions, no-return-assign, no-param-reassign, no-var, new-cap, wrap-iife, no-unused-vars, quotes, jasmine/no-expect-in-setup-teardown, max-len */
/* eslint-disable space-before-function-paren, no-unused-expressions, no-return-assign, no-param-reassign, no-var, new-cap, wrap-iife, no-unused-vars, quotes, jasmine/no-expect-in-setup-teardown, max-len */
/* global Project */
/* global Project */
require
(
'
select2/select2.js
'
)
;
import
'
select2/select2
'
;
require
(
'
~/gl_dropdown
'
)
;
import
'
~/gl_dropdown
'
;
require
(
'
~/api
'
)
;
import
'
~/api
'
;
require
(
'
~/project_select
'
)
;
import
'
~/project_select
'
;
require
(
'
~/project
'
)
;
import
'
~/project
'
;
(
function
()
{
(
function
()
{
describe
(
'
Project Title
'
,
function
()
{
describe
(
'
Project Title
'
,
function
()
{
...
...
spec/javascripts/search_autocomplete_spec.js
View file @
b261fb7b
/* eslint-disable space-before-function-paren, max-len, no-var, one-var, one-var-declaration-per-line, no-unused-expressions, consistent-return, no-param-reassign, default-case, no-return-assign, comma-dangle, object-shorthand, prefer-template, quotes, new-parens, vars-on-top, new-cap, max-len */
/* eslint-disable space-before-function-paren, max-len, no-var, one-var, one-var-declaration-per-line, no-unused-expressions, consistent-return, no-param-reassign, default-case, no-return-assign, comma-dangle, object-shorthand, prefer-template, quotes, new-parens, vars-on-top, new-cap, max-len */
require
(
'
~/gl_dropdown
'
)
;
import
'
~/gl_dropdown
'
;
require
(
'
~/search_autocomplete
'
)
;
import
'
~/search_autocomplete
'
;
require
(
'
~/lib/utils/common_utils
'
)
;
import
'
~/lib/utils/common_utils
'
;
require
(
'
vendor/fuzzaldrin-plus
'
)
;
import
'
vendor/fuzzaldrin-plus
'
;
(
function
()
{
(
function
()
{
var
addBodyAttributes
,
assertLinks
,
dashboardIssuesPath
,
dashboardMRsPath
,
groupIssuesPath
,
groupMRsPath
,
groupName
,
mockDashboardOptions
,
mockGroupOptions
,
mockProjectOptions
,
projectIssuesPath
,
projectMRsPath
,
projectName
,
userId
,
widget
;
var
addBodyAttributes
,
assertLinks
,
dashboardIssuesPath
,
dashboardMRsPath
,
groupIssuesPath
,
groupMRsPath
,
groupName
,
mockDashboardOptions
,
mockGroupOptions
,
mockProjectOptions
,
projectIssuesPath
,
projectMRsPath
,
projectName
,
userId
,
widget
;
...
...
spec/javascripts/shortcuts_issuable_spec.js
View file @
b261fb7b
/* eslint-disable space-before-function-paren, no-return-assign, no-var, quotes */
/* eslint-disable space-before-function-paren, no-return-assign, no-var, quotes */
/* global ShortcutsIssuable */
/* global ShortcutsIssuable */
require
(
'
~/copy_as_gfm
'
)
;
import
'
~/copy_as_gfm
'
;
require
(
'
~/shortcuts_issuable
'
)
;
import
'
~/shortcuts_issuable
'
;
(
function
()
{
(
function
()
{
describe
(
'
ShortcutsIssuable
'
,
function
()
{
describe
(
'
ShortcutsIssuable
'
,
function
()
{
...
...
spec/javascripts/signin_tabs_memoizer_spec.js
View file @
b261fb7b
import
AccessorUtilities
from
'
~/lib/utils/accessor
'
;
import
AccessorUtilities
from
'
~/lib/utils/accessor
'
;
require
(
'
~/signin_tabs_memoizer
'
)
;
import
'
~/signin_tabs_memoizer
'
;
((
global
)
=>
{
((
global
)
=>
{
describe
(
'
SigninTabsMemoizer
'
,
()
=>
{
describe
(
'
SigninTabsMemoizer
'
,
()
=>
{
...
...
spec/javascripts/smart_interval_spec.js
View file @
b261fb7b
require
(
'
~/smart_interval
'
)
;
import
'
~/smart_interval
'
;
(()
=>
{
(()
=>
{
const
DEFAULT_MAX_INTERVAL
=
100
;
const
DEFAULT_MAX_INTERVAL
=
100
;
...
...
spec/javascripts/syntax_highlight_spec.js
View file @
b261fb7b
/* eslint-disable space-before-function-paren, no-var, no-return-assign, quotes */
/* eslint-disable space-before-function-paren, no-var, no-return-assign, quotes */
require
(
'
~/syntax_highlight
'
)
;
import
'
~/syntax_highlight
'
;
(
function
()
{
(
function
()
{
describe
(
'
Syntax Highlighter
'
,
function
()
{
describe
(
'
Syntax Highlighter
'
,
function
()
{
...
...
spec/javascripts/test_bundle.js
View file @
b261fb7b
// enable test fixtures
import
$
from
'
jquery
'
;
require
(
'
jasmine-jquery
'
);
import
_
from
'
underscore
'
;
import
'
jasmine-jquery
'
;
import
'
~/commons
'
;
// enable test fixtures
jasmine
.
getFixtures
().
fixturesPath
=
'
/base/spec/javascripts/fixtures
'
;
jasmine
.
getFixtures
().
fixturesPath
=
'
/base/spec/javascripts/fixtures
'
;
jasmine
.
getJSONFixtures
().
fixturesPath
=
'
/base/spec/javascripts/fixtures
'
;
jasmine
.
getJSONFixtures
().
fixturesPath
=
'
/base/spec/javascripts/fixtures
'
;
// include common libraries
// globalize common libraries
require
(
'
~/commons/index.js
'
);
window
.
$
=
window
.
jQuery
=
$
;
window
.
$
=
window
.
jQuery
=
require
(
'
jquery
'
);
window
.
_
=
_
;
window
.
_
=
require
(
'
underscore
'
);
// stub expected globals
// stub expected globals
window
.
gl
=
window
.
gl
||
{};
window
.
gl
=
window
.
gl
||
{};
...
...
spec/javascripts/todos_spec.js
View file @
b261fb7b
require
(
'
~/todos
'
)
;
import
'
~/todos
'
;
require
(
'
~/lib/utils/common_utils
'
)
;
import
'
~/lib/utils/common_utils
'
;
describe
(
'
Todos
'
,
()
=>
{
describe
(
'
Todos
'
,
()
=>
{
preloadFixtures
(
'
todos/todos.html.raw
'
);
preloadFixtures
(
'
todos/todos.html.raw
'
);
...
...
spec/javascripts/u2f/authenticate_spec.js
View file @
b261fb7b
...
@@ -2,11 +2,11 @@
...
@@ -2,11 +2,11 @@
/* global MockU2FDevice */
/* global MockU2FDevice */
/* global U2FAuthenticate */
/* global U2FAuthenticate */
require
(
'
~/u2f/authenticate
'
)
;
import
'
~/u2f/authenticate
'
;
require
(
'
~/u2f/util
'
)
;
import
'
~/u2f/util
'
;
require
(
'
~/u2f/error
'
)
;
import
'
~/u2f/error
'
;
require
(
'
vendor/u2f
'
)
;
import
'
vendor/u2f
'
;
require
(
'
./mock_u2f_device
'
)
;
import
'
./mock_u2f_device
'
;
(
function
()
{
(
function
()
{
describe
(
'
U2FAuthenticate
'
,
function
()
{
describe
(
'
U2FAuthenticate
'
,
function
()
{
...
...
spec/javascripts/u2f/register_spec.js
View file @
b261fb7b
...
@@ -2,11 +2,11 @@
...
@@ -2,11 +2,11 @@
/* global MockU2FDevice */
/* global MockU2FDevice */
/* global U2FRegister */
/* global U2FRegister */
require
(
'
~/u2f/register
'
)
;
import
'
~/u2f/register
'
;
require
(
'
~/u2f/util
'
)
;
import
'
~/u2f/util
'
;
require
(
'
~/u2f/error
'
)
;
import
'
~/u2f/error
'
;
require
(
'
vendor/u2f
'
)
;
import
'
vendor/u2f
'
;
require
(
'
./mock_u2f_device
'
)
;
import
'
./mock_u2f_device
'
;
(
function
()
{
(
function
()
{
describe
(
'
U2FRegister
'
,
function
()
{
describe
(
'
U2FRegister
'
,
function
()
{
...
...
spec/javascripts/version_check_image_spec.js
View file @
b261fb7b
const
ClassSpecHelper
=
require
(
'
./helpers/class_spec_helper
'
);
import
VersionCheckImage
from
'
~/version_check_image
'
;
const
VersionCheckImage
=
require
(
'
~/version_check_image
'
);
import
ClassSpecHelper
from
'
./helpers/class_spec_helper
'
;
require
(
'
jquery
'
);
describe
(
'
VersionCheckImage
'
,
function
()
{
describe
(
'
VersionCheckImage
'
,
function
()
{
describe
(
'
bindErrorEvent
'
,
function
()
{
describe
(
'
bindErrorEvent
'
,
function
()
{
...
...
spec/javascripts/visibility_select_spec.js
View file @
b261fb7b
require
(
'
~/visibility_select
'
)
;
import
'
~/visibility_select
'
;
(()
=>
{
(()
=>
{
const
VisibilitySelect
=
gl
.
VisibilitySelect
;
const
VisibilitySelect
=
gl
.
VisibilitySelect
;
...
...
spec/javascripts/zen_mode_spec.js
View file @
b261fb7b
This diff is collapsed.
Click to expand it.
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