WordPress/wp-includes/js
Andrew Ozz 9e38fc8259 Fixes in `admin-bar.js`:
- Silence errors when a node doesn't exist similarly to jQuery.
- Add "feature testing" and fallbacks for old browsers as this may run on the front-end.
- Improve inline docs.

Props dinhtungdu, azaozz.
Merges [46883] to the 5.3 branch.
Fixes #47069.


Built from https://develop.svn.wordpress.org/branches/5.3@46884


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-11 20:23:05 +00:00
..
codemirror Remove JSHint due to license compatibility 2018-01-23 01:29:32 +00:00
crop
dist Block Editor: Resolve `@wordpress/block-directory` to the expected version, 1.0.6. 2019-12-09 22:31:05 +00:00
imgareaselect Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
jcrop
jquery Build/Test: Update Grunt Uglify options 2019-10-05 22:01:04 +00:00
mediaelement External Libraries: upgrade `mediaelement` to version 4.2.13. 2019-10-08 16:06:02 +00:00
plupload Upload: Expand error codes to include all 5xx HTTP errors when retrying to create image sub-sizes. Some servers may be configured to set HTTP 508 or 504, or possibly other `5` errors. 2019-10-21 22:44:03 +00:00
swfupload Remove SWFUpload, 2017-09-21 16:35:48 +00:00
thickbox Administration: Thickbox: Fix conflicts with the Plugin details and native Thickbox modals. 2017-09-09 14:14:43 +00:00
tinymce Build/Test: Update Grunt Uglify options 2019-10-05 22:01:04 +00:00
admin-bar.js Fixes in `admin-bar.js`: 2019-12-11 20:23:05 +00:00
admin-bar.min.js Fixes in `admin-bar.js`: 2019-12-11 20:23:05 +00:00
api-request.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
api-request.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
autosave.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
autosave.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
backbone.js External Libraries: Update Backbone.js to 1.4.0. 2019-09-17 17:19:54 +00:00
backbone.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
clipboard.js Site Health: Improve the "Copy to clipboard" button. 2019-03-27 22:31:52 +00:00
clipboard.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
colorpicker.js
colorpicker.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
comment-reply.js Comments: Check if comment form element exists before adding a key handler to detect the cmd/ctrl-enter key press. 2019-11-11 16:59:02 +00:00
comment-reply.min.js Comments: Check if comment form element exists before adding a key handler to detect the cmd/ctrl-enter key press. 2019-11-11 16:59:02 +00:00
customize-base.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-base.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
customize-loader.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-loader.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
customize-models.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-models.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
customize-preview-nav-menus.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-preview-nav-menus.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
customize-preview-widgets.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-preview-widgets.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
customize-preview.js Customiser: Prevent JS errors when previewing pages with an `<area>` tag. 2019-01-21 23:03:50 +00:00
customize-preview.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
customize-selective-refresh.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-selective-refresh.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
customize-views.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-views.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
heartbeat.js Block Editor: Refresh nonces used by `wp.apiFetch`. 2018-12-17 19:28:51 +00:00
heartbeat.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
hoverIntent.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
hoverIntent.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
hoverintent-js.min.js Fix the admin toolbar js when jQuery is not present and replace the jQuery based hoverIntent.js with a native implementation. Introduces the "hoverintent" (no dependencies) package. 2019-12-10 01:08:03 +00:00
imagesloaded.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
json2.js
json2.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
masonry.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
mce-view.js TinyMCE: fix adding of too many undo levels for wpviews. The HTML changes several times when a wpview is added. We only want one undo level. Also fixes cases when the cursor is next to an embeddable URL in the Text tab and the user switches to the Visual tab. 2019-07-12 03:25:55 +00:00
mce-view.min.js Build/Test: Update Grunt Uglify options 2019-10-05 22:01:04 +00:00
media-audiovideo.js External Libraries: Update Backbone.js to 1.4.0. 2019-09-17 17:19:54 +00:00
media-audiovideo.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
media-editor.js Docs: Correct and improve various inline documentation. 2018-08-27 14:28:26 +00:00
media-editor.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
media-grid.js Accessibility: Media: Improve the search media field labelling. 2019-10-07 12:43:03 +00:00
media-grid.min.js Accessibility: Media: Improve the search media field labelling. 2019-10-07 12:43:03 +00:00
media-models.js Accessibility: Media: Make screen readers announce the Media search results. 2019-09-23 12:19:56 +00:00
media-models.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
media-views.js Accessibility: Media: Add an `aria-pressed` attribute to active button within a button group. 2019-11-25 11:20:02 +00:00
media-views.min.js Accessibility: Media: Add an `aria-pressed` attribute to active button within a button group. 2019-11-25 11:20:02 +00:00
quicktags.js Reorder `quicktags.js` a bit to account for the order of defining vars and functions after [43577]. 2018-08-20 13:34:25 +00:00
quicktags.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
shortcode.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
shortcode.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
twemoji.js Emoji: Upgrade Twemoji to 12.1.3. 2019-11-05 22:16:02 +00:00
twemoji.min.js Emoji: Upgrade Twemoji to 12.1.3. 2019-11-05 22:16:02 +00:00
underscore.js External Libraries: Revert [46092] pending test failure investigation. 2019-09-12 10:19:59 +00:00
underscore.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
utils.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
utils.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-ajax-response.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
wp-ajax-response.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-api.js REST API: generate a valid fallback URI in wp.api.utils.getRootURL. 2018-08-11 18:51:24 +00:00
wp-api.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-auth-check.js Docs: Improve JSDoc for `auth-check.js`. 2018-06-28 02:33:38 +00:00
wp-auth-check.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-backbone.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-backbone.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-custom-header.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-custom-header.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-embed-template.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-embed-template.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-embed.js Embeds: After [43593], move the new check to a separate line to avoid `test_js_no_ampersands_in_compiled` failure caused by UglifyJS task. 2018-08-30 12:40:26 +00:00
wp-embed.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-emoji-loader.js Emoji: Upgrade Twemoji to 12.1.2. 2019-08-08 04:05:55 +00:00
wp-emoji-loader.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-emoji-release.min.js Emoji: Upgrade Twemoji to 12.1.3. 2019-11-05 22:16:02 +00:00
wp-emoji.js Emoji: Revert [46393] pending test failure investigation. 2019-10-05 01:01:00 +00:00
wp-emoji.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-list-revisions.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-list-revisions.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-lists.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-lists.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-pointer.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-pointer.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-sanitize.js Update wp.a11y.speak() to sanitize HTML before display. 2019-09-04 17:13:21 +00:00
wp-sanitize.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-util.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-util.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wpdialog.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wpdialog.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wplink.js TinyMCE Classic Block: Remove unused variable. 2019-01-26 12:59:49 +00:00
wplink.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
zxcvbn-async.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
zxcvbn-async.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
zxcvbn.min.js External Libraries: zxcvbn library. 2018-12-20 21:03:49 +00:00