WordPress/wp-includes/js
Eric Lewis 207ba54fed In wp.Backbone.Subviews, extract subviews with proper Underscore.js functions.
Subviews are stored internally on the Subview manager as an object. The object 
is composed of key-value pairs where the key is a jQuery selector for a view,
and the value is an array of views that matching the selector.

To extract subviews, `_.flatten()` was used to collate the nested arrays of 
views into a single view. However, `_.flatten()` is not intended to be used 
for objects, and this unintended functionality breaks in newer versions of 
Underscore.js. 

Instead, we'll use `_.values()` to extract the arrays of views first, 
and then flatten the array of arrays.

Props adamsilverstein.
See #34350.

Built from https://develop.svn.wordpress.org/trunk@36305


git-svn-id: http://core.svn.wordpress.org/trunk@36272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-15 04:02:28 +00:00
..
crop
imgareaselect Site Icon: Add crop preview to the media modal. 2015-07-20 15:57:25 +00:00
jcrop
jquery jQuery: Replace use of the `.load()` method for the "load" event with `.on( 'load', handler )`. 2016-01-13 17:22:27 +00:00
mediaelement jQuery: Replace `$( document ).on( 'ready', fn )` with `$( fn )`. 2016-01-13 17:39:25 +00:00
plupload Plupload: update to 2.1.8. Changelog: https://github.com/moxiecode/plupload/releases. 2015-10-10 23:50:25 +00:00
swfupload Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
thickbox Thickbox: spinner should disappear when loading is done. 2015-10-28 18:19:26 +00:00
tinymce TinyMCE 4.2.8 update 2015-11-17 23:19:01 +00:00
admin-bar.js Toolbar: Restore scroll-to-top functionality. 2015-07-20 20:02:24 +00:00
admin-bar.min.js Toolbar: Restore scroll-to-top functionality. 2015-07-20 20:02:24 +00:00
autosave.js Admin: fix repositioning of notices when the first header is not an immediate children of `.wrap`. 2015-12-31 11:05:31 +00:00
autosave.min.js Admin: fix repositioning of notices when the first header is not an immediate children of `.wrap`. 2015-12-31 11:05:31 +00:00
backbone.min.js Don't override minified libraries included in core 2015-04-07 04:38:25 +00:00
colorpicker.js
colorpicker.min.js Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
comment-reply.js Comments: after [35593], extend support to IE8 and improve checking for elements hidden with CSS 2015-11-18 19:15:28 +00:00
comment-reply.min.js Comments: after [35593], extend support to IE8 and improve checking for elements hidden with CSS 2015-11-18 19:15:28 +00:00
customize-base.js Add Customizer docs. 2015-09-05 19:53:24 +00:00
customize-base.min.js Customizer: [31885] actually hasn't fixed the `SecurityError`s. This one does. 2015-03-25 23:36:27 +00:00
customize-loader.js Add Customizer docs. 2015-09-05 19:53:24 +00:00
customize-loader.min.js Customizer: Avoid `SecurityError`s when the Customizer is embedded in an origin other than wp-admin. 2015-03-25 17:26:26 +00:00
customize-models.js JSHint: Use 'global' rather than 'globals' for inline configuration. 2015-07-19 17:09:26 +00:00
customize-models.min.js
customize-preview-nav-menus.js Twenty Fifteen: Only re-initialize the main navigation in the Customizer when it is specifically updated. 2015-07-29 18:13:24 +00:00
customize-preview-nav-menus.min.js Twenty Fifteen: Only re-initialize the main navigation in the Customizer when it is specifically updated. 2015-07-29 18:13:24 +00:00
customize-preview-widgets.js Customizer: Re-use public `api.preview` instance in widgets preview instead of unnecessarily capturing in `api.Preview` constructor wrapper. 2015-12-06 18:39:25 +00:00
customize-preview-widgets.min.js Customizer: Re-use public `api.preview` instance in widgets preview instead of unnecessarily capturing in `api.Preview` constructor wrapper. 2015-12-06 18:39:25 +00:00
customize-preview.js Customizer: remove the `title` attribute from the Preview html element while loading. 2015-10-25 15:14:26 +00:00
customize-preview.min.js Customizer: remove the `title` attribute from the Preview html element while loading. 2015-10-25 15:14:26 +00:00
customize-views.js Site Icon: Add crop preview to the media modal. 2015-07-20 15:57:25 +00:00
customize-views.min.js Site Icon: Add crop preview to the media modal. 2015-07-20 15:57:25 +00:00
heartbeat.js Fix updating of nonces on the Edit Post screen after the log in expires and the user logs in again. 2015-07-28 22:07:25 +00:00
heartbeat.min.js Fix updating of nonces on the Edit Post screen after the log in expires and the user logs in again. 2015-07-28 22:07:25 +00:00
hoverIntent.js Update hoverIntent to 1.8.1. 2015-03-11 17:15:27 +00:00
hoverIntent.min.js Update hoverIntent to 1.8.1. 2015-03-11 17:15:27 +00:00
json2.js External Libraries: update `json2.js` to the `2015-05-03` version. Crockford does not tag releases: https://github.com/douglascrockford/JSON-js/commits/master 2015-10-06 14:02:25 +00:00
json2.min.js External Libraries: update `json2.js` to the `2015-05-03` version. Crockford does not tag releases: https://github.com/douglascrockford/JSON-js/commits/master 2015-10-06 14:02:25 +00:00
masonry.min.js Don't override minified libraries included in core 2015-04-07 04:38:25 +00:00
mce-view.js TinyMCE: 2015-10-21 20:38:26 +00:00
mce-view.min.js TinyMCE: 2015-10-21 20:38:26 +00:00
media-audiovideo.js Media: fix undefined error that prevents showing a preview in the media modal when replacing video or audio. 2016-01-09 02:22:26 +00:00
media-audiovideo.min.js Media: fix undefined error that prevents showing a preview in the media modal when replacing video or audio. 2016-01-09 02:22:26 +00:00
media-editor.js Media JS: ensure that `wp.media.frame` (a static reference to the "current" `Frame`) is reset when a cached frame is opened. 2015-09-17 00:10:26 +00:00
media-editor.min.js Media JS: ensure that `wp.media.frame` (a static reference to the "current" `Frame`) is reset when a cached frame is opened. 2015-09-17 00:10:26 +00:00
media-grid.js Revert [32466], I will pick this up in 4.4. 2015-07-21 15:10:27 +00:00
media-grid.min.js Revert [32466], I will pick this up in 4.4. 2015-07-21 15:10:27 +00:00
media-models.js JSHint: don't redeclare globals listed in .jshintrc 2015-07-20 23:39:24 +00:00
media-models.min.js In `wp.media.model.Attachments.filters.type()`, return `true` earlier if `type` isn't set. 2015-07-06 15:34:26 +00:00
media-views.js Media: when inserting an attachment in the editor and it is not an image, ensure the link is set to something else than `none`. 2016-01-04 00:33:28 +00:00
media-views.min.js Media: when inserting an attachment in the editor and it is not an image, ensure the link is set to something else than `none`. 2016-01-04 00:33:28 +00:00
quicktags.js Update the TinyMCE initialization: 2015-06-21 22:01:28 +00:00
quicktags.min.js Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
shortcode.js Abstract the shortcode attribute parsing regex into its own function, update the JavaScript counterpart, and introduce a test to ensure they do not diverge again. 2015-10-08 03:12:24 +00:00
shortcode.min.js Abstract the shortcode attribute parsing regex into its own function, update the JavaScript counterpart, and introduce a test to ensure they do not diverge again. 2015-10-08 03:12:24 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
twemoji.js Emoji: Update emoji support to Unicode 8.0, including the Diversity set. 2015-12-31 01:30:27 +00:00
twemoji.min.js Emoji: Update emoji support to Unicode 8.0, including the Diversity set. 2015-12-31 01:30:27 +00:00
underscore.min.js Don't override minified libraries included in core 2015-04-07 04:38:25 +00:00
utils.js After [33840], JS regex needs the `g` modifier. 2015-09-08 16:44:26 +00:00
utils.min.js After [33840], JS regex needs the `g` modifier. 2015-09-08 16:44:26 +00:00
wp-a11y.js Minor documentation fixes for the `wp.a11y.speak()` and `addContainer()` DocBlocks. 2015-07-13 17:58:24 +00:00
wp-a11y.min.js Add `assertive` capability to wp.a11y.speak(). 2015-06-30 04:35:24 +00:00
wp-ajax-response.js jQuery: Replace the use of the `.size()` method with the `.length` property. 2016-01-13 16:17:27 +00:00
wp-ajax-response.min.js jQuery: Replace the use of the `.size()` method with the `.length` property. 2016-01-13 16:17:27 +00:00
wp-auth-check.js jQuery: Replace use of the `.load()` method for the "load" event with `.on( 'load', handler )`. 2016-01-13 17:22:27 +00:00
wp-auth-check.min.js jQuery: Replace use of the `.load()` method for the "load" event with `.on( 'load', handler )`. 2016-01-13 17:22:27 +00:00
wp-backbone.js In wp.Backbone.Subviews, extract subviews with proper Underscore.js functions. 2016-01-15 04:02:28 +00:00
wp-backbone.min.js In wp.Backbone.Subviews, extract subviews with proper Underscore.js functions. 2016-01-15 04:02:28 +00:00
wp-embed-template.js Embeds: Fix support for embedding in non-WordPress sites. 2015-11-09 00:08:27 +00:00
wp-embed-template.min.js Embeds: Fix support for embedding in non-WordPress sites. 2015-11-09 00:08:27 +00:00
wp-embed.js Embeds: Enforce, via unit tests, the no-ampersand rule for wp-embed.js. 2015-12-04 05:46:25 +00:00
wp-embed.min.js WP oEmbed: validate the `secret` send via `postMessage` in `wp.receiveEmbedMessage`. Also, compare `window` instances. 2015-12-03 20:17:25 +00:00
wp-emoji-loader.js Emoji: Add a test to the emoji loader, to see if the browser supports emoji diversity. If it doesn't, fall back to twemoji. 2016-01-03 04:26:27 +00:00
wp-emoji-loader.min.js Emoji: Add a test to the emoji loader, to see if the browser supports emoji diversity. If it doesn't, fall back to twemoji. 2016-01-03 04:26:27 +00:00
wp-emoji-release.min.js Emoji: Add a test to the emoji loader, to see if the browser supports emoji diversity. If it doesn't, fall back to twemoji. 2016-01-03 04:26:27 +00:00
wp-emoji.js Emoji: Add a test to the emoji loader, to see if the browser supports emoji diversity. If it doesn't, fall back to twemoji. 2016-01-03 04:26:27 +00:00
wp-emoji.min.js Emoji: Add a test to the emoji loader, to see if the browser supports emoji diversity. If it doesn't, fall back to twemoji. 2016-01-03 04:26:27 +00:00
wp-list-revisions.js
wp-list-revisions.min.js
wp-lists.js jQuery: Replace the use of the `.size()` method with the `.length` property. 2016-01-13 16:17:27 +00:00
wp-lists.min.js jQuery: Replace the use of the `.size()` method with the `.length` property. 2016-01-13 16:17:27 +00:00
wp-pointer.js
wp-pointer.min.js
wp-util.js Add an `abort` class method to the Promise instance returned by `wp.ajax.send()`. 2015-06-13 14:30:26 +00:00
wp-util.min.js Add an `abort` class method to the Promise instance returned by `wp.ajax.send()`. 2015-06-13 14:30:26 +00:00
wpdialog.js
wpdialog.min.js
wplink.js Editor: remove wpLink dependency on jQuery UI. 2015-11-22 19:27:26 +00:00
wplink.min.js Editor: remove wpLink dependency on jQuery UI. 2015-11-22 19:27:26 +00:00
zxcvbn-async.js
zxcvbn-async.min.js
zxcvbn.min.js