WordPress/wp-includes/js
Dominik Schilling 3c962ee5d8 Improve/introduce Customizer JavaScript models for Controls, Sections, and Panels.
* Introduce models for panels and sections.
* Introduce API to expand and focus a control, section or panel.
* Allow deep-linking to panels, sections, and controls inside of the Customizer.
* Clean up `accordion.js`, removing all Customizer-specific logic.
* Add initial unit tests for `wp.customize.Class` in `customize-base.js`.

https://make.wordpress.org/core/2014/10/27/toward-a-complete-javascript-api-for-the-customizer/ provides an overview of how to use the JavaScript API.

props westonruter, celloexpressions, ryankienstra.
see #28032, #28579, #28580, #28650, #28709, #29758.
fixes #29529.


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


git-svn-id: http://core.svn.wordpress.org/trunk@30102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-29 22:51:22 +00:00
..
crop
imgareaselect
jcrop
jquery Update jQuery UI to 1.11.2. 2014-10-16 19:02:38 +00:00
mediaelement Allow developers to override the `settings.success` callback for MediaElement players. 2014-10-29 01:21:24 +00:00
plupload In `wp.Uploader`, when `uploader:ready` is triggered, set `ready` to `true` on the instance. This allows media workflows to check for an existing uploaded instance when opening. 2014-10-16 05:54:18 +00:00
swfupload Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
thickbox Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
tinymce Update images based on grunt imagemin 2014-10-28 22:02:22 +00:00
admin-bar.js
admin-bar.min.js Update the versions of several `devDependencies` in `package.json`. `grunt-cssjanus` has been updated to `0.2.2`, we no longer need the fork. Run `npm install` to receive updates for `node_modules` in the project root. 2014-01-29 04:43:30 +00:00
autosave.js Autosave: prevent setting multiple stale `wp-saving-post-*` cookies when the browser disregards "session cookies" expiration on quit: 2014-08-22 00:25:16 +00:00
autosave.min.js Autosave: prevent setting multiple stale `wp-saving-post-*` cookies when the browser disregards "session cookies" expiration on quit: 2014-08-22 00:25:16 +00:00
backbone.min.js Update Backbone to version 1.1.2. 2014-02-22 15:42:14 +00:00
colorpicker.js
colorpicker.min.js Update the versions of several `devDependencies` in `package.json`. `grunt-cssjanus` has been updated to `0.2.2`, we no longer need the fork. Run `npm install` to receive updates for `node_modules` in the project root. 2014-01-29 04:43:30 +00:00
comment-reply.js
comment-reply.min.js
customize-base.js Improve/introduce Customizer JavaScript models for Controls, Sections, and Panels. 2014-10-29 22:51:22 +00:00
customize-base.min.js Customizer: Don't trigger a change event if two unchanged object values are equal, second pass. 2014-10-15 18:26:17 +00:00
customize-loader.js Customizer: Change instances of "Theme Customizer" to just "Customizer", as the Customizer isn't necessarily theme-specific. 2014-10-15 17:21:19 +00:00
customize-loader.min.js Prompt the user before leaving the Customizer if they have unsaved changes. props westonruter. fixes #25439. 2014-07-08 17:04:15 +00:00
customize-models.js Customizer: Allow to skip cropping header images if image width is smaller than or equal to theme width. 2014-04-25 20:25:19 +00:00
customize-models.min.js Customizer: Allow to skip cropping header images if image width is smaller than or equal to theme width. 2014-04-25 20:25:19 +00:00
customize-preview-widgets.js Customizer: Introduce WP_Customize_Control::active() method to determine whether the control is relevant to the current context (i.e. to the current URL being previewed). 2014-07-09 23:58:16 +00:00
customize-preview-widgets.min.js Customizer: Introduce WP_Customize_Control::active() method to determine whether the control is relevant to the current context (i.e. to the current URL being previewed). 2014-07-09 23:58:16 +00:00
customize-preview.js Improve/introduce Customizer JavaScript models for Controls, Sections, and Panels. 2014-10-29 22:51:22 +00:00
customize-preview.min.js Improve/introduce Customizer JavaScript models for Controls, Sections, and Panels. 2014-10-29 22:51:22 +00:00
customize-views.js Customizer: Avoid hiding 'Remove' buttons unrelated to custom headers. 2014-05-06 04:14:14 +00:00
customize-views.min.js Customizer: Avoid hiding 'Remove' buttons unrelated to custom headers. 2014-05-06 04:14:14 +00:00
heartbeat.js Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
heartbeat.min.js Update the versions of several `devDependencies` in `package.json`. `grunt-cssjanus` has been updated to `0.2.2`, we no longer need the fork. Run `npm install` to receive updates for `node_modules` in the project root. 2014-01-29 04:43:30 +00:00
hoverIntent.js
hoverIntent.min.js
json2.js
json2.min.js
masonry.min.js Update the Masonry JavaScript library to version 3. 2014-02-25 19:53:15 +00:00
mce-view.js Add `size` to the UI for Gallery Settings in the media modal. Ensure that the TinyMCE view is refreshed when size changes. 2014-09-29 03:45:16 +00:00
mce-view.min.js Add `size` to the UI for Gallery Settings in the media modal. Ensure that the TinyMCE view is refreshed when size changes. 2014-09-29 03:45:16 +00:00
media-audiovideo.js Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
media-audiovideo.min.js Video: 2014-08-09 19:39:15 +00:00
media-editor.js Add a namespace to the click handler registration for `.insert-media` in `media-editor.js`: `click.add-media-button`. 2014-10-01 19:08:16 +00:00
media-editor.min.js Add a namespace to the click handler registration for `.insert-media` in `media-editor.js`: `click.add-media-button`. 2014-10-01 19:08:16 +00:00
media-grid.js Add the `date` filter from media grid to the media modal. 2014-10-02 04:32:16 +00:00
media-grid.min.js Add the `date` filter from media grid to the media modal. 2014-10-02 04:32:16 +00:00
media-models.js Add two properties to `media.model.Attachments.propmap`: `include` and `exclude`, which are aliases for `post__in` and `post__not_in`. 2014-09-23 03:38:16 +00:00
media-models.min.js Add two properties to `media.model.Attachments.propmap`: `include` and `exclude`, which are aliases for `post__in` and `post__not_in`. 2014-09-23 03:38:16 +00:00
media-views.js In `wp.Uploader`, when `uploader:ready` is triggered, set `ready` to `true` on the instance. This allows media workflows to check for an existing uploaded instance when opening. 2014-10-16 05:54:18 +00:00
media-views.min.js In `wp.Uploader`, when `uploader:ready` is triggered, set `ready` to `true` on the instance. This allows media workflows to check for an existing uploaded instance when opening. 2014-10-16 05:54:18 +00:00
quicktags.js Quicktags: fix strict check for `instance['0']`, props afercia, fixes #29767 2014-10-14 01:26:18 +00:00
quicktags.min.js Quicktags: fix strict check for `instance['0']`, props afercia, fixes #29767 2014-10-14 01:26:18 +00:00
shortcode.js Shortcode JS: Avoid errors when an escaped shortcode includes a newline between brackets. 2014-05-01 03:37:13 +00:00
shortcode.min.js Shortcode JS: Avoid errors when an escaped shortcode includes a newline between brackets. 2014-05-01 03:37:13 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js Update the versions of several `devDependencies` in `package.json`. `grunt-cssjanus` has been updated to `0.2.2`, we no longer need the fork. Run `npm install` to receive updates for `node_modules` in the project root. 2014-01-29 04:43:30 +00:00
underscore.min.js Update Backbone from 1.0 to 1.1. 2014-02-13 07:34:13 +00:00
utils.js Fix the `wp-settings-*` cookies used in getUserSetting()/setUserSetting(). They should be set without `COOKIE_DOMAIN` to work properly for sub-domains. Fixes #29095. 2014-08-13 02:47:16 +00:00
utils.min.js Fix the `wp-settings-*` cookies used in getUserSetting()/setUserSetting(). They should be set without `COOKIE_DOMAIN` to work properly for sub-domains. Fixes #29095. 2014-08-13 02:47:16 +00:00
wp-ajax-response.js
wp-ajax-response.min.js
wp-auth-check.js
wp-auth-check.min.js Update the versions of several `devDependencies` in `package.json`. `grunt-cssjanus` has been updated to `0.2.2`, we no longer need the fork. Run `npm install` to receive updates for `node_modules` in the project root. 2014-01-29 04:43:30 +00:00
wp-backbone.js Update media-views and wp.Backbone.View for Backbone 1.1. 2014-02-13 07:36:13 +00:00
wp-backbone.min.js Update media-views and wp.Backbone.View for Backbone 1.1. 2014-02-13 07:36:13 +00:00
wp-list-revisions.js
wp-list-revisions.min.js
wp-lists.js Fix double avatars and JS errors when spamming/trashing comments. 2014-03-26 23:14:15 +00:00
wp-lists.min.js Fix double avatars and JS errors when spamming/trashing comments. 2014-03-26 23:14:15 +00:00
wp-pointer.js
wp-pointer.min.js
wp-util.js
wp-util.min.js Update the versions of several `devDependencies` in `package.json`. `grunt-cssjanus` has been updated to `0.2.2`, we no longer need the fork. Run `npm install` to receive updates for `node_modules` in the project root. 2014-01-29 04:43:30 +00:00
wpdialog.js
wpdialog.min.js
wplink.js wpLink: add custom open and close events, props bradyvercher, fixes #28095. 2014-08-01 02:04:17 +00:00
wplink.min.js wpLink: add custom open and close events, props bradyvercher, fixes #28095. 2014-08-01 02:04:17 +00:00
zxcvbn-async.js
zxcvbn-async.min.js Update the versions of several `devDependencies` in `package.json`. `grunt-cssjanus` has been updated to `0.2.2`, we no longer need the fork. Run `npm install` to receive updates for `node_modules` in the project root. 2014-01-29 04:43:30 +00:00
zxcvbn.min.js