WordPress/wp-includes/js
Adam Silverstein bc7a03a33b WP-API: JavaScript client - fix setup of models used by wp.api.collections objects.
Correct setup for the `model` attribute of `wp.api.collections` objects. Set the collection model as a function that returns a new model of the underlying type, instead of setting it as the model prototype. Fixes an issue where models for fetched collections weren't set up properly and didn't have the expected mixin methods such as `getCategories` available.

Props jesseenterprises.
Fixes #39070.

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


git-svn-id: http://core.svn.wordpress.org/trunk@39543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-15 12:54:42 +00:00
..
crop
imgareaselect
jcrop
jquery Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
mediaelement Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
plupload Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
swfupload
thickbox
tinymce Build/Test Tools: Specify exact node version in package.json. 2016-12-04 17:32:16 +00:00
admin-bar.js
admin-bar.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
autosave.js
autosave.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
backbone.min.js
colorpicker.js
colorpicker.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
comment-reply.js
comment-reply.min.js
customize-base.js Docs: Fix multiple trivial typos throughout a variety of core files. 2016-10-31 06:28:32 +00:00
customize-base.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
customize-loader.js
customize-loader.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
customize-models.js
customize-models.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
customize-preview-nav-menus.js Customize: Fix ability to shift-click on placeholder/pre-saved nav menu items in preview to focus on corresponding control. 2016-12-10 23:47:41 +00:00
customize-preview-nav-menus.min.js Customize: Fix ability to shift-click on placeholder/pre-saved nav menu items in preview to focus on corresponding control. 2016-12-10 23:47:41 +00:00
customize-preview-widgets.js
customize-preview-widgets.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
customize-preview.js Customize: Prevent navigation in preview when clicking on child elements of preview links that have non-previewable URLs. 2016-12-12 08:09:41 +00:00
customize-preview.min.js Customize: Prevent navigation in preview when clicking on child elements of preview links that have non-previewable URLs. 2016-12-12 08:09:41 +00:00
customize-selective-refresh.js Customize: Prevent edit shortcut from losing event handler after selective refresh. 2016-12-12 07:52:43 +00:00
customize-selective-refresh.min.js Customize: Prevent edit shortcut from losing event handler after selective refresh. 2016-12-12 07:52:43 +00:00
customize-views.js
customize-views.min.js
heartbeat.js Docs: Fix multiple trivial typos throughout a variety of core files. 2016-10-31 06:28:32 +00:00
heartbeat.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
hoverIntent.js
hoverIntent.min.js
imagesloaded.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
json2.js
json2.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
masonry.min.js
mce-view.js TinyMCE views: fix Firefox issues. 2016-11-17 20:32:32 +00:00
mce-view.min.js TinyMCE views: fix Firefox issues. 2016-11-17 20:32:32 +00:00
media-audiovideo.js
media-audiovideo.min.js
media-editor.js
media-editor.min.js
media-grid.js
media-grid.min.js
media-models.js Docs: Fix multiple trivial typos throughout a variety of core files. 2016-10-31 06:28:32 +00:00
media-models.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
media-views.js
media-views.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
quicktags.js
quicktags.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
shortcode.js
shortcode.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js
twemoji.js Emoji: Update Twemoji fallback to version 2.2.2. 2016-11-19 11:05:32 +00:00
twemoji.min.js Emoji: Update Twemoji fallback to version 2.2.2. 2016-11-19 11:05:32 +00:00
underscore.min.js
utils.js Docs: Fix multiple trivial typos throughout a variety of core files. 2016-10-31 06:28:32 +00:00
utils.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
wp-a11y.js
wp-a11y.min.js
wp-ajax-response.js Text Changes: Unify permission error message in `wp-ajax-response.js`. 2016-11-15 20:42:30 +00:00
wp-ajax-response.min.js Text Changes: Unify permission error message in `wp-ajax-response.js`. 2016-11-15 20:42:30 +00:00
wp-api.js WP-API: JavaScript client - fix setup of models used by wp.api.collections objects. 2016-12-15 12:54:42 +00:00
wp-api.min.js WP-API: JavaScript client - fix setup of models used by wp.api.collections objects. 2016-12-15 12:54:42 +00:00
wp-auth-check.js
wp-auth-check.min.js
wp-backbone.js
wp-backbone.min.js
wp-custom-header.js Small coding standards cleanup of wp-custom-header.js. 2016-11-17 09:04:31 +00:00
wp-custom-header.min.js Themes: Improve a11y and extendability of custom video headers. 2016-11-16 23:26:31 +00:00
wp-embed-template.js
wp-embed-template.min.js
wp-embed.js Embeds: Correctly remove security attribute from iframes in IE 10 and IE 11. 2016-11-23 13:38:33 +00:00
wp-embed.min.js Embeds: Correctly remove security attribute from iframes in IE 10 and IE 11. 2016-11-23 13:38:33 +00:00
wp-emoji-loader.js
wp-emoji-loader.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
wp-emoji-release.min.js Emoji: Update Twemoji fallback to version 2.2.2. 2016-11-19 11:05:32 +00:00
wp-emoji.js
wp-emoji.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
wp-list-revisions.js
wp-list-revisions.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
wp-lists.js
wp-lists.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
wp-pointer.js
wp-pointer.min.js
wp-util.js
wp-util.min.js
wpdialog.js
wpdialog.min.js
wplink.js Editor: Remove target=_blank when unchecked in the link modal. 2016-12-14 20:30:44 +00:00
wplink.min.js Editor: Remove target=_blank when unchecked in the link modal. 2016-12-14 20:30:44 +00:00
zxcvbn-async.js
zxcvbn-async.min.js
zxcvbn.min.js Libraries: Update zxcvbn from version 1.0 to 4.4.1 2016-12-13 11:23:42 +00:00