gitlab-org--gitlab-foss/app/assets/javascripts
Fatih Acet 1dfe10d3da Merge branch 'add-matches-and-closest-element-extensions' into 'master'
Added Element extension with .matches and .closest

## What does this MR do?

This adds `.matches` and `.closest` polyfills that will help when removing/not using jQuery. I added these in another MR which was then refactored to not require these methods, but I thought we might as well not lose the code.

## Are there points in the code the reviewer needs to double check?

## Why was this MR needed?

Help when removing/not using jQuery.

## Screenshots (if relevant)

## Does this MR meet the acceptance criteria?

- [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [ ] API support added
- Tests
  - [ ] Added for this feature/bug
  - [ ] All builds are passing
- [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [ ] Branch has no merge conflicts with `master` (if it does - rebase it please)
- [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?

See merge request !6946
2016-11-04 19:51:27 +00:00
..
behaviors Finish styling commits view 2016-10-28 09:00:30 -05:00
blob disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
blob_edit disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
boards Creates new list from a new label 2016-11-04 10:25:47 +00:00
commit disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
cycle_analytics Create cycle analytics bundle 2016-10-28 15:56:12 +01:00
diff_notes disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
extensions Added Element extension with .matches and .closest 2016-10-31 23:18:10 +00:00
graphs Remove leftover references to coffeescript from comments and docs. 2016-10-31 11:39:52 +01:00
lib Cleaned up global namespace JS 2016-11-03 23:00:21 -05:00
merge_conflicts disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
network Remove leftover references to coffeescript from comments and docs. 2016-10-31 11:39:52 +01:00
profile disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
protected_branches disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
snippet disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
templates disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
u2f disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
users disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
abuse_reports.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
activities.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
admin.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
api.js Backport Group API code that was added in EE only 2016-10-31 18:47:30 +01:00
application.js Cleaned up global namespace JS 2016-11-03 23:00:21 -05:00
aside.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
autosave.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
awards_handler.js Cleaned up global namespace JS 2016-11-03 23:00:21 -05:00
breakpoints.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
broadcast_message.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
build.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
build_artifacts.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
build_variables.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
commit.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
commits.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
compare.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
compare_autocomplete.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
confirm_danger_modal.js Cleaned up global namespace JS 2016-11-03 23:00:21 -05:00
copy_to_clipboard.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
create_label.js.es6 Creates new list from a new label 2016-11-04 10:25:47 +00:00
diff.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
dispatcher.js.es6 Change show-gl-field-errors to gl-show-field-errors 2016-11-02 11:35:21 +01:00
dropzone_input.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
due_date_select.js.es6 Merge branch 'eslint' into 'master' 2016-10-26 16:31:08 +00:00
files_comment_button.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
flash.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
gfm_auto_complete.js.es6 Cleaned up global namespace JS 2016-11-03 23:00:21 -05:00
gl_dropdown.js Do not allow text input in dropdown while loading 2016-10-28 23:26:33 +03:00
gl_field_error.js.es6 Move snake_case to camelCase. 2016-11-02 11:37:35 +01:00
gl_field_errors.js.es6 List gl_field_error as gl_field_errors dep. 2016-11-01 18:40:48 +01:00
gl_form.js Cleaned up global namespace JS 2016-11-03 23:00:21 -05:00
group_avatar.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
groups_select.js Backport Group API code that was added in EE only 2016-10-31 18:47:30 +01:00
header.js Enable linting for ES6 files 2016-10-27 21:35:07 +02:00
importer_status.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
issuable.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
issuable_context.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
issuable_form.js Merge branch 'eslint' into 'master' 2016-10-26 16:31:08 +00:00
issue.js add "x of y tasks completed" on issuable 2016-10-28 14:01:36 -02:00
issue_status_select.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
issues_bulk_assignment.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
label_manager.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
labels.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
labels_select.js Merge branch 'eslint' into 'master' 2016-10-26 16:31:08 +00:00
layout_nav.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
line_highlighter.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
logo.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
member_expiration_date.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
members.js.es6 Cleaned up global namespace JS 2016-11-03 23:00:21 -05:00
merge_request.js add "x of y tasks completed" on issuable 2016-10-28 14:01:36 -02:00
merge_request_tabs.js Merge branch '21633-permalink-to-collapsed-diff-line-does-not-work' into 'master' 2016-11-01 20:31:04 +00:00
merge_request_widget.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
merged_buttons.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
milestone.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
milestone_select.js Merge branch 'eslint' into 'master' 2016-10-26 16:31:08 +00:00
namespace_select.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
new_branch_form.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
new_commit_form.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
notes.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
notifications_dropdown.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
notifications_form.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
pager.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
pipelines.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
preview_markdown.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
project.js Merge branch 'eslint' into 'master' 2016-10-26 16:31:08 +00:00
project_avatar.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
project_find_file.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
project_fork.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
project_import.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
project_new.js Hides registry if project is disabled 2016-11-01 09:20:31 +00:00
project_select.js Backport Group API code that was added in EE only 2016-10-31 18:47:30 +01:00
project_show.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
projects_list.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
right_sidebar.js Merge branch 'add-todo-toggle-event' into 'master' 2016-10-27 13:28:40 +00:00
search.js Backport Group API code that was added in EE only 2016-10-31 18:47:30 +01:00
search_autocomplete.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
shortcuts.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
shortcuts_blob.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
shortcuts_dashboard_navigation.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
shortcuts_find_file.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
shortcuts_issuable.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
shortcuts_navigation.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
shortcuts_network.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
sidebar.js.es6 Merge branch 'add-todo-toggle-event' into 'master' 2016-10-27 13:28:40 +00:00
single_file_diff.js Merge branch '21633-permalink-to-collapsed-diff-line-does-not-work' into 'master' 2016-11-01 20:31:04 +00:00
snippets_list.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
star.js Remove tooltips from project header 2016-11-01 12:01:13 -05:00
subscription.js Merge branch 'eslint' into 'master' 2016-10-26 16:31:08 +00:00
subscription_select.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
syntax_highlight.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
todos.js.es6 Merge branch 'add-todo-toggle-event' into 'master' 2016-10-27 13:28:40 +00:00
tree.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
user.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
user_tabs.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
username_validator.js.es6 Unchange username_validator. 2016-11-02 11:40:32 +01:00
users_select.js Fix: Todos Filter Shows All Users 2016-11-04 13:41:14 +02:00
wikis.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
zen_mode.js disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00