WordPress/wp-includes/js
Daryl Koopersmith ef0774026b Media: Improve sidebar handling and make attachment display properties attachment-specific.
`wp.mce.media`
* Watch all workflows for the `insert` event and attempt to insert the current state's `selection` if it exists.
* Fetch and pass attachment display properties through to `wp.media.string.image()`.

`wp.media.controller.Region`
* Separate the concept of events and modes.
* All events triggered on a `Region` trigger both `event` and `event:mode` callbacks.
* When a mode is deactivated, `deactivate` and `deactivate:mode` events are fired.
* When a mode is activated, `activate` and `activate:mode` events are fired.

`wp.media.controller.Library`
* Remove the `details()`, `buildDetails()`, and `clearDetails()` methods that juggled sidebar views. Instead, handle the sidebar views using modes.

`wp.media.controller.Gallery`
* Shift the overloaded `sidebar()` method to use modes.

`wp.media.view.MediaFrame.Post`
* Declare `activate:mode` event bindings using an nested object to reduce repetition.
* Update sidebar activation callbacks.

`wp.media.view.Settings`
* Refactor to leverage HTML data attributes and implicit values (instead of setting the fallback whenever an object was created). This has the additional benefit that gallery shortcode parameters are not output when the user has left them set to the default.

see #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-08 14:15:09 +00:00
..
crop Use ImageOptim to losslessly smush our images. About half a MB in savings! fixes #22381. props waldojaquith 2012-11-07 18:49:10 +00:00
imgareaselect Use ImageOptim to losslessly smush our images. About half a MB in savings! fixes #22381. props waldojaquith 2012-11-07 18:49:10 +00:00
jcrop Use ImageOptim to losslessly smush our images. About half a MB in savings! fixes #22381. props waldojaquith 2012-11-07 18:49:10 +00:00
jquery jQuery UI 1.9.1 2012-11-03 22:51:38 +00:00
plupload Compress scripts/styles: 3.5-beta2-22326. 2012-10-29 22:58:31 +00:00
swfupload Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
thickbox Use ImageOptim to losslessly smush our images. About half a MB in savings! fixes #22381. props waldojaquith 2012-11-07 18:49:10 +00:00
tinymce Compress scripts/styles: 3.5-beta2-22438. TinyMCE updated. 2012-11-07 20:29:58 +00:00
admin-bar.js Make the admin menu and toolbar work well on mobile devices, props georgestephanis, see #20614 2012-10-19 18:31:21 +00:00
admin-bar.min.js Compress scripts/styles: 3.5-beta2-22265. 2012-10-19 22:58:33 +00:00
autosave.js New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
autosave.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00
backbone.min.js Please welcome Underscore.js and Backbone.js to core. fixes #21664. 2012-08-22 22:24:20 +00:00
colorpicker.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
colorpicker.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
comment-reply.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
comment-reply.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
customize-base.js Improve the lazy instantiation of the 'wp' JavaScript variable. props evansolomon, fixes #22113. 2012-10-06 00:43:36 +00:00
customize-base.min.js Compress scripts/styles: 3.5-beta1-22128. 2012-10-07 02:27:48 +00:00
customize-loader.js Improve the lazy instantiation of the 'wp' JavaScript variable. props evansolomon, fixes #22113. 2012-10-06 00:43:36 +00:00
customize-loader.min.js Compress scripts/styles: 3.5-beta1-22128. 2012-10-07 02:27:48 +00:00
customize-preview.js Theme Customizer: Correctly update background-attachment property in live preview 2012-10-07 14:46:39 +00:00
customize-preview.min.js Compress scripts/styles: 3.5-beta1-22133. 2012-10-07 22:58:41 +00:00
hoverIntent.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
hoverIntent.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
json2.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
json2.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
mce-view.js Media: Integrate the gallery workflow with the media menu. 2012-11-07 20:14:41 +00:00
mce-view.min.js Compress scripts/styles: 3.5-beta2-22438. TinyMCE updated. 2012-11-07 20:29:58 +00:00
media-models.js Media: Integrate the gallery workflow with the media menu. 2012-11-07 20:14:41 +00:00
media-models.min.js Compress scripts/styles: 3.5-beta2-22438. TinyMCE updated. 2012-11-07 20:29:58 +00:00
media-views.js Media: Improve sidebar handling and make attachment display properties attachment-specific. 2012-11-08 14:15:09 +00:00
media-views.min.js Compress scripts/styles: 3.5-beta2-22455. 2012-11-07 22:58:33 +00:00
quicktags.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
quicktags.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
shortcode.js Improve the lazy instantiation of the 'wp' JavaScript variable. props evansolomon, fixes #22113. 2012-10-06 00:43:36 +00:00
shortcode.min.js Compress scripts/styles: 3.5-beta1-22128. 2012-10-07 02:27:48 +00:00
swfobject.js Update swfobject 2012-04-17 23:09:29 +00:00
tw-sack.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
tw-sack.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
underscore.min.js Update underscore.js to version 1.4.1. fixes #22081, see #22026. 2012-10-03 00:27:16 +00:00
wp-ajax-response.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wp-ajax-response.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wp-list-revisions.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wp-list-revisions.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wp-lists.js Kill use of colons in class names, props SergeyBiryukov, fixes #21152 2012-11-06 01:01:52 +00:00
wp-lists.min.js Compress scripts/styles: 3.5-beta2-22407. 2012-11-06 22:58:35 +00:00
wp-pointer.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wp-pointer.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wplink.js New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
wplink.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00