gitlab-org--gitlab-foss/app/assets/javascripts
Phil Hughes fa2af5e0f5
Flash is now a ES6 module
Reduced the technical debt around our JS flash function by making it a
module that is imported rather than relying on the global function.
The global function still exists mainly for technical debt with how
some requests are being completed, but new JS should import the module
directly.

Also reduces some tech debt in the file by removing the need for jQuery.
Instead Flash is now 100% vanilla JS.
2017-10-10 10:14:22 +01:00
..
behaviors Use modules in common utils 2017-09-09 09:54:24 +01:00
blob Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
blob_edit
boards Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
branches Display whether branch has been merged when deleting protected branch 2017-09-15 12:33:50 +00:00
commit Commenting on image diffs 2017-10-07 04:25:17 +00:00
commons Adds Event polyfill for IE 2017-09-11 14:34:16 +00:00
cycle_analytics Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
deploy_keys Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
diff_notes Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
droplab Add filter by my reaction 2017-08-30 07:48:55 +00:00
emoji Resolve "Specific Async Script Loading by using a Page Variable" 2017-08-03 20:31:53 +00:00
environments Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
filtered_search Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
graphs Fix bar chart does not display label at hour 0 2017-08-08 12:02:13 +00:00
groups Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
help Resolve "Better SVG Usage in the Frontend" 2017-09-22 08:39:47 +00:00
helpers use proper object notation and rename isNewRepo to isNewRepoEnabled 2017-08-17 12:35:33 -05:00
image_diff Commenting on image diffs 2017-10-07 04:25:17 +00:00
integrations Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
issuable
issue_show Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
jobs Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
lib Fix bad type checking to prevent 0 count badge to be shown 2017-10-10 07:47:42 +00:00
locale Made the insertion of the English Translation File conditional + removed window.translations from the global object to save some memory 2017-10-06 10:03:56 +02:00
merge_conflicts Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
monitoring Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
network
notebook Re-arrange <script> tags before <template> tags in .vue files 2017-10-03 19:12:53 -05:00
notes Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
pdf Re-arrange <script> tags before <template> tags in .vue files 2017-10-03 19:12:53 -05:00
pipeline_schedules Import modules instead of using the ones in global namespace 2017-09-09 09:54:27 +01:00
pipelines Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
profile Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
projects Resolve "Make project and features visibility settings less confusing" 2017-09-07 18:07:40 +00:00
projects_dropdown Use simple=true for projects API for better performance 2017-09-29 20:36:44 +05:30
prometheus_metrics Use modules in common utils 2017-09-09 09:54:24 +01:00
protected_branches Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
protected_tags Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
raven
registry [ci skip] Render separator only when both values are present 2017-09-28 12:21:52 +01:00
repo Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
sidebar Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
snippet
templates
terminal
test_utils
u2f Resolve "Specific Async Script Loading by using a Page Variable" 2017-08-03 20:31:53 +00:00
users Merge branch '27616-fix-contributions-graph-utc-offset-mysql' into 'master' 2017-08-06 05:57:49 +00:00
vue_merge_request_widget Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
vue_shared Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
abuse_reports.js Convert AbuseReports class to a module 2017-10-06 10:50:34 +01:00
activities.js
admin.js
ajax_loading_spinner.js Remove AjaxLoadingSpinner and CreateLabelDropdown from global namespace 2017-10-09 09:04:13 +00:00
api.js Finish backports and fix specs 2017-09-06 11:17:06 -03:00
aside.js
autosave.js Only starts autosave if user is logged in 2017-08-13 17:18:45 +01:00
awards_handler.js Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
breadcrumb.js fixed up JS to use a js-* class 2017-09-06 11:55:23 +01:00
breakpoints.js removed global use of breakpoint checker 2017-08-10 14:02:30 +01:00
broadcast_message.js
build.js Fixes data parameter not being sent in ajax request for jobs log 2017-09-28 17:24:24 +01:00
build_artifacts.js Add external link FE for online artifacts 2017-09-29 14:39:27 -05:00
build_variables.js remove niceScroll from job trigger variables list 2017-08-04 15:52:55 -05:00
ci_lint_editor.js
close_reopen_report_toggle.js
clusters.js Changes after review 2017-10-04 23:47:03 +01:00
comment_type_toggle.js
commits.js Removes CommitsList from global namespace 2017-10-09 10:46:40 +00:00
compare.js
compare_autocomplete.js
confirm_danger_modal.js Use modules in common utils 2017-09-09 09:54:24 +01:00
copy_as_gfm.js Only copy old/new code when selecting left/right side of parallel diff 2017-10-02 18:39:25 +02:00
copy_to_clipboard.js Add support for copying permalink to notes via more actions dropdown 2017-08-25 12:19:26 +00:00
create_label.js Remove AjaxLoadingSpinner and CreateLabelDropdown from global namespace 2017-10-09 09:04:13 +00:00
create_merge_request_dropdown.js Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
diff.js Commenting on image diffs 2017-10-07 04:25:17 +00:00
dispatcher.js Removes CommitsList from global namespace 2017-10-09 10:46:40 +00:00
dropzone_input.js Standardize access to CSRF token in JavaScript 2017-09-21 17:53:28 +00:00
due_date_select.js Fix pikaday being undefined 2017-08-09 13:19:33 +01:00
experimental_flags.js
files_comment_button.js Fixes commit comments in side-by-side diff view 2017-09-27 15:38:13 +01:00
filterable_list.js Resolve "Specific Async Script Loading by using a Page Variable" 2017-08-03 20:31:53 +00:00
flash.js Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
fly_out_nav.js spec fixes 2017-09-22 17:22:21 +01:00
gfm_auto_complete.js Resolve "Specific Async Script Loading by using a Page Variable" 2017-08-03 20:31:53 +00:00
gl_dropdown.js Merge branch '32163-protected-branch-form-should-have-sane-defaults-for-dropdowns' into 'master' 2017-10-05 13:52:49 +00:00
gl_field_error.js
gl_field_errors.js
gl_form.js
gpg_badges.js Display GPG status loading spinner only when Ajax request is made 2017-08-15 08:20:35 +00:00
group.js
group_avatar.js
group_label_subscription.js
groups_list.js
groups_select.js Import modules instead of using the ones in global namespace 2017-09-09 09:54:27 +01:00
header.js Fix bad type checking to prevent 0 count badge to be shown 2017-10-10 07:47:42 +00:00
how_to_merge.js
importer_status.js
init_changes_dropdown.js Fix the sticky changes bar on commits page 2017-08-09 16:40:27 +01:00
init_issuable_sidebar.js Remove discussionlock call 2017-09-14 14:22:32 +01:00
init_legacy_filters.js
init_notes.js
issuable_bulk_update_actions.js Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
issuable_bulk_update_sidebar.js Clean up new navigation templates 2017-09-06 10:58:24 +00:00
issuable_context.js Only trigger loadCheck on open toggle, not close. Update specs and add right_sidebar_spec test for additions 2017-09-28 13:29:32 +01:00
issuable_form.js Move "Move to different project" to sidebar 2017-09-03 22:03:17 -05:00
issuable_index.js Resolve "Specific Async Script Loading by using a Page Variable" 2017-08-03 20:31:53 +00:00
issue.js Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
issue_status_select.js
label_manager.js Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
labels.js
labels_select.js Remove AjaxLoadingSpinner and CreateLabelDropdown from global namespace 2017-10-09 09:04:13 +00:00
landing.js
layout_nav.js Clean up new navigation templates 2017-09-06 10:58:24 +00:00
lazy_loader.js
line_highlighter.js Fixed Linting Error + Error with Line Highlighter found in Test 2017-10-05 15:14:33 +02:00
logo.js
main.js Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
member_expiration_date.js Fix pikaday being undefined 2017-08-09 13:19:33 +01:00
members.js
merge_request.js Hide close MR button after merge without reloading page 2017-09-24 12:42:29 +02:00
merge_request_tabs.js Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
milestone.js Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
milestone_select.js Truncate milestone text on collapse; add tooltip for title 2017-09-14 09:02:29 +00:00
mini_pipeline_graph_dropdown.js Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
namespace_select.js
new_branch_form.js
new_commit_form.js
new_sidebar.js Only show the sidebar scroll bars if the user can scroll 2017-09-19 09:20:10 +01:00
notes.js Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
notifications_dropdown.js Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
notifications_form.js
oauth_remember_me.js
pager.js Import modules instead of using the ones in global namespace 2017-09-09 09:54:27 +01:00
performance_bar.js
pipelines.js Import modules instead of using the ones in global namespace 2017-09-09 09:54:27 +01:00
preview_markdown.js
project.js Remove project select dropdown from breadcrumb 2017-09-05 19:01:57 +05:30
project_avatar.js
project_edit.js Resolve "Specific Async Script Loading by using a Page Variable" 2017-08-03 20:31:53 +00:00
project_find_file.js
project_fork.js Cleanup the fork layout 2017-10-02 14:36:20 +01:00
project_import.js
project_label_subscription.js
project_new.js
project_select.js Remove project select dropdown from breadcrumb 2017-09-05 19:01:57 +05:30
project_select_combo_button.js Use the correct scope to avoid triggering all dropdowns 2017-08-30 19:47:44 +01:00
project_show.js
project_variables.js
project_visibility.js expand the help text with links and additional instructions 2017-08-26 03:31:15 -05:00
projects_list.js
ref_select_dropdown.js
render_gfm.js Fix race condition with dispatcher.js 2017-08-15 16:09:36 +01:00
render_math.js
right_sidebar.js Only trigger loadCheck on open toggle, not close. Update specs and add right_sidebar_spec test for additions 2017-09-28 13:29:32 +01:00
search.js Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
search_autocomplete.js FIxed the clearing icon + jumping of fluid nav bar 2017-09-29 12:41:00 +02:00
settings_panels.js Get the project path through the DOM instead of gon 2017-09-07 10:26:51 +01:00
shortcuts.js Start moving new nav styles into header.scss 2017-10-06 12:12:11 -07:00
shortcuts_blob.js
shortcuts_dashboard_navigation.js
shortcuts_find_file.js
shortcuts_issuable.js IssueNotesRefactor: Trigger change event for Vue to catch programmatically value set. 2017-08-21 23:13:43 +03:00
shortcuts_navigation.js
shortcuts_network.js
shortcuts_wiki.js
signin_tabs_memoizer.js
single_file_diff.js Commenting on image diffs 2017-10-07 04:25:17 +00:00
smart_interval.js
star.js Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
subscription.js
subscription_select.js
syntax_highlight.js
task_list.js Flash is now a ES6 module 2017-10-10 10:14:22 +01:00
test.js
todos.js fixed todos spec 2017-09-12 15:39:08 +01:00
tree.js
two_factor_auth.js
ui_development_kit.js
usage_ping.js
user_callout.js Get the project path through the DOM instead of gon 2017-09-07 10:26:51 +01:00
username_validator.js Resolve "Specific Async Script Loading by using a Page Variable" 2017-08-03 20:31:53 +00:00
users_select.js Merge branch 'fix-user-select-dropdown-escaping' into 'security-9-5' 2017-09-07 20:22:16 -04:00
version_check_image.js
visibility_select.js
webpack.js add global __webpack_public_path__ to eslint config 2017-08-18 16:05:53 -05:00
wikis.js removed global use of breakpoint checker 2017-08-10 14:02:30 +01:00
zen_mode.js