<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[41351] trunk: Docs: JSDoc improvements for namespaces.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/41351">41351</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/41351","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>adamsilverstein</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2017-09-08 18:41:20 +0000 (Fri, 08 Sep 2017)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Docs: JSDoc improvements for namespaces.

Improve JS parsing of our inline JSDocs by introducing `@namespace`, `@lends` and `@memberOf`. Helps set the way for showing our JavaScript documentation on developer.wordpress.org, see https://meta.trac.wordpress.org/ticket/3063.

* Define all used namespaces using @namespace.
* Correctly specify in which namespace each class is using @memberOf.
* Define each usage of the extend function as a prototype assignment using @lends.
* Some comment blocks were moved to correct the parsing of certain definitions. 

Props herregroen, atimmer, netweb, SergeyBiryukov. ?\226?\128?\130
Fixes <a href="https://core.trac.wordpress.org/ticket/41682">#41682</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkGruntfilejs">trunk/Gruntfile.js</a></li>
<li><a href="#trunkpackagejson">trunk/package.json</a></li>
<li><a href="#trunksrcwpincludesjsapirequestjs">trunk/src/wp-includes/js/api-request.js</a></li>
<li><a href="#trunksrcwpincludesjsautosavejs">trunk/src/wp-includes/js/autosave.js</a></li>
<li><a href="#trunksrcwpincludesjscustomizebasejs">trunk/src/wp-includes/js/customize-base.js</a></li>
<li><a href="#trunksrcwpincludesjscustomizeloaderjs">trunk/src/wp-includes/js/customize-loader.js</a></li>
<li><a href="#trunksrcwpincludesjscustomizemodelsjs">trunk/src/wp-includes/js/customize-models.js</a></li>
<li><a href="#trunksrcwpincludesjscustomizepreviewnavmenusjs">trunk/src/wp-includes/js/customize-preview-nav-menus.js</a></li>
<li><a href="#trunksrcwpincludesjscustomizepreviewwidgetsjs">trunk/src/wp-includes/js/customize-preview-widgets.js</a></li>
<li><a href="#trunksrcwpincludesjscustomizepreviewjs">trunk/src/wp-includes/js/customize-preview.js</a></li>
<li><a href="#trunksrcwpincludesjscustomizeselectiverefreshjs">trunk/src/wp-includes/js/customize-selective-refresh.js</a></li>
<li><a href="#trunksrcwpincludesjscustomizeviewsjs">trunk/src/wp-includes/js/customize-views.js</a></li>
<li><a href="#trunksrcwpincludesjsheartbeatjs">trunk/src/wp-includes/js/heartbeat.js</a></li>
<li><a href="#trunksrcwpincludesjsmceviewjs">trunk/src/wp-includes/js/mce-view.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollersaudiodetailsjs">trunk/src/wp-includes/js/media/controllers/audio-details.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollerscollectionaddjs">trunk/src/wp-includes/js/media/controllers/collection-add.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollerscollectioneditjs">trunk/src/wp-includes/js/media/controllers/collection-edit.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollerscropperjs">trunk/src/wp-includes/js/media/controllers/cropper.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollerscustomizeimagecropperjs">trunk/src/wp-includes/js/media/controllers/customize-image-cropper.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollerseditattachmentmetadatajs">trunk/src/wp-includes/js/media/controllers/edit-attachment-metadata.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollerseditimagejs">trunk/src/wp-includes/js/media/controllers/edit-image.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollersembedjs">trunk/src/wp-includes/js/media/controllers/embed.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollersfeaturedimagejs">trunk/src/wp-includes/js/media/controllers/featured-image.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollersgalleryaddjs">trunk/src/wp-includes/js/media/controllers/gallery-add.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollersgalleryeditjs">trunk/src/wp-includes/js/media/controllers/gallery-edit.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollersimagedetailsjs">trunk/src/wp-includes/js/media/controllers/image-details.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollerslibraryjs">trunk/src/wp-includes/js/media/controllers/library.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollersmedialibraryjs">trunk/src/wp-includes/js/media/controllers/media-library.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollersregionjs">trunk/src/wp-includes/js/media/controllers/region.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollersreplaceimagejs">trunk/src/wp-includes/js/media/controllers/replace-image.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollerssiteiconcropperjs">trunk/src/wp-includes/js/media/controllers/site-icon-cropper.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollersstatemachinejs">trunk/src/wp-includes/js/media/controllers/state-machine.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollersstatejs">trunk/src/wp-includes/js/media/controllers/state.js</a></li>
<li><a href="#trunksrcwpincludesjsmediacontrollersvideodetailsjs">trunk/src/wp-includes/js/media/controllers/video-details.js</a></li>
<li><a href="#trunksrcwpincludesjsmediamodelsattachmentjs">trunk/src/wp-includes/js/media/models/attachment.js</a></li>
<li><a href="#trunksrcwpincludesjsmediamodelsattachmentsjs">trunk/src/wp-includes/js/media/models/attachments.js</a></li>
<li><a href="#trunksrcwpincludesjsmediamodelspostimagejs">trunk/src/wp-includes/js/media/models/post-image.js</a></li>
<li><a href="#trunksrcwpincludesjsmediamodelspostmediajs">trunk/src/wp-includes/js/media/models/post-media.js</a></li>
<li><a href="#trunksrcwpincludesjsmediamodelsqueryjs">trunk/src/wp-includes/js/media/models/query.js</a></li>
<li><a href="#trunksrcwpincludesjsmediamodelsselectionjs">trunk/src/wp-includes/js/media/models/selection.js</a></li>
<li><a href="#trunksrcwpincludesjsmediamodelsmanifestjs">trunk/src/wp-includes/js/media/models.manifest.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaroutersmanagejs">trunk/src/wp-includes/js/media/routers/manage.js</a></li>
<li><a href="#trunksrcwpincludesjsmediautilsselectionsyncjs">trunk/src/wp-includes/js/media/utils/selection-sync.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsattachmentdetailstwocolumnjs">trunk/src/wp-includes/js/media/views/attachment/details-two-column.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsattachmentdetailsjs">trunk/src/wp-includes/js/media/views/attachment/details.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsattachmenteditlibraryjs">trunk/src/wp-includes/js/media/views/attachment/edit-library.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsattachmenteditselectionjs">trunk/src/wp-includes/js/media/views/attachment/edit-selection.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsattachmentlibraryjs">trunk/src/wp-includes/js/media/views/attachment/library.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsattachmentselectionjs">trunk/src/wp-includes/js/media/views/attachment/selection.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsattachmentcompatjs">trunk/src/wp-includes/js/media/views/attachment-compat.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsattachmentfiltersalljs">trunk/src/wp-includes/js/media/views/attachment-filters/all.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsattachmentfiltersdatejs">trunk/src/wp-includes/js/media/views/attachment-filters/date.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsattachmentfiltersuploadedjs">trunk/src/wp-includes/js/media/views/attachment-filters/uploaded.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsattachmentfiltersjs">trunk/src/wp-includes/js/media/views/attachment-filters.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsattachmentjs">trunk/src/wp-includes/js/media/views/attachment.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsattachmentsbrowserjs">trunk/src/wp-includes/js/media/views/attachments/browser.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsattachmentsselectionjs">trunk/src/wp-includes/js/media/views/attachments/selection.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsattachmentsjs">trunk/src/wp-includes/js/media/views/attachments.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsaudiodetailsjs">trunk/src/wp-includes/js/media/views/audio-details.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsbuttondeleteselectedpermanentlyjs">trunk/src/wp-includes/js/media/views/button/delete-selected-permanently.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsbuttondeleteselectedjs">trunk/src/wp-includes/js/media/views/button/delete-selected.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsbuttonselectmodetogglejs">trunk/src/wp-includes/js/media/views/button/select-mode-toggle.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsbuttongroupjs">trunk/src/wp-includes/js/media/views/button-group.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsbuttonjs">trunk/src/wp-includes/js/media/views/button.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewscropperjs">trunk/src/wp-includes/js/media/views/cropper.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewseditimagedetailsjs">trunk/src/wp-includes/js/media/views/edit-image-details.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewseditimagejs">trunk/src/wp-includes/js/media/views/edit-image.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsembedimagejs">trunk/src/wp-includes/js/media/views/embed/image.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsembedlinkjs">trunk/src/wp-includes/js/media/views/embed/link.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsembedurljs">trunk/src/wp-includes/js/media/views/embed/url.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsembedjs">trunk/src/wp-includes/js/media/views/embed.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsfocusmanagerjs">trunk/src/wp-includes/js/media/views/focus-manager.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsframeaudiodetailsjs">trunk/src/wp-includes/js/media/views/frame/audio-details.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsframeeditattachmentsjs">trunk/src/wp-includes/js/media/views/frame/edit-attachments.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsframeimagedetailsjs">trunk/src/wp-includes/js/media/views/frame/image-details.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsframemanagejs">trunk/src/wp-includes/js/media/views/frame/manage.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsframemediadetailsjs">trunk/src/wp-includes/js/media/views/frame/media-details.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsframepostjs">trunk/src/wp-includes/js/media/views/frame/post.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsframeselectjs">trunk/src/wp-includes/js/media/views/frame/select.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsframevideodetailsjs">trunk/src/wp-includes/js/media/views/frame/video-details.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsframejs">trunk/src/wp-includes/js/media/views/frame.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsiframejs">trunk/src/wp-includes/js/media/views/iframe.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsimagedetailsjs">trunk/src/wp-includes/js/media/views/image-details.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewslabeljs">trunk/src/wp-includes/js/media/views/label.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsmediadetailsjs">trunk/src/wp-includes/js/media/views/media-details.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsmediaframejs">trunk/src/wp-includes/js/media/views/media-frame.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsmenuitemjs">trunk/src/wp-includes/js/media/views/menu-item.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsmenujs">trunk/src/wp-includes/js/media/views/menu.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsmodaljs">trunk/src/wp-includes/js/media/views/modal.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsprioritylistjs">trunk/src/wp-includes/js/media/views/priority-list.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsrouteritemjs">trunk/src/wp-includes/js/media/views/router-item.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsrouterjs">trunk/src/wp-includes/js/media/views/router.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewssearchjs">trunk/src/wp-includes/js/media/views/search.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsselectionjs">trunk/src/wp-includes/js/media/views/selection.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewssettingsattachmentdisplayjs">trunk/src/wp-includes/js/media/views/settings/attachment-display.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewssettingsgalleryjs">trunk/src/wp-includes/js/media/views/settings/gallery.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewssettingsplaylistjs">trunk/src/wp-includes/js/media/views/settings/playlist.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewssettingsjs">trunk/src/wp-includes/js/media/views/settings.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewssidebarjs">trunk/src/wp-includes/js/media/views/sidebar.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewssiteiconcropperjs">trunk/src/wp-includes/js/media/views/site-icon-cropper.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewssiteiconpreviewjs">trunk/src/wp-includes/js/media/views/site-icon-preview.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsspinnerjs">trunk/src/wp-includes/js/media/views/spinner.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewstoolbarembedjs">trunk/src/wp-includes/js/media/views/toolbar/embed.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewstoolbarselectjs">trunk/src/wp-includes/js/media/views/toolbar/select.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewstoolbarjs">trunk/src/wp-includes/js/media/views/toolbar.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsuploadereditorjs">trunk/src/wp-includes/js/media/views/uploader/editor.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsuploaderinlinejs">trunk/src/wp-includes/js/media/views/uploader/inline.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsuploaderstatuserrorjs">trunk/src/wp-includes/js/media/views/uploader/status-error.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsuploaderstatusjs">trunk/src/wp-includes/js/media/views/uploader/status.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsuploaderwindowjs">trunk/src/wp-includes/js/media/views/uploader/window.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsvideodetailsjs">trunk/src/wp-includes/js/media/views/video-details.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsviewjs">trunk/src/wp-includes/js/media/views/view.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaaudiovideojs">trunk/src/wp-includes/js/media-audiovideo.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaeditorjs">trunk/src/wp-includes/js/media-editor.js</a></li>
<li><a href="#trunksrcwpincludesjsmediagridjs">trunk/src/wp-includes/js/media-grid.js</a></li>
<li><a href="#trunksrcwpincludesjsmediamodelsjs">trunk/src/wp-includes/js/media-models.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaviewsjs">trunk/src/wp-includes/js/media-views.js</a></li>
<li><a href="#trunksrcwpincludesjspluploadwppluploadjs">trunk/src/wp-includes/js/plupload/wp-plupload.js</a></li>
<li><a href="#trunksrcwpincludesjsshortcodejs">trunk/src/wp-includes/js/shortcode.js</a></li>
<li><a href="#trunksrcwpincludesjswpa11yjs">trunk/src/wp-includes/js/wp-a11y.js</a></li>
<li><a href="#trunksrcwpincludesjswpapijs">trunk/src/wp-includes/js/wp-api.js</a></li>
<li><a href="#trunksrcwpincludesjswpbackbonejs">trunk/src/wp-includes/js/wp-backbone.js</a></li>
<li><a href="#trunksrcwpincludesjswpcustomheaderjs">trunk/src/wp-includes/js/wp-custom-header.js</a></li>
<li><a href="#trunksrcwpincludesjswpembedjs">trunk/src/wp-includes/js/wp-embed.js</a></li>
<li><a href="#trunksrcwpincludesjswppointerjs">trunk/src/wp-includes/js/wp-pointer.js</a></li>
<li><a href="#trunksrcwpincludesjswputiljs">trunk/src/wp-includes/js/wp-util.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkGruntfilejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/Gruntfile.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/Gruntfile.js        2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/Gruntfile.js  2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -435,6 +435,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                }
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="cx" style="display: block; padding: 0 10px">                },
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                jsdoc : {
+                       dist : {
+                               dest: 'jsdoc',
+                               options: {
+                                       configure : 'jsdoc.conf.json'
+                               }
+                       }
+               },
</ins><span class="cx" style="display: block; padding: 0 10px">                 qunit: {
</span><span class="cx" style="display: block; padding: 0 10px">                        files: [
</span><span class="cx" style="display: block; padding: 0 10px">                                'tests/qunit/**/*.html',
</span></span></pre></div>
<a id="trunkpackagejson"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/package.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/package.json        2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/package.json  2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -27,6 +27,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">     "grunt-contrib-uglify": "~2.0.0",
</span><span class="cx" style="display: block; padding: 0 10px">     "grunt-contrib-watch": "~1.0.0",
</span><span class="cx" style="display: block; padding: 0 10px">     "grunt-includes": "~0.5.1",
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    "grunt-jsdoc": "^2.1.0",
</ins><span class="cx" style="display: block; padding: 0 10px">     "grunt-jsvalidate": "~0.2.2",
</span><span class="cx" style="display: block; padding: 0 10px">     "grunt-legacy-util": "^0.2.0",
</span><span class="cx" style="display: block; padding: 0 10px">     "grunt-patch-wordpress": "~0.4.2",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -34,6 +35,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">     "grunt-replace": "~1.0.1",
</span><span class="cx" style="display: block; padding: 0 10px">     "grunt-rtlcss": "~2.0.1",
</span><span class="cx" style="display: block; padding: 0 10px">     "grunt-sass": "~1.2.1",
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    "ink-docstrap": "^1.3.0",
</ins><span class="cx" style="display: block; padding: 0 10px">     "matchdep": "~1.0.0"
</span><span class="cx" style="display: block; padding: 0 10px">   }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpincludesjsapirequestjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/api-request.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/api-request.js   2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/api-request.js     2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,7 +8,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * - Sends the REST API nonce as a request header.
</span><span class="cx" style="display: block; padding: 0 10px">  * - Allows specifying only an endpoint namespace/path instead of a full URL.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @namespace wp.apiRequest
</del><span class="cx" style="display: block; padding: 0 10px">  * @since     4.9.0
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -82,6 +81,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        apiRequest.transport = $.ajax;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /** @namespace wp */
</ins><span class="cx" style="display: block; padding: 0 10px">         window.wp = window.wp || {};
</span><span class="cx" style="display: block; padding: 0 10px">        window.wp.apiRequest = apiRequest;
</span><span class="cx" style="display: block; padding: 0 10px"> } )( jQuery );
</span></span></pre></div>
<a id="trunksrcwpincludesjsautosavejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/autosave.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/autosave.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/autosave.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -850,6 +850,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                };
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /** @namespace wp */
</ins><span class="cx" style="display: block; padding: 0 10px">         window.wp = window.wp || {};
</span><span class="cx" style="display: block; padding: 0 10px">        window.wp.autosave = autosave();
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjscustomizebasejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/customize-base.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/customize-base.js        2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/customize-base.js  2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,4 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/** @namespace wp */
</ins><span class="cx" style="display: block; padding: 0 10px"> window.wp = window.wp || {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> (function( exports, $ ){
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -165,9 +166,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Observable values that support two-way binding.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize
+        * @alias wp.customize.Value
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @constructor
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        api.Value = api.Class.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ api.Value = api.Class.extend(/** @lends wp.customize.Value.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">                 /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * @param {mixed}  initial The initial value.
</span><span class="cx" style="display: block; padding: 0 10px">                 * @param {object} options
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -304,11 +308,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * A collection of observable values.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize
+        * @alias wp.customize.Values
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @constructor
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments wp.customize.Class
</span><span class="cx" style="display: block; padding: 0 10px">         * @mixes wp.customize.Events
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        api.Values = api.Class.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ api.Values = api.Class.extend(/** @lends wp.customize.Values.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * The default constructor for items of the collection.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -520,11 +527,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * Handles inputs, selects, and textareas by default.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize
+        * @alias wp.customize.Element
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @constructor
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments wp.customize.Value
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments wp.customize.Class
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        api.Element = api.Value.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ api.Element = api.Value.extend(/** @lends wp.customize.Element */{
</ins><span class="cx" style="display: block; padding: 0 10px">                 initialize: function( element, options ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        var self = this,
</span><span class="cx" style="display: block; padding: 0 10px">                                synchronizer = api.Element.synchronizer.html,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -617,11 +627,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * A communicator for sending data from one window to another over postMessage.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize
+        * @alias wp.customize.Messenger
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @constructor
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments wp.customize.Class
</span><span class="cx" style="display: block; padding: 0 10px">         * @mixes wp.customize.Events
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        api.Messenger = api.Class.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ api.Messenger = api.Class.extend(/** @lends wp.customize.Messenger.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">                 /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Create a new Value.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -765,6 +778,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments wp.customize.Class
</span><span class="cx" style="display: block; padding: 0 10px">         * @since 4.6.0
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize
+        * @alias wp.customize.Notification
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @param {string}  code - The error code.
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {object}  params - Params.
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {string}  params.message=null - The error message.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -773,7 +789,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {string}  [params.setting=null] - The setting ID that the notification is related to.
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {*}       [params.data=null] - Any additional data.
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        api.Notification = api.Class.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ api.Notification = api.Class.extend(/** @lends wp.customize.Notification.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">                 initialize: function( code, params ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        var _params;
</span><span class="cx" style="display: block; padding: 0 10px">                        this.code = code;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -798,6 +814,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Get all customize settings.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @return {object}
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="cx" style="display: block; padding: 0 10px">        api.get = function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -812,6 +830,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Utility function namespace
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         *
+        * @namespace wp.customize.utils
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        api.utils = {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -820,6 +840,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * @since 4.7.0
</span><span class="cx" style="display: block; padding: 0 10px">         * @access public
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.utils
</ins><span class="cx" style="display: block; padding: 0 10px">          *
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {string} queryString Query string.
</span><span class="cx" style="display: block; padding: 0 10px">         * @returns {object} Parsed query string.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -844,6 +865,10 @@
</span><span class="cx" style="display: block; padding: 0 10px">                return queryParams;
</span><span class="cx" style="display: block; padding: 0 10px">        };
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        // Expose the API publicly on window.wp.customize
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+        * Expose the API publicly on window.wp.customize
+        *
+        * @namespace wp.customize
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         exports.customize = api;
</span><span class="cx" style="display: block; padding: 0 10px"> })( wp, jQuery );
</span></span></pre></div>
<a id="trunksrcwpincludesjscustomizeloaderjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/customize-loader.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/customize-loader.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/customize-loader.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,7 +1,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /* global _wpCustomizeLoaderSettings, confirm */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/*
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
</ins><span class="cx" style="display: block; padding: 0 10px">  * Expose a public API that allows the customizer to be
</span><span class="cx" style="display: block; padding: 0 10px">  * loaded on any page.
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @namespace wp
</ins><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> window.wp = window.wp || {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -22,9 +24,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         *     e.g. <a class="load-customize" href="<?php echo wp_customize_url(); ?>">Open Customizer</a>
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize
+        *
+        * @class
</ins><span class="cx" style="display: block; padding: 0 10px">          * @augments wp.customize.Events
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        Loader = $.extend( {}, api.Events, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ Loader = $.extend( {}, api.Events,/** @lends wp.customize.Loader.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">                 /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Setup the Loader; triggered on document#ready.
</span><span class="cx" style="display: block; padding: 0 10px">                 */
</span></span></pre></div>
<a id="trunksrcwpincludesjscustomizemodelsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/customize-models.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/customize-models.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/customize-models.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /* global _wpCustomizeHeader */
</span><span class="cx" style="display: block; padding: 0 10px"> (function( $, wp ) {
</span><span class="cx" style="display: block; padding: 0 10px">        var api = wp.customize;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /** @namespace wp.customize.HeaderTool */
</ins><span class="cx" style="display: block; padding: 0 10px">         api.HeaderTool = {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -13,10 +14,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">         * These calls are made regardless of whether the user actually saves new
</span><span class="cx" style="display: block; padding: 0 10px">         * Customizer settings.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.HeaderTool
+        * @alias wp.customize.HeaderTool.ImageModel
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @constructor
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        api.HeaderTool.ImageModel = Backbone.Model.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ api.HeaderTool.ImageModel = Backbone.Model.extend(/** @lends wp.customize.HeaderTool.ImageModel.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">                 defaults: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                        return {
</span><span class="cx" style="display: block; padding: 0 10px">                                header: {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -125,6 +129,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * wp.customize.HeaderTool.ChoiceList
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.HeaderTool
+        * @alias wp.customize.HeaderTool.ChoiceList
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @constructor
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments Backbone.Collection
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -232,6 +239,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * wp.customize.HeaderTool.DefaultsList
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.HeaderTool
+        * @alias wp.customize.HeaderTool.DefaultsList
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @constructor
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments wp.customize.HeaderTool.ChoiceList
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments Backbone.Collection
</span></span></pre></div>
<a id="trunksrcwpincludesjscustomizepreviewnavmenusjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/customize-preview-nav-menus.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/customize-preview-nav-menus.js   2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/customize-preview-nav-menus.js     2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,4 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /* global _wpCustomizePreviewNavMenusExports */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+/** @namespace wp.customize.navMenusPreview */
</ins><span class="cx" style="display: block; padding: 0 10px"> wp.customize.navMenusPreview = wp.customize.MenusCustomizerPreview = ( function( $, _, wp, api ) {
</span><span class="cx" style="display: block; padding: 0 10px">        'use strict';
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -72,11 +74,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Partial representing an invocation of wp_nav_menu().
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 * @memberOf wp.customize.navMenusPreview
+                * @alias wp.customize.navMenusPreview.NavMenuInstancePartial
+                *
</ins><span class="cx" style="display: block; padding: 0 10px">                  * @class
</span><span class="cx" style="display: block; padding: 0 10px">                 * @augments wp.customize.selectiveRefresh.Partial
</span><span class="cx" style="display: block; padding: 0 10px">                 * @since 4.5.0
</span><span class="cx" style="display: block; padding: 0 10px">                 */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                self.NavMenuInstancePartial = api.selectiveRefresh.Partial.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         self.NavMenuInstancePartial = api.selectiveRefresh.Partial.extend(/** @lends wp.customize.navMenusPreview.NavMenuInstancePartial.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        /**
</span><span class="cx" style="display: block; padding: 0 10px">                         * Constructor.
</span></span></pre></div>
<a id="trunksrcwpincludesjscustomizepreviewwidgetsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/customize-preview-widgets.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/customize-preview-widgets.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/customize-preview-widgets.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,4 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /* global _wpWidgetCustomizerPreviewSettings */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+/** @namespace wp.customize.widgetsPreview */
</ins><span class="cx" style="display: block; padding: 0 10px"> wp.customize.widgetsPreview = wp.customize.WidgetCustomizerPreview = (function( $, _, wp, api ) {
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        var self;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -42,11 +44,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Partial representing a widget instance.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.widgetsPreview
+        * @alias wp.customize.widgetsPreview.WidgetPartial
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @class
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments wp.customize.selectiveRefresh.Partial
</span><span class="cx" style="display: block; padding: 0 10px">         * @since 4.5.0
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        self.WidgetPartial = api.selectiveRefresh.Partial.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ self.WidgetPartial = api.selectiveRefresh.Partial.extend(/** @lends wp.customize.widgetsPreview.WidgetPartial.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Constructor.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -112,11 +117,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Partial representing a widget area.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.widgetsPreview
+        * @alias wp.customize.widgetsPreview.SidebarPartial
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @class
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments wp.customize.selectiveRefresh.Partial
</span><span class="cx" style="display: block; padding: 0 10px">         * @since 4.5.0
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        self.SidebarPartial = api.selectiveRefresh.Partial.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ self.SidebarPartial = api.selectiveRefresh.Partial.extend(/** @lends wp.customize.widgetsPreview.SidebarPartial.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Constructor.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -510,6 +518,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Calculate the selector for the sidebar's widgets based on the registered sidebar's info.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.widgetsPreview
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @since 3.9.0
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="cx" style="display: block; padding: 0 10px">        self.buildWidgetSelectors = function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -548,6 +558,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Highlight the widget on widget updates or widget control mouse overs.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.widgetsPreview
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @since 3.9.0
</span><span class="cx" style="display: block; padding: 0 10px">         * @param  {string} widgetId ID of the widget.
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -567,6 +579,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">         * Show a title and highlight widgets on hover. On shift+clicking
</span><span class="cx" style="display: block; padding: 0 10px">         * focus the widget control.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.widgetsPreview
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @since 3.9.0
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="cx" style="display: block; padding: 0 10px">        self.highlightControls = function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -598,6 +612,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Parse a widget ID.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.widgetsPreview
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @since 4.5.0
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {string} widgetId Widget ID.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -623,6 +639,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Parse a widget setting ID.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.widgetsPreview
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @since 4.5.0
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {string} settingId Widget setting ID.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -648,6 +666,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Convert a widget ID into a Customizer setting ID.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.widgetsPreview
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @since 4.5.0
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {string} widgetId Widget ID.
</span></span></pre></div>
<a id="trunksrcwpincludesjscustomizepreviewjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/customize-preview.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/customize-preview.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/customize-preview.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -87,12 +87,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">        };
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize
+        * @alias wp.customize.Preview
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @constructor
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments wp.customize.Messenger
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments wp.customize.Class
</span><span class="cx" style="display: block; padding: 0 10px">         * @mixes wp.customize.Events
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        api.Preview = api.Messenger.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ api.Preview = api.Messenger.extend(/** @lends wp.customize.Preview.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">                 /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * @param {object} params  - Parameters to configure the messenger.
</span><span class="cx" style="display: block; padding: 0 10px">                 * @param {object} options - Extend any instance parameter or method with this object.
</span></span></pre></div>
<a id="trunksrcwpincludesjscustomizeselectiverefreshjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/customize-selective-refresh.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/customize-selective-refresh.js   2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/customize-selective-refresh.js     2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /* global jQuery, JSON, _customizePartialRefreshExports, console */
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/** @namespace wp.customize.selectiveRefresh */
</ins><span class="cx" style="display: block; padding: 0 10px"> wp.customize.selectiveRefresh = ( function( $, api ) {
</span><span class="cx" style="display: block; padding: 0 10px">        'use strict';
</span><span class="cx" style="display: block; padding: 0 10px">        var self, Partial, Placement;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -24,6 +25,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * A partial provides a rendering of one or more settings according to a template.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.selectiveRefresh
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @see PHP class WP_Customize_Partial.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * @class
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -39,7 +42,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {string} options.params.primarySetting   The ID for the primary setting the partial renders.
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {bool}   options.params.fallbackRefresh  Whether to refresh the entire preview in case of a partial refresh failure.
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        Partial = self.Partial = api.Class.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ Partial = self.Partial = api.Class.extend(/** @lends wp.customize.SelectiveRefresh.Partial.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                id: null,
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -508,11 +511,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">         * It also may have information in relation to how a placement may have just changed.
</span><span class="cx" style="display: block; padding: 0 10px">         * The placement is conceptually similar to a DOM Range or MutationRecord.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @class
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @memberOf wp.customize.selectiveRefresh
+        *
+        * @class Placement
</ins><span class="cx" style="display: block; padding: 0 10px">          * @augments wp.customize.Class
</span><span class="cx" style="display: block; padding: 0 10px">         * @since 4.5.0
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        self.Placement = Placement = api.Class.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ self.Placement = Placement = api.Class.extend(/** @lends wp.customize.selectiveRefresh.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * The partial with which the container is associated.
</span></span></pre></div>
<a id="trunksrcwpincludesjscustomizeviewsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/customize-views.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/customize-views.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/customize-views.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,10 +11,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * Instantiate with model wp.customize.HeaderTool.currentHeader.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.HeaderTool
+        * @alias wp.customize.HeaderTool.CurrentView
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @constructor
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        api.HeaderTool.CurrentView = wp.Backbone.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ api.HeaderTool.CurrentView = wp.Backbone.View.extend(/** @lends wp.customize.HeaderTool.CurrentView.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">                 template: wp.template('header-current'),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                initialize: function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -50,10 +53,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">         * Manually changes model wp.customize.HeaderTool.currentHeader via the
</span><span class="cx" style="display: block; padding: 0 10px">         * `select` method.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.HeaderTool
+        * @alias wp.customize.HeaderTool.ChoiceView
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @constructor
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        api.HeaderTool.ChoiceView = wp.Backbone.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ api.HeaderTool.ChoiceView = wp.Backbone.View.extend(/** @lends wp.customize.HeaderTool.ChoiceView.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">                 template: wp.template('header-choice'),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                className: 'header-view',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -125,10 +131,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * Takes a wp.customize.HeaderTool.ChoiceList.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.HeaderTool
+        * @alias wp.customize.HeaderTool.ChoiceListView
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @constructor
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        api.HeaderTool.ChoiceListView = wp.Backbone.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ api.HeaderTool.ChoiceListView = wp.Backbone.View.extend(/** @lends wp.customize.HeaderTool.ChoiceListView.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">                 initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                        this.listenTo(this.collection, 'add', this.addOne);
</span><span class="cx" style="display: block; padding: 0 10px">                        this.listenTo(this.collection, 'remove', this.render);
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -168,10 +177,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">         * Aggregates wp.customize.HeaderTool.ChoiceList collections (or any
</span><span class="cx" style="display: block; padding: 0 10px">         * Backbone object, really) and acts as a bus to feed them events.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp.customize.HeaderTool
+        * @alias wp.customize.HeaderTool.CombinedList
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @constructor
</span><span class="cx" style="display: block; padding: 0 10px">         * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        api.HeaderTool.CombinedList = wp.Backbone.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ api.HeaderTool.CombinedList = wp.Backbone.View.extend(/** @lends wp.customize.HeaderTool.CombinedList.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">                 initialize: function(collections) {
</span><span class="cx" style="display: block; padding: 0 10px">                        this.collections = collections;
</span><span class="cx" style="display: block; padding: 0 10px">                        this.on('all', this.propagate, this);
</span></span></pre></div>
<a id="trunksrcwpincludesjsheartbeatjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/heartbeat.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/heartbeat.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/heartbeat.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -742,7 +742,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">                };
</span><span class="cx" style="display: block; padding: 0 10px">        };
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        // Ensure the global `wp` object exists.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+        * Ensure the global `wp` object exists.
+        *
+        * @namespace wp
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         window.wp = window.wp || {};
</span><span class="cx" style="display: block; padding: 0 10px">        window.wp.heartbeat = new Heartbeat();
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmceviewjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/mce-view.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/mce-view.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/mce-view.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -280,7 +280,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        wp.mce.View.extend = Backbone.View.extend;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        _.extend( wp.mce.View.prototype, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ _.extend( wp.mce.View.prototype, /** @lends wp.mce.View.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * The content.
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollersaudiodetailsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/audio-details.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/audio-details.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/audio-details.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,7 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var State = wp.media.controller.State,
+       l10n = wp.media.view.l10n,
+       AudioDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.AudioDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,13 +7,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * The controller for the Audio Details state
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var State = wp.media.controller.State,
-       l10n = wp.media.view.l10n,
-       AudioDetails;
-
-AudioDetails = State.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+AudioDetails = State.extend(/** @lends wp.media.controller.AudioDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id: 'audio-details',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollerscollectionaddjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/collection-add.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/collection-add.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/collection-add.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,7 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Selection = wp.media.model.Selection,
+       Library = wp.media.controller.Library,
+       CollectionAdd;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.CollectionAdd
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,4 +7,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for adding attachments to a collection (e.g. video playlist).
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.Library
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,11 +37,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {string}                     attributes.type                   The collection's media type. (e.g. 'video').
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {string}                     attributes.collectionType         The collection type. (e.g. 'playlist').
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Selection = wp.media.model.Selection,
-       Library = wp.media.controller.Library,
-       CollectionAdd;
-
-CollectionAdd = Library.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+CollectionAdd = Library.extend(/** @lends wp.media.controller.CollectionAdd.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: _.defaults( {
</span><span class="cx" style="display: block; padding: 0 10px">                // Selection defaults. @see media.model.Selection
</span><span class="cx" style="display: block; padding: 0 10px">                multiple:      'add',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollerscollectioneditjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/collection-edit.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/collection-edit.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/collection-edit.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,8 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Library = wp.media.controller.Library,
+       l10n = wp.media.view.l10n,
+       $ = jQuery,
+       CollectionEdit;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.CollectionEdit
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,6 +9,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for editing a collection, which is used by audio and video playlists,
</span><span class="cx" style="display: block; padding: 0 10px">  * and can be used for other collections.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.Library
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -33,12 +40,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {string}                     attributes.type                   The collection's media type. (e.g. 'video').
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {string}                     attributes.collectionType         The collection type. (e.g. 'playlist').
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Library = wp.media.controller.Library,
-       l10n = wp.media.view.l10n,
-       $ = jQuery,
-       CollectionEdit;
-
-CollectionEdit = Library.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+CollectionEdit = Library.extend(/** @lends wp.media.controller.CollectionEdit.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                multiple:         false,
</span><span class="cx" style="display: block; padding: 0 10px">                sortable:         true,
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollerscropperjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/cropper.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/cropper.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/cropper.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,6 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       Cropper;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.Cropper
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,12 +6,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for cropping an image.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       Cropper;
-
-Cropper = wp.media.controller.State.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Cropper = wp.media.controller.State.extend(/** @lends wp.media.controller.Cropper.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:          'cropper',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollerscustomizeimagecropperjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/customize-image-cropper.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/customize-image-cropper.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/customize-image-cropper.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,11 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Controller = wp.media.controller,
+       CustomizeImageCropper;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.CustomizeImageCropper
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * A state for cropping an image.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,10 +13,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Controller = wp.media.controller,
-       CustomizeImageCropper;
-
-CustomizeImageCropper = Controller.Cropper.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+CustomizeImageCropper = Controller.Cropper.extend(/** @lends wp.media.controller.CustomizeImageCropper.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         doCrop: function( attachment ) {
</span><span class="cx" style="display: block; padding: 0 10px">                var cropDetails = attachment.get( 'cropDetails' ),
</span><span class="cx" style="display: block; padding: 0 10px">                        control = this.get( 'control' ),
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollerseditattachmentmetadatajs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/edit-attachment-metadata.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/edit-attachment-metadata.js    2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/edit-attachment-metadata.js      2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,6 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       EditAttachmentMetadata;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.EditAttachmentMetadata
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,12 +6,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for editing an attachment's metadata.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       EditAttachmentMetadata;
-
-EditAttachmentMetadata = wp.media.controller.State.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+EditAttachmentMetadata = wp.media.controller.State.extend(/** @lends wp.media.controller.EditAttachmentMetadata.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:      'edit-attachment',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollerseditimagejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/edit-image.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/edit-image.js  2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/edit-image.js    2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,6 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       EditImage;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.EditImage
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,4 +6,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for editing (cropping, etc.) an image.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -16,10 +21,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {string}                    [attributes.menu=false]         Initial mode for the menu region.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {string}                    [attributes.url]                Unused. @todo Consider removal.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       EditImage;
-
-EditImage = wp.media.controller.State.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+EditImage = wp.media.controller.State.extend(/** @lends wp.media.controller.EditImage.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:      'edit-image',
</span><span class="cx" style="display: block; padding: 0 10px">                title:   l10n.editImage,
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollersembedjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/embed.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/embed.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/embed.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,7 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       $ = Backbone.$,
+       Embed;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.Embed
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,4 +7,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for embedding media from a URL.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,11 +25,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {string} [attributes.url]                   The embed URL.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {object} [attributes.metadata={}]           Properties of the embed, which will override attributes.url if set.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       $ = Backbone.$,
-       Embed;
-
-Embed = wp.media.controller.State.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Embed = wp.media.controller.State.extend(/** @lends wp.media.controller.Embed.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:       'embed',
</span><span class="cx" style="display: block; padding: 0 10px">                title:    l10n.insertFromUrlTitle,
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollersfeaturedimagejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/featured-image.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/featured-image.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/featured-image.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,8 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Attachment = wp.media.model.Attachment,
+       Library = wp.media.controller.Library,
+       l10n = wp.media.view.l10n,
+       FeaturedImage;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.FeaturedImage
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,4 +8,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for selecting a featured image for a post.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.Library
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -29,12 +36,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {boolean}                    [attributes.contentUserSetting=true]  Whether the content region's mode should be set and persisted per user.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {boolean}                    [attributes.syncSelection=true]       Whether the Attachments selection should be persisted from the last state.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Attachment = wp.media.model.Attachment,
-       Library = wp.media.controller.Library,
-       l10n = wp.media.view.l10n,
-       FeaturedImage;
-
-FeaturedImage = Library.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+FeaturedImage = Library.extend(/** @lends wp.media.controller.FeaturedImage.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: _.defaults({
</span><span class="cx" style="display: block; padding: 0 10px">                id:            'featured-image',
</span><span class="cx" style="display: block; padding: 0 10px">                title:         l10n.setFeaturedImageTitle,
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollersgalleryaddjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/gallery-add.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/gallery-add.js 2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/gallery-add.js   2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,8 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Selection = wp.media.model.Selection,
+       Library = wp.media.controller.Library,
+       l10n = wp.media.view.l10n,
+       GalleryAdd;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.GalleryAdd
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,4 +8,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for selecting more images to add to a gallery.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.Library
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -29,12 +36,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {boolean}                    [attributes.syncSelection=false]     Whether the Attachments selection should be persisted from the last state.
</span><span class="cx" style="display: block; padding: 0 10px">  *                                                                          Defaults to false because for this state, because the library of the Edit Gallery state is the selection.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Selection = wp.media.model.Selection,
-       Library = wp.media.controller.Library,
-       l10n = wp.media.view.l10n,
-       GalleryAdd;
-
-GalleryAdd = Library.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+GalleryAdd = Library.extend(/** @lends wp.media.controller.GalleryAdd.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: _.defaults({
</span><span class="cx" style="display: block; padding: 0 10px">                id:            'gallery-library',
</span><span class="cx" style="display: block; padding: 0 10px">                title:         l10n.addToGalleryTitle,
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollersgalleryeditjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/gallery-edit.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/gallery-edit.js        2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/gallery-edit.js  2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,7 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Library = wp.media.controller.Library,
+       l10n = wp.media.view.l10n,
+       GalleryEdit;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.GalleryEdit
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,4 +7,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for editing a gallery's images and settings.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.Library
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,11 +36,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {view}                       [attributes.AttachmentView]        The single `Attachment` view to be used in the `Attachments`.
</span><span class="cx" style="display: block; padding: 0 10px">  *                                                                        If none supplied, defaults to wp.media.view.Attachment.EditLibrary.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Library = wp.media.controller.Library,
-       l10n = wp.media.view.l10n,
-       GalleryEdit;
-
-GalleryEdit = Library.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+GalleryEdit = Library.extend(/** @lends wp.media.controller.GalleryEdit.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:               'gallery-edit',
</span><span class="cx" style="display: block; padding: 0 10px">                title:            l10n.editGalleryTitle,
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollersimagedetailsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/image-details.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/image-details.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/image-details.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,8 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var State = wp.media.controller.State,
+       Library = wp.media.controller.Library,
+       l10n = wp.media.view.l10n,
+       ImageDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.ImageDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,6 +9,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for editing the attachment display settings of an image that's been
</span><span class="cx" style="display: block; padding: 0 10px">  * inserted into the editor.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -22,12 +29,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @todo This state inherits some defaults from media.controller.Library.prototype.defaults,
</span><span class="cx" style="display: block; padding: 0 10px">  *       however this may not do anything.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var State = wp.media.controller.State,
-       Library = wp.media.controller.Library,
-       l10n = wp.media.view.l10n,
-       ImageDetails;
-
-ImageDetails = State.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ImageDetails = State.extend(/** @lends wp.media.controller.ImageDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: _.defaults({
</span><span class="cx" style="display: block; padding: 0 10px">                id:       'image-details',
</span><span class="cx" style="display: block; padding: 0 10px">                title:    l10n.imageDetailsTitle,
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollerslibraryjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/library.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/library.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/library.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,8 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       getUserSetting = window.getUserSetting,
+       setUserSetting = window.setUserSetting,
+       Library;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.Library
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,4 +8,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for choosing an attachment or group of attachments from the media library.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -32,12 +39,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {boolean}                         [attributes.contentUserSetting=true] Whether the content region's mode should be set and persisted per user.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {boolean}                         [attributes.syncSelection=true]      Whether the Attachments selection should be persisted from the last state.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       getUserSetting = window.getUserSetting,
-       setUserSetting = window.setUserSetting,
-       Library;
-
-Library = wp.media.controller.State.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Library = wp.media.controller.State.extend(/** @lends wp.media.controller.Library.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:                 'library',
</span><span class="cx" style="display: block; padding: 0 10px">                title:              l10n.mediaLibraryTitle,
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollersmedialibraryjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/media-library.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/media-library.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/media-library.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.MediaLibrary
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.Library
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,7 +11,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> var Library = wp.media.controller.Library,
</span><span class="cx" style="display: block; padding: 0 10px">        MediaLibrary;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-MediaLibrary = Library.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+MediaLibrary = Library.extend(/** @lends wp.media.controller.MediaLibrary.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: _.defaults({
</span><span class="cx" style="display: block; padding: 0 10px">                // Attachments browser defaults. @see media.view.AttachmentsBrowser
</span><span class="cx" style="display: block; padding: 0 10px">                filterable:      'uploaded',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollersregionjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/region.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/region.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/region.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,6 +11,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * 'browse' mode t be activated on the 'content' view and then fills the region
</span><span class="cx" style="display: block; padding: 0 10px">  * with an AttachmentsBrowser view.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {object}        options          Options hash for the region.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -25,7 +27,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Use Backbone's self-propagating `extend` inheritance method.
</span><span class="cx" style="display: block; padding: 0 10px"> Region.extend = Backbone.Model.extend;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-_.extend( Region.prototype, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+_.extend( Region.prototype,/** @lends wp.media.controller.Region.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Activate a mode.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -33,10 +35,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {string} mode
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @fires this.view#{this.id}:activate:{this._mode}
-        * @fires this.view#{this.id}:activate
-        * @fires this.view#{this.id}:deactivate:{this._mode}
-        * @fires this.view#{this.id}:deactivate
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @fires Region#activate
+        * @fires Region#deactivate
</ins><span class="cx" style="display: block; padding: 0 10px">          *
</span><span class="cx" style="display: block; padding: 0 10px">         * @returns {wp.media.controller.Region} Returns itself to allow chaining.
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -52,8 +52,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Region mode deactivation event.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @event this.view#{this.id}:deactivate:{this._mode}
-                * @event this.view#{this.id}:deactivate
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+          * @event wp.media.controller.Region#deactivate
</ins><span class="cx" style="display: block; padding: 0 10px">                  */
</span><span class="cx" style="display: block; padding: 0 10px">                this.trigger('deactivate');
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -63,8 +62,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Region mode activation event.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @event this.view#{this.id}:activate:{this._mode}
-                * @event this.view#{this.id}:activate
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+          * @event wp.media.controller.Region#activate
</ins><span class="cx" style="display: block; padding: 0 10px">                  */
</span><span class="cx" style="display: block; padding: 0 10px">                this.trigger('activate');
</span><span class="cx" style="display: block; padding: 0 10px">                return this;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -76,10 +74,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {string} mode
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @fires this.view#{this.id}:create:{this._mode}
-        * @fires this.view#{this.id}:create
-        * @fires this.view#{this.id}:render:{this._mode}
-        * @fires this.view#{this.id}:render
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @fires Region#create
+        * @fires Region#render
</ins><span class="cx" style="display: block; padding: 0 10px">          *
</span><span class="cx" style="display: block; padding: 0 10px">         * @returns {wp.media.controller.Region} Returns itself to allow chaining
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -97,8 +93,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><span class="cx" style="display: block; padding: 0 10px">                 * Region view creation takes place in an event callback on the frame.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @event this.view#{this.id}:create:{this._mode}
-                * @event this.view#{this.id}:create
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+          * @event wp.media.controller.Region#create
+                * @type {object}
+                * @property {object} view
</ins><span class="cx" style="display: block; padding: 0 10px">                  */
</span><span class="cx" style="display: block; padding: 0 10px">                this.trigger( 'create', set );
</span><span class="cx" style="display: block; padding: 0 10px">                view = set.view;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -108,8 +105,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><span class="cx" style="display: block; padding: 0 10px">                 * Region view creation takes place in an event callback on the frame.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @event this.view#{this.id}:create:{this._mode}
-                * @event this.view#{this.id}:create
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+          * @event wp.media.controller.Region#render
+                * @type {object}
</ins><span class="cx" style="display: block; padding: 0 10px">                  */
</span><span class="cx" style="display: block; padding: 0 10px">                this.trigger( 'render', view );
</span><span class="cx" style="display: block; padding: 0 10px">                if ( view ) {
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollersreplaceimagejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/replace-image.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/replace-image.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/replace-image.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,7 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Library = wp.media.controller.Library,
+       l10n = wp.media.view.l10n,
+       ReplaceImage;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.ReplaceImage
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,4 +7,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for replacing an image.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.Library
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -29,11 +35,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {boolean}                    [attributes.contentUserSetting=true] Whether the content region's mode should be set and persisted per user.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {boolean}                    [attributes.syncSelection=true]      Whether the Attachments selection should be persisted from the last state.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Library = wp.media.controller.Library,
-       l10n = wp.media.view.l10n,
-       ReplaceImage;
-
-ReplaceImage = Library.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ReplaceImage = Library.extend(/** @lends wp.media.controller.ReplaceImage.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: _.defaults({
</span><span class="cx" style="display: block; padding: 0 10px">                id:            'replace-image',
</span><span class="cx" style="display: block; padding: 0 10px">                title:         l10n.replaceImageTitle,
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollerssiteiconcropperjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/site-icon-cropper.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/site-icon-cropper.js   2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/site-icon-cropper.js     2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,6 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Controller = wp.media.controller,
+       SiteIconCropper;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.SiteIconCropper
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,13 +6,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for cropping a Site Icon.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.Cropper
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Controller = wp.media.controller,
-       SiteIconCropper;
-
-SiteIconCropper = Controller.Cropper.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+SiteIconCropper = Controller.Cropper.extend(/** @lends wp.media.controller.SiteIconCropper.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         activate: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                this.frame.on( 'content:create:crop', this.createCropContent, this );
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollersstatemachinejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/state-machine.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/state-machine.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/state-machine.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,6 +6,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * States are stored as models in a Backbone collection.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @since 3.5.0
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -23,7 +25,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Use Backbone's self-propagating `extend` inheritance method.
</span><span class="cx" style="display: block; padding: 0 10px"> StateMachine.extend = Backbone.Model.extend;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-_.extend( StateMachine.prototype, Backbone.Events, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+_.extend( StateMachine.prototype, Backbone.Events,/** @lends wp.media.controller.StateMachine.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Fetch a state.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -107,8 +109,23 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Map all event binding and triggering on a StateMachine to its `states` collection.
</span><span class="cx" style="display: block; padding: 0 10px"> _.each([ 'on', 'off', 'trigger' ], function( method ) {
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @function on
+        * @memberOf wp.media.controller.StateMachine
+        * @instance
</ins><span class="cx" style="display: block; padding: 0 10px">          * @returns {wp.media.controller.StateMachine} Returns itself to allow chaining.
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /**
+        * @function off
+        * @memberOf wp.media.controller.StateMachine
+        * @instance
+        * @returns {wp.media.controller.StateMachine} Returns itself to allow chaining.
+        */
+       /**
+        * @function trigger
+        * @memberOf wp.media.controller.StateMachine
+        * @instance
+        * @returns {wp.media.controller.StateMachine} Returns itself to allow chaining.
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         StateMachine.prototype[ method ] = function() {
</span><span class="cx" style="display: block; padding: 0 10px">                // Ensure that the `states` collection exists so the `StateMachine`
</span><span class="cx" style="display: block; padding: 0 10px">                // can be used as a mixin.
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollersstatejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/state.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/state.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/state.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -12,10 +12,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *     'reset'      is not triggered automatically. It should be invoked by the
</span><span class="cx" style="display: block; padding: 0 10px">  *                  proper controller to reset the state to its default.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var State = Backbone.Model.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var State = Backbone.Model.extend(/** @lends wp.media.controller.State.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Constructor.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediacontrollersvideodetailsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/controllers/video-details.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/controllers/video-details.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/controllers/video-details.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,6 +3,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * The controller for the Video Details state
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,7 +13,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        l10n = wp.media.view.l10n,
</span><span class="cx" style="display: block; padding: 0 10px">        VideoDetails;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-VideoDetails = State.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+VideoDetails = State.extend(/** @lends wp.media.controller.VideoDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id: 'video-details',
</span><span class="cx" style="display: block; padding: 0 10px">                toolbar: 'video-details',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediamodelsattachmentjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/models/attachment.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/models/attachment.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/models/attachment.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,13 +1,15 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var $ = Backbone.$,
+       Attachment;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.model.Attachment
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.model
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var $ = Backbone.$,
-       Attachment;
-
-Attachment = Backbone.Model.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Attachment = Backbone.Model.extend(/** @lends wp.media.model.Attachment.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Triggered when attachment details change
</span><span class="cx" style="display: block; padding: 0 10px">         * Overrides Backbone.Model.sync
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -134,11 +136,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        model.set( model.parse( resp, xhr ), options );
</span><span class="cx" style="display: block; padding: 0 10px">                });
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+},/** @lends wp.media.model.Attachment */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Create a new model on the static 'all' attachments collection and return it.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * @static
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @param {Object} attrs
</span><span class="cx" style="display: block; padding: 0 10px">         * @returns {wp.media.model.Attachment}
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediamodelsattachmentsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/models/attachments.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/models/attachments.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/models/attachments.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7,6 +7,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * 'options.props.query = true', which will mirror the collection
</span><span class="cx" style="display: block; padding: 0 10px">  * to an Attachments Query collection - @see wp.media.model.Attachments.mirror().
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.model
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Collection
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -20,7 +22,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {string} [options.filters]
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Attachments = Backbone.Collection.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Attachments = Backbone.Collection.extend(/** @lends wp.media.model.Attachments.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * @type {wp.media.model.Attachment}
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -418,15 +420,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        attachments: attachments
</span><span class="cx" style="display: block; padding: 0 10px">                });
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+},/** @lends wp.media.model.Attachments */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * A function to compare two attachment models in an attachments collection.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * Used as the default comparator for instances of wp.media.model.Attachments
</span><span class="cx" style="display: block; padding: 0 10px">         * and its subclasses. @see wp.media.model.Attachments._changeOrderby().
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @static
-        *
</del><span class="cx" style="display: block; padding: 0 10px">          * @param {Backbone.Model} a
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {Backbone.Model} b
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {Object} options
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -455,9 +455,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                return ( 'DESC' === order ) ? wp.media.compare( a, b, ac, bc ) : wp.media.compare( b, a, bc, ac );
</span><span class="cx" style="display: block; padding: 0 10px">        },
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        /**
-        * @namespace
-        */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /** @namespace wp.media.model.Attachments.filters */
</ins><span class="cx" style="display: block; padding: 0 10px">         filters: {
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * @static
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediamodelspostimagejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/models/post-image.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/models/post-image.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/models/post-image.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,13 +5,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * Used in the embedded image attachment display settings modal - @see wp.media.view.MediaFrame.ImageDetails.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.model
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {int} [attributes]               Initial model attributes.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {int} [attributes.attachment_id] ID of the attachment.
</span><span class="cx" style="display: block; padding: 0 10px">  **/
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var PostImage = Backbone.Model.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var PostImage = Backbone.Model.extend(/** @lends wp.media.model.PostImage.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        initialize: function( attributes ) {
</span><span class="cx" style="display: block; padding: 0 10px">                var Attachment = wp.media.model.Attachment;
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediamodelspostmediajs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/models/post-media.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/models/post-media.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/models/post-media.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,10 +4,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * Shared model class for audio and video. Updates the model after
</span><span class="cx" style="display: block; padding: 0 10px">  *   "Add Audio|Video Source" and "Replace Audio|Video" states return
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.model
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var PostMedia = Backbone.Model.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var PostMedia = Backbone.Model.extend(/** @lends wp.media.model.PostMedia.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                this.attachment = false;
</span><span class="cx" style="display: block; padding: 0 10px">        },
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediamodelsqueryjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/models/query.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/models/query.js    2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/models/query.js      2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,6 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Attachments = wp.media.model.Attachments,
+       Query;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.model.Query
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,6 +9,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * Note: Do NOT change this.args after the query has been initialized.
</span><span class="cx" style="display: block; padding: 0 10px">  *       Things will break.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.model
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.model.Attachments
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Collection
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -15,13 +20,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {object} [options.args]                Attachments query arguments.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {object} [options.args.posts_per_page]
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Attachments = wp.media.model.Attachments,
-       Query;
-
-Query = Attachments.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Query = Attachments.extend(/** @lends wp.media.model.Query.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @global wp.Uploader
-        *
</del><span class="cx" style="display: block; padding: 0 10px">          * @param {array}  [models=[]]  Array of initial models to populate the collection.
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {object} [options={}]
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -153,7 +153,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        return fallback.sync.apply( this, arguments );
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+}, /** @lends wp.media.model.Query */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * @readonly
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediamodelsselectionjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/models/selection.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/models/selection.js        2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/models/selection.js  2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,6 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Attachments = wp.media.model.Attachments,
+       Selection;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.model.Selection
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,12 +6,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A selection of attachments.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.model
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.model.Attachments
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Collection
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Attachments = wp.media.model.Attachments,
-       Selection;
-
-Selection = Attachments.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Selection = Attachments.extend(/** @lends wp.media.model.Selection.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Refresh the `single` model whenever the selection changes.
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediamodelsmanifestjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/models.manifest.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/models.manifest.js 2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/models.manifest.js   2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> var $ = jQuery,
</span><span class="cx" style="display: block; padding: 0 10px">        Attachment, Attachments, l10n, media;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/** @namespace wp */
</ins><span class="cx" style="display: block; padding: 0 10px"> window.wp = window.wp || {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,6 +9,10 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * Handles the default media experience.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @alias wp.media
+ * @memberOf wp
+ * @namespace
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @param  {object} attributes The properties passed to the main media controller.
</span><span class="cx" style="display: block; padding: 0 10px">  * @return {wp.media.view.MediaFrame} A media workflow.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -46,6 +51,10 @@
</span><span class="cx" style="display: block; padding: 0 10px">        return frame;
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/** @namespace wp.media.model */
+/** @namespace wp.media.view */
+/** @namespace wp.media.controller */
+/** @namespace wp.media.frames */
</ins><span class="cx" style="display: block; padding: 0 10px"> _.extend( media, { model: {}, view: {}, controller: {}, frames: {} });
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> // Link any localized strings.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -89,7 +98,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-_.extend( media, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+_.extend( media, /** @lends wp.media */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * media.template( id )
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaroutersmanagejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/routers/manage.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/routers/manage.js  2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/routers/manage.js    2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,10 +3,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A router for handling the browser history and application state.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame.Manage
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Router
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Router = Backbone.Router.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Router = Backbone.Router.extend(/** @lends wp.media.view.MediaFrame.Manage.Router.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         routes: {
</span><span class="cx" style="display: block; padding: 0 10px">                'upload.php?item=:slug&mode=edit': 'editItem',
</span><span class="cx" style="display: block; padding: 0 10px">                'upload.php?item=:slug':           'showItem',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediautilsselectionsyncjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/utils/selection-sync.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/utils/selection-sync.js    2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/utils/selection-sync.js      2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,6 +6,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * Allows for selecting multiple images in the Insert Media workflow, and then
</span><span class="cx" style="display: block; padding: 0 10px">  * switching to the Insert Gallery workflow while preserving the attachments selection.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @mixin
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> var selectionSync = {
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsattachmentdetailstwocolumnjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/attachment/details-two-column.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/attachment/details-two-column.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/attachment/details-two-column.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,6 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Details = wp.media.view.Attachment.Details,
+       TwoColumn;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Attachment.Details.TwoColumn
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,6 +7,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A similar view to media.view.Attachment.Details
</span><span class="cx" style="display: block; padding: 0 10px">  * for use in the Edit Attachment modal.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Attachment.Details
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachment.Details
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachment
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,10 +16,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Details = wp.media.view.Attachment.Details,
-       TwoColumn;
-
-TwoColumn = Details.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+TwoColumn = Details.extend(/** @lends wp.media.view.Attachment.Details.TowColumn.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         template: wp.template( 'attachment-details-two-column' ),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        initialize: function() {
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsattachmentdetailsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/attachment/details.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/attachment/details.js        2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/attachment/details.js  2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,17 +1,19 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Attachment = wp.media.view.Attachment,
+       l10n = wp.media.view.l10n,
+       Details;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Attachment.Details
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Attachment
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachment
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Attachment = wp.media.view.Attachment,
-       l10n = wp.media.view.l10n,
-       Details;
-
-Details = Attachment.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Details = Attachment.extend(/** @lends wp.media.view.Attachment.Details.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'attachment-details',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('attachment-details'),
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsattachmenteditlibraryjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/attachment/edit-library.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/attachment/edit-library.js   2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/attachment/edit-library.js     2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,13 +1,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Attachment.EditLibrary
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Attachment
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachment
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var EditLibrary = wp.media.view.Attachment.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var EditLibrary = wp.media.view.Attachment.extend(/** @lends wp.media.view.Attachment.EditLibrary.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         buttons: {
</span><span class="cx" style="display: block; padding: 0 10px">                close: true
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsattachmenteditselectionjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/attachment/edit-selection.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/attachment/edit-selection.js 2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/attachment/edit-selection.js   2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * wp.media.view.Attachments.EditSelection
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * wp.media.view.Attachment.EditSelection
</ins><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Attachment
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachment.Selection
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachment
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,7 +10,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var EditSelection = wp.media.view.Attachment.Selection.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var EditSelection = wp.media.view.Attachment.Selection.extend(/** @lends wp.media.view.Attachment.EditSelection.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         buttons: {
</span><span class="cx" style="display: block; padding: 0 10px">                close: true
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsattachmentlibraryjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/attachment/library.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/attachment/library.js        2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/attachment/library.js  2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,13 +1,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Attachment.Library
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Attachment
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachment
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Library = wp.media.view.Attachment.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Library = wp.media.view.Attachment.extend(/** @lends wp.media.view.Attachment.Library.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         buttons: {
</span><span class="cx" style="display: block; padding: 0 10px">                check: true
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsattachmentselectionjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/attachment/selection.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/attachment/selection.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/attachment/selection.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,13 +1,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Attachment.Selection
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Attachment
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachment
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Selection = wp.media.view.Attachment.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Selection = wp.media.view.Attachment.extend(/** @lends wp.media.view.Attachment.Selection.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'attachment selection',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        // On click, just select the model, instead of removing the model from
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsattachmentcompatjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/attachment-compat.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/attachment-compat.js 2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/attachment-compat.js   2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,6 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       AttachmentCompat;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.AttachmentCompat
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,13 +6,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A view to display fields added via the `attachment_fields_to_edit` filter.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       AttachmentCompat;
-
-AttachmentCompat = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+AttachmentCompat = View.extend(/** @lends wp.media.view.AttachmentCompat.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'form',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'compat-item',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsattachmentfiltersalljs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/attachment-filters/all.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/attachment-filters/all.js    2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/attachment-filters/all.js      2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,16 +1,18 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       All;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.AttachmentFilters.All
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.AttachmentFilters
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.AttachmentFilters
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       All;
-
-All = wp.media.view.AttachmentFilters.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+All = wp.media.view.AttachmentFilters.extend(/** @lends wp.media.view.AttachmentFilters.All.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         createFilters: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                var filters = {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsattachmentfiltersdatejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/attachment-filters/date.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/attachment-filters/date.js   2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/attachment-filters/date.js     2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,16 +1,18 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       DateFilter;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * A filter dropdown for month/dates.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.AttachmentFilters
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.AttachmentFilters
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       DateFilter;
-
-DateFilter = wp.media.view.AttachmentFilters.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+DateFilter = wp.media.view.AttachmentFilters.extend(/** @lends wp.media.view.AttachmentFilters.Date.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         id: 'media-attachment-date-filters',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        createFilters: function() {
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsattachmentfiltersuploadedjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/attachment-filters/uploaded.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/attachment-filters/uploaded.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/attachment-filters/uploaded.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,16 +1,18 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       Uploaded;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.AttachmentFilters.Uploaded
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.AttachmentFilters
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.AttachmentFilters
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       Uploaded;
-
-Uploaded = wp.media.view.AttachmentFilters.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Uploaded = wp.media.view.AttachmentFilters.extend(/** @lends wp.media.view.AttachmentFilters.Uploaded.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         createFilters: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                var type = this.model.get('type'),
</span><span class="cx" style="display: block; padding: 0 10px">                        types = wp.media.view.settings.mimeTypes,
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsattachmentfiltersjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/attachment-filters.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/attachment-filters.js        2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/attachment-filters.js  2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,15 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var $ = jQuery,
+       AttachmentFilters;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.AttachmentFilters
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var $ = jQuery,
-       AttachmentFilters;
-
-AttachmentFilters = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+AttachmentFilters = wp.media.View.extend(/** @lends wp.media.view.AttachmentFilters.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'select',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'attachment-filters',
</span><span class="cx" style="display: block; padding: 0 10px">        id:        'media-attachment-filters',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsattachmentjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/attachment.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/attachment.js        2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/attachment.js  2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,16 +1,18 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       $ = jQuery,
+       Attachment;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Attachment
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       $ = jQuery,
-       Attachment;
-
-Attachment = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Attachment = View.extend(/** @lends wp.media.view.Attachment.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'li',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'attachment',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('attachment'),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -518,10 +520,41 @@
</span><span class="cx" style="display: block; padding: 0 10px">        album:   '_syncAlbum'
</span><span class="cx" style="display: block; padding: 0 10px"> }, function( method, setting ) {
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @function _syncCaption
+        * @memberOf wp.media.view.Attachment
+        * @instance
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @param {Backbone.Model} model
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {string} value
</span><span class="cx" style="display: block; padding: 0 10px">         * @returns {wp.media.view.Attachment} Returns itself to allow chaining
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /**
+        * @function _syncTitle
+        * @memberOf wp.media.view.Attachment
+        * @instance
+        *
+        * @param {Backbone.Model} model
+        * @param {string} value
+        * @returns {wp.media.view.Attachment} Returns itself to allow chaining
+        */
+       /**
+        * @function _syncArtist
+        * @memberOf wp.media.view.Attachment
+        * @instance
+        *
+        * @param {Backbone.Model} model
+        * @param {string} value
+        * @returns {wp.media.view.Attachment} Returns itself to allow chaining
+        */
+       /**
+        * @function _syncAlbum
+        * @memberOf wp.media.view.Attachment
+        * @instance
+        *
+        * @param {Backbone.Model} model
+        * @param {string} value
+        * @returns {wp.media.view.Attachment} Returns itself to allow chaining
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         Attachment.prototype[ method ] = function( model, value ) {
</span><span class="cx" style="display: block; padding: 0 10px">                var $setting = this.$('[data-setting="' + setting + '"]');
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsattachmentsbrowserjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/attachments/browser.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/attachments/browser.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/attachments/browser.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,14 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       mediaTrash = wp.media.view.settings.mediaTrash,
+       l10n = wp.media.view.l10n,
+       $ = jQuery,
+       AttachmentsBrowser;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.AttachmentsBrowser
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -18,13 +26,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {boolean|string} [options.sidebar=true]  Whether to create a sidebar for the browser.
</span><span class="cx" style="display: block; padding: 0 10px">  *                                                 Accepts true, false, and 'errors'.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       mediaTrash = wp.media.view.settings.mediaTrash,
-       l10n = wp.media.view.l10n,
-       $ = jQuery,
-       AttachmentsBrowser;
-
-AttachmentsBrowser = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+AttachmentsBrowser = View.extend(/** @lends wp.media.view.AttachmentsBrowser.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'attachments-browser',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsattachmentsselectionjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/attachments/selection.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/attachments/selection.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/attachments/selection.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,16 +1,18 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Attachments = wp.media.view.Attachments,
+       Selection;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Attachments.Selection
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Attachments
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachments
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Attachments = wp.media.view.Attachments,
-       Selection;
-
-Selection = Attachments.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Selection = Attachments.extend(/** @lends wp.media.view.Attachments.Selection.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         events: {},
</span><span class="cx" style="display: block; padding: 0 10px">        initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                _.defaults( this.options, {
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsattachmentsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/attachments.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/attachments.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/attachments.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,16 +1,18 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       $ = jQuery,
+       Attachments;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Attachments
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       $ = jQuery,
-       Attachments;
-
-Attachments = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Attachments = View.extend(/** @lends wp.media.view.Attachments.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'ul',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'attachments',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsaudiodetailsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/audio-details.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/audio-details.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/audio-details.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,11 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var MediaDetails = wp.media.view.MediaDetails,
+       AudioDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.AudioDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaDetails
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings.AttachmentDisplay
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,10 +14,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var MediaDetails = wp.media.view.MediaDetails,
-       AudioDetails;
-
-AudioDetails = MediaDetails.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+AudioDetails = MediaDetails.extend(/** @lends wp.media.view.AudioDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'audio-details',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('audio-details'),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsbuttondeleteselectedpermanentlyjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/button/delete-selected-permanently.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/button/delete-selected-permanently.js        2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/button/delete-selected-permanently.js  2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,7 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Button = wp.media.view.Button,
+       DeleteSelected = wp.media.view.DeleteSelectedButton,
+       DeleteSelectedPermanently;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.DeleteSelectedPermanentlyButton
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,4 +7,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * When MEDIA_TRASH is true, a button that handles bulk Delete Permanently logic
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.DeleteSelectedButton
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,11 +16,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Button = wp.media.view.Button,
-       DeleteSelected = wp.media.view.DeleteSelectedButton,
-       DeleteSelectedPermanently;
-
-DeleteSelectedPermanently = DeleteSelected.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+DeleteSelectedPermanently = DeleteSelected.extend(/** @lends wp.media.view.DeleteSelectedPermanentlyButton.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                DeleteSelected.prototype.initialize.apply( this, arguments );
</span><span class="cx" style="display: block; padding: 0 10px">                this.controller.on( 'select:activate', this.selectActivate, this );
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsbuttondeleteselectedjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/button/delete-selected.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/button/delete-selected.js    2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/button/delete-selected.js      2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,7 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Button = wp.media.view.Button,
+       l10n = wp.media.view.l10n,
+       DeleteSelected;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.DeleteSelectedButton
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,4 +7,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A button that handles bulk Delete/Trash logic
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Button
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,11 +15,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Button = wp.media.view.Button,
-       l10n = wp.media.view.l10n,
-       DeleteSelected;
-
-DeleteSelected = Button.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+DeleteSelected = Button.extend(/** @lends wp.media.view.DeleteSelectedButton.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                Button.prototype.initialize.apply( this, arguments );
</span><span class="cx" style="display: block; padding: 0 10px">                if ( this.options.filters ) {
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsbuttonselectmodetogglejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/button/select-mode-toggle.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/button/select-mode-toggle.js 2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/button/select-mode-toggle.js   2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,17 +1,20 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+var Button = wp.media.view.Button,
+       l10n = wp.media.view.l10n,
+       SelectModeToggle;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.SelectModeToggleButton
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Button
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Button = wp.media.view.Button,
-       l10n = wp.media.view.l10n,
-       SelectModeToggle;
-
-SelectModeToggle = Button.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+SelectModeToggle = Button.extend(/** @lends wp.media.view.SelectModeToggle.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                _.defaults( this.options, {
</span><span class="cx" style="display: block; padding: 0 10px">                        size : ''
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsbuttongroupjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/button-group.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/button-group.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/button-group.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,15 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var $ = Backbone.$,
+       ButtonGroup;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.ButtonGroup
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var $ = Backbone.$,
-       ButtonGroup;
-
-ButtonGroup = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ButtonGroup = wp.media.View.extend(/** @lends wp.media.view.ButtonGroup.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'button-group button-large media-button-group',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsbuttonjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/button.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/button.js    2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/button.js      2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,12 +1,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Button
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Button = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Button = wp.media.View.extend(/** @lends wp.media.view.Button.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:    'button',
</span><span class="cx" style="display: block; padding: 0 10px">        className:  'media-button',
</span><span class="cx" style="display: block; padding: 0 10px">        attributes: { type: 'button' },
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewscropperjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/cropper.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/cropper.js   2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/cropper.js     2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,9 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       UploaderStatus = wp.media.view.UploaderStatus,
+       l10n = wp.media.view.l10n,
+       $ = jQuery,
+       Cropper;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Cropper
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7,18 +13,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.customize.HeaderControl.calculateImageSelectOptions via
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.customize.HeaderControl.openMM.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       UploaderStatus = wp.media.view.UploaderStatus,
-       l10n = wp.media.view.l10n,
-       $ = jQuery,
-       Cropper;
-
-Cropper = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Cropper = View.extend(/** @lends wp.media.view.Cropper.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'crop-content',
</span><span class="cx" style="display: block; padding: 0 10px">        template: wp.template('crop-content'),
</span><span class="cx" style="display: block; padding: 0 10px">        initialize: function() {
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewseditimagedetailsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/edit-image-details.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/edit-image-details.js        2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/edit-image-details.js  2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,17 +1,19 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       EditImage = wp.media.view.EditImage,
+       Details;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.EditImage.Details
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.EditImage
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.EditImage
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       EditImage = wp.media.view.EditImage,
-       Details;
-
-Details = EditImage.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Details = EditImage.extend(/** @lends wp.media.view.EditImage.Details.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function( options ) {
</span><span class="cx" style="display: block; padding: 0 10px">                this.editor = window.imageEdit;
</span><span class="cx" style="display: block; padding: 0 10px">                this.frame = options.frame;
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewseditimagejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/edit-image.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/edit-image.js        2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/edit-image.js  2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,15 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       EditImage;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.EditImage
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       EditImage;
-
-EditImage = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+EditImage = View.extend(/** @lends wp.media.view.EditImage.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'image-editor',
</span><span class="cx" style="display: block; padding: 0 10px">        template: wp.template('image-editor'),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsembedimagejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/embed/image.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/embed/image.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/embed/image.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,11 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
+       EmbedImage;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.EmbedImage
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings.AttachmentDisplay
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,10 +13,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
-       EmbedImage;
-
-EmbedImage = AttachmentDisplay.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+EmbedImage = AttachmentDisplay.extend(/** @lends wp.media.view.EmbedImage.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'embed-media-settings',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('embed-image-settings'),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsembedlinkjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/embed/link.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/embed/link.js        2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/embed/link.js  2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,16 +1,18 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var $ = jQuery,
+       EmbedLink;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.EmbedLink
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var $ = jQuery,
-       EmbedLink;
-
-EmbedLink = wp.media.view.Settings.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+EmbedLink = wp.media.view.Settings.extend(/** @lends wp.media.view.EmbedLink.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'embed-link-settings',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('embed-link-settings'),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsembedurljs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/embed/url.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/embed/url.js 2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/embed/url.js   2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,16 +1,18 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       $ = jQuery,
+       EmbedUrl;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.EmbedUrl
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       $ = jQuery,
-       EmbedUrl;
-
-EmbedUrl = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+EmbedUrl = View.extend(/** @lends wp.media.view.EmbedUrl.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'label',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'embed-url',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsembedjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/embed.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/embed.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/embed.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,12 +1,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Embed
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Embed = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Embed = wp.media.View.extend(/** @lends wp.media.view.Ember.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'media-embed',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        initialize: function() {
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsfocusmanagerjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/focus-manager.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/focus-manager.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/focus-manager.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,12 +1,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.FocusManager
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var FocusManager = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var FocusManager = wp.media.View.extend(/** @lends wp.media.view.FocusManager.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        events: {
</span><span class="cx" style="display: block; padding: 0 10px">                'keydown': 'constrainTabbing'
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsframeaudiodetailsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/frame/audio-details.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/frame/audio-details.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/frame/audio-details.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,14 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var MediaDetails = wp.media.view.MediaFrame.MediaDetails,
+       MediaLibrary = wp.media.controller.MediaLibrary,
+
+       l10n = wp.media.view.l10n,
+       AudioDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame.AudioDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame.MediaDetails
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame.Select
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,13 +19,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var MediaDetails = wp.media.view.MediaFrame.MediaDetails,
-       MediaLibrary = wp.media.controller.MediaLibrary,
-
-       l10n = wp.media.view.l10n,
-       AudioDetails;
-
-AudioDetails = MediaDetails.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+AudioDetails = MediaDetails.extend(/** @lends wp.media.view.MediaFrame.AudioDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:      'audio',
</span><span class="cx" style="display: block; padding: 0 10px">                url:     '',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsframeeditattachmentsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/frame/edit-attachments.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/frame/edit-attachments.js    2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/frame/edit-attachments.js      2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,9 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Frame = wp.media.view.Frame,
+       MediaFrame = wp.media.view.MediaFrame,
+
+       $ = jQuery,
+       EditAttachments;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame.EditAttachments
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7,6 +13,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * Requires an attachment model to be passed in the options hash under `model`.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Frame
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,14 +22,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Frame = wp.media.view.Frame,
-       MediaFrame = wp.media.view.MediaFrame,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+EditAttachments = MediaFrame.extend(/** @lends wp.media.view.MediaFrame.EditAttachments.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $ = jQuery,
-       EditAttachments;
-
-EditAttachments = MediaFrame.extend({
-
</del><span class="cx" style="display: block; padding: 0 10px">         className: 'edit-attachment-frame',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template( 'edit-attachment-frame' ),
</span><span class="cx" style="display: block; padding: 0 10px">        regions:   [ 'title', 'content' ],
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsframeimagedetailsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/frame/image-details.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/frame/image-details.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/frame/image-details.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,7 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Select = wp.media.view.MediaFrame.Select,
+       l10n = wp.media.view.l10n,
+       ImageDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame.ImageDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,6 +8,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A media frame for manipulating an image that's already been inserted
</span><span class="cx" style="display: block; padding: 0 10px">  * into a post.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame.Select
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -13,11 +19,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Select = wp.media.view.MediaFrame.Select,
-       l10n = wp.media.view.l10n,
-       ImageDetails;
-
-ImageDetails = Select.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ImageDetails = Select.extend(/** @lends wp.media.view.MediaFrame.ImageDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:      'image',
</span><span class="cx" style="display: block; padding: 0 10px">                url:     '',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsframemanagejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/frame/manage.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/frame/manage.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/frame/manage.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,9 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var MediaFrame = wp.media.view.MediaFrame,
+       Library = wp.media.controller.Library,
+
+       $ = Backbone.$,
+       Manage;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame.Manage
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,6 +11,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * Used in the media grid view.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Frame
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -13,15 +21,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var MediaFrame = wp.media.view.MediaFrame,
-       Library = wp.media.controller.Library,
-
-       $ = Backbone.$,
-       Manage;
-
-Manage = MediaFrame.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Manage = MediaFrame.extend(/** @lends wp.media.view.MediaFrame.Manage.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @global wp.Uploader
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @constructs
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                _.defaults( this.options, {
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsframemediadetailsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/frame/media-details.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/frame/media-details.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/frame/media-details.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,12 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Select = wp.media.view.MediaFrame.Select,
+       l10n = wp.media.view.l10n,
+       MediaDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame.MediaDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame.Select
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,11 +16,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Select = wp.media.view.MediaFrame.Select,
-       l10n = wp.media.view.l10n,
-       MediaDetails;
-
-MediaDetails = Select.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+MediaDetails = Select.extend(/** @lends wp.media.view.MediaFrame.MediaDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:      'media',
</span><span class="cx" style="display: block; padding: 0 10px">                url:     '',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsframepostjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/frame/post.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/frame/post.js        2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/frame/post.js  2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,8 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Select = wp.media.view.MediaFrame.Select,
+       Library = wp.media.controller.Library,
+       l10n = wp.media.view.l10n,
+       Post;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame.Post
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,4 +8,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * The frame for manipulating media on the Edit Post page.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame.Select
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -12,12 +19,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Select = wp.media.view.MediaFrame.Select,
-       Library = wp.media.controller.Library,
-       l10n = wp.media.view.l10n,
-       Post;
-
-Post = Select.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Post = Select.extend(/** @lends wp.media.view.MediaFrame.Post.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                this.counts = {
</span><span class="cx" style="display: block; padding: 0 10px">                        audio: {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -443,6 +445,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        requires: { selection: true },
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         * @callback
</ins><span class="cx" style="display: block; padding: 0 10px">                          * @fires wp.media.controller.State#insert
</span><span class="cx" style="display: block; padding: 0 10px">                         */
</span><span class="cx" style="display: block; padding: 0 10px">                        click: function() {
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsframeselectjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/frame/select.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/frame/select.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/frame/select.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,7 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var MediaFrame = wp.media.view.MediaFrame,
+       l10n = wp.media.view.l10n,
+       Select;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame.Select
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,4 +7,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A frame for selecting an item or items from the media library.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,12 +17,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
-var MediaFrame = wp.media.view.MediaFrame,
-       l10n = wp.media.view.l10n,
-       Select;
-
-Select = MediaFrame.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Select = MediaFrame.extend(/** @lends wp.media.view.MediaFrame.Select.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                // Call 'initialize' directly on the parent class.
</span><span class="cx" style="display: block; padding: 0 10px">                MediaFrame.prototype.initialize.apply( this, arguments );
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsframevideodetailsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/frame/video-details.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/frame/video-details.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/frame/video-details.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,13 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var MediaDetails = wp.media.view.MediaFrame.MediaDetails,
+       MediaLibrary = wp.media.controller.MediaLibrary,
+       l10n = wp.media.view.l10n,
+       VideoDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame.VideoDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame.MediaDetails
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame.Select
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,12 +18,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var MediaDetails = wp.media.view.MediaFrame.MediaDetails,
-       MediaLibrary = wp.media.controller.MediaLibrary,
-       l10n = wp.media.view.l10n,
-       VideoDetails;
-
-VideoDetails = MediaDetails.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+VideoDetails = MediaDetails.extend(/** @lends wp.media.view.MediaFrame.VideoDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:      'video',
</span><span class="cx" style="display: block; padding: 0 10px">                url:     '',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsframejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/frame.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/frame.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/frame.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,6 +4,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A frame is a composite view consisting of one or more regions and one or more
</span><span class="cx" style="display: block; padding: 0 10px">  * states.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @see wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @see wp.media.controller.Region
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -13,7 +15,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Frame = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Frame = wp.media.View.extend(/** @lends wp.media.view.Frame.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                _.defaults( this.options, {
</span><span class="cx" style="display: block; padding: 0 10px">                        mode: [ 'select' ]
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -141,7 +143,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Frame mode deactivation event.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @event this#{mode}:deactivate
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+          * @event wp.media.view.Frame#{mode}:deactivate
</ins><span class="cx" style="display: block; padding: 0 10px">                  */
</span><span class="cx" style="display: block; padding: 0 10px">                this.trigger( mode + ':deactivate' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsiframejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/iframe.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/iframe.js    2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/iframe.js      2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,12 +1,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Iframe
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Iframe = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Iframe = wp.media.View.extend(/** @lends wp.media.view.Iframe.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'media-iframe',
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * @returns {wp.media.view.Iframe} Returns itself to allow chaining
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsimagedetailsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/image-details.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/image-details.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/image-details.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,12 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
+       $ = jQuery,
+       ImageDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.ImageDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings.AttachmentDisplay
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,11 +14,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
-       $ = jQuery,
-       ImageDetails;
-
-ImageDetails = AttachmentDisplay.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ImageDetails = AttachmentDisplay.extend(/** @lends wp.media.view.ImageDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'image-details',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('image-details'),
</span><span class="cx" style="display: block; padding: 0 10px">        events: _.defaults( AttachmentDisplay.prototype.events, {
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewslabeljs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/label.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/label.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/label.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,12 +1,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Label
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Label = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Label = wp.media.View.extend(/** @lends wp.media.view.Label.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName: 'label',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'screen-reader-text',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsmediadetailsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/media-details.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/media-details.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/media-details.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,8 +1,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /* global MediaElementPlayer */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
+       $ = jQuery,
+       MediaDetails;
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings.AttachmentDisplay
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,11 +15,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
-       $ = jQuery,
-       MediaDetails;
-
-MediaDetails = AttachmentDisplay.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+MediaDetails = AttachmentDisplay.extend(/** @lends wp.media.view.MediaDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                _.bindAll(this, 'success');
</span><span class="cx" style="display: block; padding: 0 10px">                this.players = [];
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -86,9 +87,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                this.scriptXhr = false;
</span><span class="cx" style="display: block; padding: 0 10px">        },
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        /**
-        * @global MediaElementPlayer
-        */
</del><span class="cx" style="display: block; padding: 0 10px">         setPlayer : function() {
</span><span class="cx" style="display: block; padding: 0 10px">                var src;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -144,7 +142,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        resetFocus: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                this.$( '.embed-media-settings' ).scrollTop( 0 );
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+},/** @lends wp.media.view.MediaDetails */{
</ins><span class="cx" style="display: block; padding: 0 10px">         instances : 0,
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * When multiple players in the DOM contain the same src, things get weird.
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsmediaframejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/media-frame.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/media-frame.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/media-frame.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,7 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Frame = wp.media.view.Frame,
+       $ = jQuery,
+       MediaFrame;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,4 +7,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * The frame used to create the media modal.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Frame
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,11 +16,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Frame = wp.media.view.Frame,
-       $ = jQuery,
-       MediaFrame;
-
-MediaFrame = Frame.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+MediaFrame = Frame.extend(/** @lends wp.media.view.MediaFrame.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'media-frame',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('media-frame'),
</span><span class="cx" style="display: block; padding: 0 10px">        regions:   ['menu','title','content','toolbar','router'],
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -24,7 +26,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        },
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @global wp.Uploader
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @constructs
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                Frame.prototype.initialize.apply( this, arguments );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -232,8 +234,40 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Map some of the modal's methods to the frame.
</span><span class="cx" style="display: block; padding: 0 10px"> _.each(['open','close','attach','detach','escape'], function( method ) {
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @function open
+        * @memberOf wp.media.view.MediaFrame
+        * @instance
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @returns {wp.media.view.MediaFrame} Returns itself to allow chaining
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /**
+        * @function close
+        * @memberOf wp.media.view.MediaFrame
+        * @instance
+        *
+        * @returns {wp.media.view.MediaFrame} Returns itself to allow chaining
+        */
+       /**
+        * @function attach
+        * @memberOf wp.media.view.MediaFrame
+        * @instance
+        *
+        * @returns {wp.media.view.MediaFrame} Returns itself to allow chaining
+        */
+       /**
+        * @function detach
+        * @memberOf wp.media.view.MediaFrame
+        * @instance
+        *
+        * @returns {wp.media.view.MediaFrame} Returns itself to allow chaining
+        */
+       /**
+        * @function escape
+        * @memberOf wp.media.view.MediaFrame
+        * @instance
+        *
+        * @returns {wp.media.view.MediaFrame} Returns itself to allow chaining
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         MediaFrame.prototype[ method ] = function() {
</span><span class="cx" style="display: block; padding: 0 10px">                if ( this.modal ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        this.modal[ method ].apply( this.modal, arguments );
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsmenuitemjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/menu-item.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/menu-item.js 2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/menu-item.js   2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,15 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var $ = jQuery,
+       MenuItem;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MenuItem
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var $ = jQuery,
-       MenuItem;
-
-MenuItem = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+MenuItem = wp.media.View.extend(/** @lends wp.media.view.MenuItem.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'a',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'media-menu-item',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsmenujs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/menu.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/menu.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/menu.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,17 +1,19 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var MenuItem = wp.media.view.MenuItem,
+       PriorityList = wp.media.view.PriorityList,
+       Menu;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Menu
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.PriorityList
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var MenuItem = wp.media.view.MenuItem,
-       PriorityList = wp.media.view.PriorityList,
-       Menu;
-
-Menu = PriorityList.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Menu = PriorityList.extend(/** @lends wp.media.view.Menu.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'media-menu',
</span><span class="cx" style="display: block; padding: 0 10px">        property:  'state',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsmodaljs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/modal.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/modal.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/modal.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,6 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var $ = jQuery,
+       Modal;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Modal
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,13 +6,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A modal view, which the media modal uses as its default container.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var $ = jQuery,
-       Modal;
-
-Modal = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Modal = wp.media.View.extend(/** @lends wp.media.view.Modal.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:  'div',
</span><span class="cx" style="display: block; padding: 0 10px">        template: wp.template('media-modal'),
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsprioritylistjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/priority-list.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/priority-list.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/priority-list.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,12 +1,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.PriorityList
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var PriorityList = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var PriorityList = wp.media.View.extend(/** @lends wp.media.view.PriorityList.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        initialize: function() {
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsrouteritemjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/router-item.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/router-item.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/router-item.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,13 +1,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.RouterItem
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MenuItem
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var RouterItem = wp.media.view.MenuItem.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var RouterItem = wp.media.view.MenuItem.extend(/** @lends wp.media.view.RouterItem.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * On click handler to activate the content region's corresponding mode.
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsrouterjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/router.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/router.js    2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/router.js      2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,11 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Menu = wp.media.view.Menu,
+       Router;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Router
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Menu
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.PriorityList
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,10 +13,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Menu = wp.media.view.Menu,
-       Router;
-
-Router = Menu.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Router = Menu.extend(/** @lends wp.media.view.Router.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'media-router',
</span><span class="cx" style="display: block; padding: 0 10px">        property:  'contentMode',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewssearchjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/search.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/search.js    2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/search.js      2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,15 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       Search;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Search
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       Search;
-
-Search = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Search = wp.media.View.extend(/** @lends wp.media.view.Search.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'input',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'search',
</span><span class="cx" style="display: block; padding: 0 10px">        id:        'media-search-input',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsselectionjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/selection.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/selection.js 2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/selection.js   2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,15 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       Selection;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Selection
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       Selection;
-
-Selection = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Selection = wp.media.View.extend(/** @lends wp.media.view.Selection.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'media-selection',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('media-selection'),
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewssettingsattachmentdisplayjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/settings/attachment-display.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/settings/attachment-display.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/settings/attachment-display.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,16 +1,18 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Settings = wp.media.view.Settings,
+       AttachmentDisplay;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Settings.AttachmentDisplay
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Settings
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Settings = wp.media.view.Settings,
-       AttachmentDisplay;
-
-AttachmentDisplay = Settings.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+AttachmentDisplay = Settings.extend(/** @lends wp.media.view.Settings.AttachmentDisplay.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'attachment-display-settings',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('attachment-display-settings'),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewssettingsgalleryjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/settings/gallery.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/settings/gallery.js  2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/settings/gallery.js    2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,13 +1,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Settings.Gallery
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Settings
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Gallery = wp.media.view.Settings.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Gallery = wp.media.view.Settings.extend(/** @lends wp.media.view.Settings.Gallery.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'collection-settings gallery-settings',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('gallery-settings')
</span><span class="cx" style="display: block; padding: 0 10px"> });
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewssettingsplaylistjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/settings/playlist.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/settings/playlist.js 2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/settings/playlist.js   2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,13 +1,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Settings.Playlist
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Settings
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Playlist = wp.media.view.Settings.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Playlist = wp.media.view.Settings.extend(/** @lends wp.media.view.Settings.Playlist.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'collection-settings playlist-settings',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('playlist-settings')
</span><span class="cx" style="display: block; padding: 0 10px"> });
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewssettingsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/settings.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/settings.js  2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/settings.js    2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,16 +1,18 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       $ = Backbone.$,
+       Settings;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Settings
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       $ = Backbone.$,
-       Settings;
-
-Settings = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Settings = View.extend(/** @lends wp.media.view.Settings.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         events: {
</span><span class="cx" style="display: block; padding: 0 10px">                'click button':    'updateHandler',
</span><span class="cx" style="display: block; padding: 0 10px">                'change input':    'updateHandler',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewssidebarjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/sidebar.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/sidebar.js   2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/sidebar.js     2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,13 +1,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Sidebar
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.PriorityList
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Sidebar = wp.media.view.PriorityList.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Sidebar = wp.media.view.PriorityList.extend(/** @lends wp.media.view.Sidebar.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'media-sidebar'
</span><span class="cx" style="display: block; padding: 0 10px"> });
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewssiteiconcropperjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/site-icon-cropper.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/site-icon-cropper.js 2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/site-icon-cropper.js   2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,6 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.view,
+       SiteIconCropper;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.SiteIconCropper
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,16 +9,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * Takes imgAreaSelect options from
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.customize.SiteIconControl.calculateImageSelectOptions.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Cropper
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.view,
-       SiteIconCropper;
-
-SiteIconCropper = View.Cropper.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+SiteIconCropper = View.Cropper.extend(/** @lends wp.media.view.SiteIconCropper.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'crop-content site-icon',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        ready: function () {
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewssiteiconpreviewjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/site-icon-preview.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/site-icon-preview.js 2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/site-icon-preview.js   2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,7 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       $ = jQuery,
+       SiteIconPreview;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.SiteIconPreview
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,14 +7,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * Shows a preview of the Site Icon as a favicon and app icon while cropping.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       $ = jQuery,
-       SiteIconPreview;
-
-SiteIconPreview = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+SiteIconPreview = View.extend(/** @lends wp.media.view.SiteIconPreview.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'site-icon-preview',
</span><span class="cx" style="display: block; padding: 0 10px">        template: wp.template( 'site-icon-preview' ),
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsspinnerjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/spinner.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/spinner.js   2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/spinner.js     2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,12 +1,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Spinner
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Spinner = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Spinner = wp.media.View.extend(/** @lends wp.media.view.Spinner.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'span',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'spinner',
</span><span class="cx" style="display: block; padding: 0 10px">        spinnerTimeout: false,
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewstoolbarembedjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/toolbar/embed.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/toolbar/embed.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/toolbar/embed.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,12 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Select = wp.media.view.Toolbar.Select,
+       l10n = wp.media.view.l10n,
+       Embed;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Toolbar.Embed
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Toolbar
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Toolbar.Select
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Toolbar
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,11 +14,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Select = wp.media.view.Toolbar.Select,
-       l10n = wp.media.view.l10n,
-       Embed;
-
-Embed = Select.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Embed = Select.extend(/** @lends wp.media.view.Toolbar.Embed.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                _.defaults( this.options, {
</span><span class="cx" style="display: block; padding: 0 10px">                        text: l10n.insertIntoPost,
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewstoolbarselectjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/toolbar/select.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/toolbar/select.js    2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/toolbar/select.js      2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,17 +1,19 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Toolbar = wp.media.view.Toolbar,
+       l10n = wp.media.view.l10n,
+       Select;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Toolbar.Select
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Toolbar
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Toolbar
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Toolbar = wp.media.view.Toolbar,
-       l10n = wp.media.view.l10n,
-       Select;
-
-Select = Toolbar.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Select = Toolbar.extend(/** @lends wp.media.view.Toolbar.Select.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                var options = this.options;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewstoolbarjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/toolbar.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/toolbar.js   2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/toolbar.js     2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,6 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       Toolbar;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Toolbar
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,15 +7,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A toolbar which consists of a primary and a secondary section. Each sections
</span><span class="cx" style="display: block; padding: 0 10px">  * can be filled with views.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       Toolbar;
-
-Toolbar = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Toolbar = View.extend(/** @lends wp.media.view.Toolbar.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'media-toolbar',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsuploadereditorjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/uploader/editor.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/uploader/editor.js   2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/uploader/editor.js     2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,8 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       l10n = wp.media.view.l10n,
+       $ = jQuery,
+       EditorUploader;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * Creates a dropzone on WP editor instances (elements with .wp-editor-wrap)
</span><span class="cx" style="display: block; padding: 0 10px">  * and relays drag'n'dropped files to a media workflow.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,17 +9,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.EditorUploader
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       l10n = wp.media.view.l10n,
-       $ = jQuery,
-       EditorUploader;
-
-EditorUploader = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+EditorUploader = View.extend(/** @lends wp.media.view.EditorUploader.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'uploader-editor',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template( 'uploader-editor' ),
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsuploaderinlinejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/uploader/inline.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/uploader/inline.js   2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/uploader/inline.js     2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,6 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       UploaderInline;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.UploaderInline
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,13 +6,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * The inline uploader that shows up in the 'Upload Files' tab.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       UploaderInline;
-
-UploaderInline = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+UploaderInline = View.extend(/** @lends wp.media.view.UploaderInline.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'uploader-inline',
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsuploaderstatuserrorjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/uploader/status-error.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/uploader/status-error.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/uploader/status-error.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,12 +1,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.UploaderStatusError
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var UploaderStatusError = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var UploaderStatusError = wp.media.View.extend(/** @lends wp.media.view.UploaderStatusError.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'upload-error',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('uploader-status-error')
</span><span class="cx" style="display: block; padding: 0 10px"> });
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsuploaderstatusjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/uploader/status.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/uploader/status.js   2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/uploader/status.js     2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,6 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       UploaderStatus;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.UploaderStatus
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,13 +6,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * An uploader status for on-going uploads.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       UploaderStatus;
-
-UploaderStatus = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+UploaderStatus = View.extend(/** @lends wp.media.view.UploaderStatus.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'media-uploader-status',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('uploader-status'),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,7 +33,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                this.errors.on( 'add', this.error, this );
</span><span class="cx" style="display: block; padding: 0 10px">        },
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @global wp.Uploader
</del><span class="cx" style="display: block; padding: 0 10px">          * @returns {wp.media.view.UploaderStatus}
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="cx" style="display: block; padding: 0 10px">        dispose: function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -117,8 +118,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">        },
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @global wp.Uploader
-        *
</del><span class="cx" style="display: block; padding: 0 10px">          * @param {Object} event
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="cx" style="display: block; padding: 0 10px">        dismiss: function( event ) {
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsuploaderwindowjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/uploader/window.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/uploader/window.js   2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/uploader/window.js     2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,6 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var $ = jQuery,
+       UploaderWindow;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.UploaderWindow
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,4 +6,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * An uploader window that allows for dragging and dropping media.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,10 +19,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {jQuery} [options.uploader.dropzone] jQuery collection of the dropzone.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {object} [options.uploader.params]
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var $ = jQuery,
-       UploaderWindow;
-
-UploaderWindow = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+UploaderWindow = wp.media.View.extend(/** @lends wp.media.view.UploaderWindow.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'uploader-window',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('uploader-window'),
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsvideodetailsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/video-details.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/video-details.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/video-details.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,11 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var MediaDetails = wp.media.view.MediaDetails,
+       VideoDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.VideoDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaDetails
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings.AttachmentDisplay
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,10 +14,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var MediaDetails = wp.media.view.MediaDetails,
-       VideoDetails;
-
-VideoDetails = MediaDetails.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+VideoDetails = MediaDetails.extend(/** @lends wp.media.view.VideoDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'video-details',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('video-details'),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsviewjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media/views/view.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media/views/view.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media/views/view.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,11 +10,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * This behavior has since been removed, and should not be used
</span><span class="cx" style="display: block; padding: 0 10px">  * outside of the media manager.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.Backbone.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.Backbone.View.extend(/** @lends wp.media.View.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         constructor: function( options ) {
</span><span class="cx" style="display: block; padding: 0 10px">                if ( options && options.controller ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        this.controller = options.controller;
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaaudiovideojs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media-audiovideo.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media-audiovideo.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media-audiovideo.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -279,20 +279,22 @@
</span><span class="cx" style="display: block; padding: 0 10px"> media.view.VideoDetails = require( './views/video-details.js' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{"./controllers/audio-details.js":2,"./controllers/video-details.js":3,"./models/post-media.js":4,"./views/audio-details.js":5,"./views/frame/audio-details.js":6,"./views/frame/media-details.js":7,"./views/frame/video-details.js":8,"./views/media-details.js":9,"./views/video-details.js":10}],2:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var State = wp.media.controller.State,
+       l10n = wp.media.view.l10n,
+       AudioDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.AudioDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * The controller for the Audio Details state
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var State = wp.media.controller.State,
-       l10n = wp.media.view.l10n,
-       AudioDetails;
-
-AudioDetails = State.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+AudioDetails = State.extend(/** @lends wp.media.controller.AudioDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id: 'audio-details',
</span><span class="cx" style="display: block; padding: 0 10px">                toolbar: 'audio-details',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -317,6 +319,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * The controller for the Video Details state
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -325,7 +329,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        l10n = wp.media.view.l10n,
</span><span class="cx" style="display: block; padding: 0 10px">        VideoDetails;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-VideoDetails = State.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+VideoDetails = State.extend(/** @lends wp.media.controller.VideoDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id: 'video-details',
</span><span class="cx" style="display: block; padding: 0 10px">                toolbar: 'video-details',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -351,10 +355,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * Shared model class for audio and video. Updates the model after
</span><span class="cx" style="display: block; padding: 0 10px">  *   "Add Audio|Video Source" and "Replace Audio|Video" states return
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.model
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var PostMedia = Backbone.Model.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var PostMedia = Backbone.Model.extend(/** @lends wp.media.model.PostMedia.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                this.attachment = false;
</span><span class="cx" style="display: block; padding: 0 10px">        },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -387,9 +393,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = PostMedia;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],5:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var MediaDetails = wp.media.view.MediaDetails,
+       AudioDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.AudioDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaDetails
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings.AttachmentDisplay
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -398,10 +409,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var MediaDetails = wp.media.view.MediaDetails,
-       AudioDetails;
-
-AudioDetails = MediaDetails.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+AudioDetails = MediaDetails.extend(/** @lends wp.media.view.AudioDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'audio-details',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('audio-details'),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -425,9 +433,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = AudioDetails;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],6:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var MediaDetails = wp.media.view.MediaFrame.MediaDetails,
+       MediaLibrary = wp.media.controller.MediaLibrary,
+
+       l10n = wp.media.view.l10n,
+       AudioDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame.AudioDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame.MediaDetails
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame.Select
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -438,13 +454,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var MediaDetails = wp.media.view.MediaFrame.MediaDetails,
-       MediaLibrary = wp.media.controller.MediaLibrary,
-
-       l10n = wp.media.view.l10n,
-       AudioDetails;
-
-AudioDetails = MediaDetails.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+AudioDetails = MediaDetails.extend(/** @lends wp.media.view.MediaFrame.AudioDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:      'audio',
</span><span class="cx" style="display: block; padding: 0 10px">                url:     '',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -501,9 +511,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = AudioDetails;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],7:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Select = wp.media.view.MediaFrame.Select,
+       l10n = wp.media.view.l10n,
+       MediaDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame.MediaDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame.Select
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -513,11 +529,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Select = wp.media.view.MediaFrame.Select,
-       l10n = wp.media.view.l10n,
-       MediaDetails;
-
-MediaDetails = Select.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+MediaDetails = Select.extend(/** @lends wp.media.view.MediaFrame.MediaDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:      'media',
</span><span class="cx" style="display: block; padding: 0 10px">                url:     '',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -631,9 +643,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = MediaDetails;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],8:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var MediaDetails = wp.media.view.MediaFrame.MediaDetails,
+       MediaLibrary = wp.media.controller.MediaLibrary,
+       l10n = wp.media.view.l10n,
+       VideoDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame.VideoDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame.MediaDetails
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame.Select
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -644,12 +663,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var MediaDetails = wp.media.view.MediaFrame.MediaDetails,
-       MediaLibrary = wp.media.controller.MediaLibrary,
-       l10n = wp.media.view.l10n,
-       VideoDetails;
-
-VideoDetails = MediaDetails.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+VideoDetails = MediaDetails.extend(/** @lends wp.media.view.MediaFrame.VideoDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:      'video',
</span><span class="cx" style="display: block; padding: 0 10px">                url:     '',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -767,10 +781,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],9:[function(require,module,exports){
</span><span class="cx" style="display: block; padding: 0 10px"> /* global MediaElementPlayer */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
+       $ = jQuery,
+       MediaDetails;
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings.AttachmentDisplay
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -778,11 +797,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
-       $ = jQuery,
-       MediaDetails;
-
-MediaDetails = AttachmentDisplay.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+MediaDetails = AttachmentDisplay.extend(/** @lends wp.media.view.MediaDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                _.bindAll(this, 'success');
</span><span class="cx" style="display: block; padding: 0 10px">                this.players = [];
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -854,9 +869,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                this.scriptXhr = false;
</span><span class="cx" style="display: block; padding: 0 10px">        },
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        /**
-        * @global MediaElementPlayer
-        */
</del><span class="cx" style="display: block; padding: 0 10px">         setPlayer : function() {
</span><span class="cx" style="display: block; padding: 0 10px">                var src;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -912,7 +924,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        resetFocus: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                this.$( '.embed-media-settings' ).scrollTop( 0 );
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+},/** @lends wp.media.view.MediaDetails */{
</ins><span class="cx" style="display: block; padding: 0 10px">         instances : 0,
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * When multiple players in the DOM contain the same src, things get weird.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -938,9 +950,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = MediaDetails;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],10:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var MediaDetails = wp.media.view.MediaDetails,
+       VideoDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.VideoDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaDetails
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings.AttachmentDisplay
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -949,10 +966,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var MediaDetails = wp.media.view.MediaDetails,
-       VideoDetails;
-
-VideoDetails = MediaDetails.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+VideoDetails = MediaDetails.extend(/** @lends wp.media.view.VideoDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'video-details',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('video-details'),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaeditorjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media-editor.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media-editor.js  2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media-editor.js    2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,19 +30,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">                return attrs[ key ];
</span><span class="cx" style="display: block; padding: 0 10px">        };
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        /**
-        * wp.media.string
-        * @namespace
-        */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /** @namespace wp.media.string */
</ins><span class="cx" style="display: block; padding: 0 10px">         wp.media.string = {
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Joins the `props` and `attachment` objects,
</span><span class="cx" style="display: block; padding: 0 10px">                 * outputting the proper object format based on the
</span><span class="cx" style="display: block; padding: 0 10px">                 * attachment's type.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @global wp.media.view.settings
-                * @global getUserSetting()
-                *
</del><span class="cx" style="display: block; padding: 0 10px">                  * @param {Object} [props={}] Attachment details (align, link, size, etc).
</span><span class="cx" style="display: block; padding: 0 10px">                 * @param {Object} attachment The attachment object, media version of Post.
</span><span class="cx" style="display: block; padding: 0 10px">                 * @returns {Object} Joined props
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -109,8 +103,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Create link markup that is suitable for passing to the editor
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @global wp.html.string
-                *
</del><span class="cx" style="display: block; padding: 0 10px">                  * @param {Object} props Attachment details (align, link, size, etc).
</span><span class="cx" style="display: block; padding: 0 10px">                 * @param {Object} attachment The attachment object, media version of Post.
</span><span class="cx" style="display: block; padding: 0 10px">                 * @returns {string} The link markup
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -159,9 +151,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><span class="cx" style="display: block; padding: 0 10px">                 * @access private
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @global wp.shortcode
-                * @global wp.media.view.settings
-                *
</del><span class="cx" style="display: block; padding: 0 10px">                  * @param {string} type The shortcode tag name: 'audio' or 'video'.
</span><span class="cx" style="display: block; padding: 0 10px">                 * @param {Object} props Attachment details (align, link, size, etc).
</span><span class="cx" style="display: block; padding: 0 10px">                 * @param {Object} attachment The attachment object, media version of Post.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -210,9 +199,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                 * Create image markup, optionally with a link and/or wrapped in a caption shortcode,
</span><span class="cx" style="display: block; padding: 0 10px">                 *  that is suitable for passing to the editor
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @global wp.html
-                * @global wp.shortcode
-                *
</del><span class="cx" style="display: block; padding: 0 10px">                  * @param {Object} props Attachment details (align, link, size, etc).
</span><span class="cx" style="display: block; padding: 0 10px">                 * @param {Object} attachment The attachment object, media version of Post.
</span><span class="cx" style="display: block; padding: 0 10px">                 * @returns {string}
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -341,16 +327,19 @@
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span><span class="cx" style="display: block; padding: 0 10px">        };
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /**
+        * @class wp.media.collection
+        *
+        * @param {Object} attributes
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         wp.media.collection = function(attributes) {
</span><span class="cx" style="display: block; padding: 0 10px">                var collections = {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                return _.extend( {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         return _.extend(/** @lends wp.media.collection.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">                         coerce : wp.media.coerce,
</span><span class="cx" style="display: block; padding: 0 10px">                        /**
</span><span class="cx" style="display: block; padding: 0 10px">                         * Retrieve attachments based on the properties of the passed shortcode
</span><span class="cx" style="display: block; padding: 0 10px">                         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                         * @global wp.media.query
-                        *
</del><span class="cx" style="display: block; padding: 0 10px">                          * @param {wp.shortcode} shortcode An instance of wp.shortcode().
</span><span class="cx" style="display: block; padding: 0 10px">                         * @returns {wp.media.model.Attachments} A Backbone.Collection containing
</span><span class="cx" style="display: block; padding: 0 10px">                         *      the media items belonging to a collection.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -417,9 +406,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        /**
</span><span class="cx" style="display: block; padding: 0 10px">                         * Triggered when clicking 'Insert {label}' or 'Update {label}'
</span><span class="cx" style="display: block; padding: 0 10px">                         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                         * @global wp.shortcode
-                        * @global wp.media.model.Attachments
-                        *
</del><span class="cx" style="display: block; padding: 0 10px">                          * @param {wp.media.model.Attachments} attachments A Backbone.Collection containing
</span><span class="cx" style="display: block; padding: 0 10px">                         *      the media items belonging to a collection.
</span><span class="cx" style="display: block; padding: 0 10px">                         *      The query[ this.tag ] property is a Backbone.Model
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -488,10 +474,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                         * Triggered when double-clicking a collection shortcode placeholder
</span><span class="cx" style="display: block; padding: 0 10px">                         *   in the editor
</span><span class="cx" style="display: block; padding: 0 10px">                         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                         * @global wp.shortcode
-                        * @global wp.media.model.Selection
-                        * @global wp.media.view.l10n
-                        *
</del><span class="cx" style="display: block; padding: 0 10px">                          * @param {string} content Content that is searched for possible
</span><span class="cx" style="display: block; padding: 0 10px">                         *    shortcode markup matching the passed tag name,
</span><span class="cx" style="display: block; padding: 0 10px">                         *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -610,15 +592,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">        });
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * wp.media.featuredImage
-        * @namespace
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @namespace wp.media.featuredImage
+        * @memberOf wp.media
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        wp.media.featuredImage = {
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Get the featured image post ID
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @global wp.media.view.settings
-                *
</del><span class="cx" style="display: block; padding: 0 10px">                  * @returns {wp.media.view.settings.post.featuredImageId|number}
</span><span class="cx" style="display: block; padding: 0 10px">                 */
</span><span class="cx" style="display: block; padding: 0 10px">                get: function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -628,9 +608,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                 * Set the featured image id, save the post thumbnail data and
</span><span class="cx" style="display: block; padding: 0 10px">                 * set the HTML in the post meta box to the new featured image.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @global wp.media.view.settings
-                * @global wp.media.post
-                *
</del><span class="cx" style="display: block; padding: 0 10px">                  * @param {number} id The post ID of the featured image, or -1 to unset it.
</span><span class="cx" style="display: block; padding: 0 10px">                 */
</span><span class="cx" style="display: block; padding: 0 10px">                set: function( id ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -660,9 +637,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * The Featured Image workflow
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @global wp.media.controller.FeaturedImage
-                * @global wp.media.view.l10n
-                *
</del><span class="cx" style="display: block; padding: 0 10px">                  * @this wp.media.featuredImage
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><span class="cx" style="display: block; padding: 0 10px">                 * @returns {wp.media.view.MediaFrame.Select} A media workflow.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -705,8 +679,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                 * 'select' callback for Featured Image workflow, triggered when
</span><span class="cx" style="display: block; padding: 0 10px">                 *  the 'Set Featured Image' button is clicked in the media modal.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @global wp.media.view.settings
-                *
</del><span class="cx" style="display: block; padding: 0 10px">                  * @this wp.media.controller.FeaturedImage
</span><span class="cx" style="display: block; padding: 0 10px">                 */
</span><span class="cx" style="display: block; padding: 0 10px">                select: function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -723,8 +695,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                 * the post thumbnail is clicked.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><span class="cx" style="display: block; padding: 0 10px">                 * Update the featured image id when the 'remove' link is clicked.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 *
-                * @global wp.media.view.settings
</del><span class="cx" style="display: block; padding: 0 10px">                  */
</span><span class="cx" style="display: block; padding: 0 10px">                init: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                        $('#postimagediv').on( 'click', '#set-post-thumbnail', function( event ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -742,19 +712,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        $( wp.media.featuredImage.init );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        /**
-        * wp.media.editor
-        * @namespace
-        */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /** @namespace wp.media.editor */
</ins><span class="cx" style="display: block; padding: 0 10px">         wp.media.editor = {
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Send content to the editor
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @global tinymce
-                * @global QTags
-                * @global wpActiveEditor
-                * @global tb_remove() - Possibly overloaded by legacy plugins
-                *
</del><span class="cx" style="display: block; padding: 0 10px">                  * @param {string} html Content to send to the editor
</span><span class="cx" style="display: block; padding: 0 10px">                 */
</span><span class="cx" style="display: block; padding: 0 10px">                insert: function( html ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -805,8 +767,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                 * Setup 'workflow' and add to the 'workflows' cache. 'open' can
</span><span class="cx" style="display: block; padding: 0 10px">                 *  subsequently be called upon it.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @global wp.media.view.l10n
-                *
</del><span class="cx" style="display: block; padding: 0 10px">                  * @param {string} id A slug used to identify the workflow.
</span><span class="cx" style="display: block; padding: 0 10px">                 * @param {Object} [options={}]
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -914,9 +874,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Determines the proper current workflow id
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @global wpActiveEditor
-                * @global tinymce
-                *
</del><span class="cx" style="display: block; padding: 0 10px">                  * @param {string} [id=''] A slug used to identify the workflow.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><span class="cx" style="display: block; padding: 0 10px">                 * @returns {wpActiveEditor|string|tinymce.activeEditor.id}
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -962,17 +919,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        id = this.id( id );
</span><span class="cx" style="display: block; padding: 0 10px">                        delete workflows[ id ];
</span><span class="cx" style="display: block; padding: 0 10px">                },
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                /**
-                * @namespace
-                */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         /** @namespace wp.media.editor.send */
</ins><span class="cx" style="display: block; padding: 0 10px">                 send: {
</span><span class="cx" style="display: block; padding: 0 10px">                        /**
</span><span class="cx" style="display: block; padding: 0 10px">                         * Called when sending an attachment to the editor
</span><span class="cx" style="display: block; padding: 0 10px">                         *   from the medial modal.
</span><span class="cx" style="display: block; padding: 0 10px">                         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                         * @global wp.media.view.settings
-                        * @global wp.media.post
-                        *
</del><span class="cx" style="display: block; padding: 0 10px">                          * @param {Object} props Attachment details (align, link, size, etc).
</span><span class="cx" style="display: block; padding: 0 10px">                         * @param {Object} attachment The attachment object, media version of Post.
</span><span class="cx" style="display: block; padding: 0 10px">                         * @returns {Promise}
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1028,8 +980,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        /**
</span><span class="cx" style="display: block; padding: 0 10px">                         * Called when 'Insert From URL' source is not an image. Example: YouTube url.
</span><span class="cx" style="display: block; padding: 0 10px">                         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                         * @global wp.media.view.settings
-                        *
</del><span class="cx" style="display: block; padding: 0 10px">                          * @param {Object} embed
</span><span class="cx" style="display: block; padding: 0 10px">                         * @returns {Promise}
</span><span class="cx" style="display: block; padding: 0 10px">                         */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1075,8 +1025,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Bind click event for .insert-media using event delegation
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 *
-                * @global wp.media.view.l10n
</del><span class="cx" style="display: block; padding: 0 10px">                  */
</span><span class="cx" style="display: block; padding: 0 10px">                init: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                        $(document.body)
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediagridjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media-grid.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media-grid.js    2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media-grid.js      2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,17 +1,19 @@
</span><span class="cx" style="display: block; padding: 0 10px"> (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       EditAttachmentMetadata;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.EditAttachmentMetadata
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for editing an attachment's metadata.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       EditAttachmentMetadata;
-
-EditAttachmentMetadata = wp.media.controller.State.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+EditAttachmentMetadata = wp.media.controller.State.extend(/** @lends wp.media.controller.EditAttachmentMetadata.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:      'edit-attachment',
</span><span class="cx" style="display: block; padding: 0 10px">                // Title string passed to the frame's title region view.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -45,10 +47,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A router for handling the browser history and application state.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame.Manage
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Router
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Router = Backbone.Router.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Router = Backbone.Router.extend(/** @lends wp.media.view.MediaFrame.Manage.Router.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         routes: {
</span><span class="cx" style="display: block; padding: 0 10px">                'upload.php?item=:slug&mode=edit': 'editItem',
</span><span class="cx" style="display: block; padding: 0 10px">                'upload.php?item=:slug':           'showItem',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -107,12 +111,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Router;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],4:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Details = wp.media.view.Attachment.Details,
+       TwoColumn;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Attachment.Details.TwoColumn
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A similar view to media.view.Attachment.Details
</span><span class="cx" style="display: block; padding: 0 10px">  * for use in the Edit Attachment modal.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Attachment.Details
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachment.Details
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachment
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -120,10 +129,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Details = wp.media.view.Attachment.Details,
-       TwoColumn;
-
-TwoColumn = Details.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+TwoColumn = Details.extend(/** @lends wp.media.view.Attachment.Details.TowColumn.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         template: wp.template( 'attachment-details-two-column' ),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        initialize: function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -158,11 +164,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = TwoColumn;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],5:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Button = wp.media.view.Button,
+       DeleteSelected = wp.media.view.DeleteSelectedButton,
+       DeleteSelectedPermanently;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.DeleteSelectedPermanentlyButton
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * When MEDIA_TRASH is true, a button that handles bulk Delete Permanently logic
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.DeleteSelectedButton
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Button
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -170,11 +182,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Button = wp.media.view.Button,
-       DeleteSelected = wp.media.view.DeleteSelectedButton,
-       DeleteSelectedPermanently;
-
-DeleteSelectedPermanently = DeleteSelected.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+DeleteSelectedPermanently = DeleteSelected.extend(/** @lends wp.media.view.DeleteSelectedPermanentlyButton.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                DeleteSelected.prototype.initialize.apply( this, arguments );
</span><span class="cx" style="display: block; padding: 0 10px">                this.controller.on( 'select:activate', this.selectActivate, this );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -205,22 +213,24 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = DeleteSelectedPermanently;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],6:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Button = wp.media.view.Button,
+       l10n = wp.media.view.l10n,
+       DeleteSelected;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.DeleteSelectedButton
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A button that handles bulk Delete/Trash logic
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Button
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Button = wp.media.view.Button,
-       l10n = wp.media.view.l10n,
-       DeleteSelected;
-
-DeleteSelected = Button.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+DeleteSelected = Button.extend(/** @lends wp.media.view.DeleteSelectedButton.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                Button.prototype.initialize.apply( this, arguments );
</span><span class="cx" style="display: block; padding: 0 10px">                if ( this.options.filters ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -258,20 +268,23 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = DeleteSelected;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],7:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+var Button = wp.media.view.Button,
+       l10n = wp.media.view.l10n,
+       SelectModeToggle;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.SelectModeToggleButton
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Button
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Button = wp.media.view.Button,
-       l10n = wp.media.view.l10n,
-       SelectModeToggle;
-
-SelectModeToggle = Button.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+SelectModeToggle = Button.extend(/** @lends wp.media.view.SelectModeToggle.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                _.defaults( this.options, {
</span><span class="cx" style="display: block; padding: 0 10px">                        size : ''
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -332,20 +345,22 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = SelectModeToggle;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],8:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       EditImage = wp.media.view.EditImage,
+       Details;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.EditImage.Details
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.EditImage
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.EditImage
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       EditImage = wp.media.view.EditImage,
-       Details;
-
-Details = EditImage.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Details = EditImage.extend(/** @lends wp.media.view.EditImage.Details.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function( options ) {
</span><span class="cx" style="display: block; padding: 0 10px">                this.editor = window.imageEdit;
</span><span class="cx" style="display: block; padding: 0 10px">                this.frame = options.frame;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -367,6 +382,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Details;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],9:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Frame = wp.media.view.Frame,
+       MediaFrame = wp.media.view.MediaFrame,
+
+       $ = jQuery,
+       EditAttachments;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame.EditAttachments
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -376,6 +397,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * Requires an attachment model to be passed in the options hash under `model`.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Frame
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -383,14 +406,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Frame = wp.media.view.Frame,
-       MediaFrame = wp.media.view.MediaFrame,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+EditAttachments = MediaFrame.extend(/** @lends wp.media.view.MediaFrame.EditAttachments.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $ = jQuery,
-       EditAttachments;
-
-EditAttachments = MediaFrame.extend({
-
</del><span class="cx" style="display: block; padding: 0 10px">         className: 'edit-attachment-frame',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template( 'edit-attachment-frame' ),
</span><span class="cx" style="display: block; padding: 0 10px">        regions:   [ 'title', 'content' ],
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -627,6 +644,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = EditAttachments;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],10:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var MediaFrame = wp.media.view.MediaFrame,
+       Library = wp.media.controller.Library,
+
+       $ = Backbone.$,
+       Manage;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame.Manage
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -634,6 +657,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * Used in the media grid view.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Frame
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -642,15 +667,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var MediaFrame = wp.media.view.MediaFrame,
-       Library = wp.media.controller.Library,
-
-       $ = Backbone.$,
-       Manage;
-
-Manage = MediaFrame.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Manage = MediaFrame.extend(/** @lends wp.media.view.MediaFrame.Manage.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @global wp.Uploader
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @constructs
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                _.defaults( this.options, {
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediamodelsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media-models.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media-models.js  2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media-models.js    2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2,6 +2,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> var $ = jQuery,
</span><span class="cx" style="display: block; padding: 0 10px">        Attachment, Attachments, l10n, media;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/** @namespace wp */
</ins><span class="cx" style="display: block; padding: 0 10px"> window.wp = window.wp || {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,6 +10,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * Handles the default media experience.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @alias wp.media
+ * @memberOf wp
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @param  {object} attributes The properties passed to the main media controller.
</span><span class="cx" style="display: block; padding: 0 10px">  * @return {wp.media.view.MediaFrame} A media workflow.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -47,6 +51,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">        return frame;
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/** @namespace wp.media */
+/** @namespace wp.media.model */
+/** @namespace wp.media.view */
+/** @namespace wp.media.controller */
+/** @namespace wp.media.frames */
</ins><span class="cx" style="display: block; padding: 0 10px"> _.extend( media, { model: {}, view: {}, controller: {}, frames: {} });
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> // Link any localized strings.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -90,7 +99,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-_.extend( media, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+_.extend( media, /** @lends wp.media */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * media.template( id )
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -230,16 +239,18 @@
</span><span class="cx" style="display: block; padding: 0 10px"> });
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{"./models/attachment.js":2,"./models/attachments.js":3,"./models/post-image.js":4,"./models/query.js":5,"./models/selection.js":6}],2:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var $ = Backbone.$,
+       Attachment;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.model.Attachment
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.model
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var $ = Backbone.$,
-       Attachment;
-
-Attachment = Backbone.Model.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Attachment = Backbone.Model.extend(/** @lends wp.media.model.Attachment.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Triggered when attachment details change
</span><span class="cx" style="display: block; padding: 0 10px">         * Overrides Backbone.Model.sync
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -366,11 +377,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        model.set( model.parse( resp, xhr ), options );
</span><span class="cx" style="display: block; padding: 0 10px">                });
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+},/** @lends wp.media.model.Attachment */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Create a new model on the static 'all' attachments collection and return it.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * @static
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @param {Object} attrs
</span><span class="cx" style="display: block; padding: 0 10px">         * @returns {wp.media.model.Attachment}
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -407,6 +419,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * 'options.props.query = true', which will mirror the collection
</span><span class="cx" style="display: block; padding: 0 10px">  * to an Attachments Query collection - @see wp.media.model.Attachments.mirror().
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.model
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Collection
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -420,7 +434,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {string} [options.filters]
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Attachments = Backbone.Collection.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Attachments = Backbone.Collection.extend(/** @lends wp.media.model.Attachments.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * @type {wp.media.model.Attachment}
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -818,15 +832,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        attachments: attachments
</span><span class="cx" style="display: block; padding: 0 10px">                });
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+},/** @lends wp.media.model.Attachments */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * A function to compare two attachment models in an attachments collection.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * Used as the default comparator for instances of wp.media.model.Attachments
</span><span class="cx" style="display: block; padding: 0 10px">         * and its subclasses. @see wp.media.model.Attachments._changeOrderby().
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @static
-        *
</del><span class="cx" style="display: block; padding: 0 10px">          * @param {Backbone.Model} a
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {Backbone.Model} b
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {Object} options
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -855,9 +867,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                return ( 'DESC' === order ) ? wp.media.compare( a, b, ac, bc ) : wp.media.compare( b, a, bc, ac );
</span><span class="cx" style="display: block; padding: 0 10px">        },
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        /**
-        * @namespace
-        */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /** @namespace wp.media.model.Attachments.filters */
</ins><span class="cx" style="display: block; padding: 0 10px">         filters: {
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * @static
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -952,13 +962,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * Used in the embedded image attachment display settings modal - @see wp.media.view.MediaFrame.ImageDetails.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.model
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {int} [attributes]               Initial model attributes.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {int} [attributes.attachment_id] ID of the attachment.
</span><span class="cx" style="display: block; padding: 0 10px">  **/
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var PostImage = Backbone.Model.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var PostImage = Backbone.Model.extend(/** @lends wp.media.model.PostImage.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        initialize: function( attributes ) {
</span><span class="cx" style="display: block; padding: 0 10px">                var Attachment = wp.media.model.Attachment;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1099,6 +1111,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = PostImage;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],5:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Attachments = wp.media.model.Attachments,
+       Query;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.model.Query
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1107,6 +1122,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * Note: Do NOT change this.args after the query has been initialized.
</span><span class="cx" style="display: block; padding: 0 10px">  *       Things will break.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.model
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.model.Attachments
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Collection
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1116,13 +1133,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {object} [options.args]                Attachments query arguments.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {object} [options.args.posts_per_page]
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Attachments = wp.media.model.Attachments,
-       Query;
-
-Query = Attachments.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Query = Attachments.extend(/** @lends wp.media.model.Query.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @global wp.Uploader
-        *
</del><span class="cx" style="display: block; padding: 0 10px">          * @param {array}  [models=[]]  Array of initial models to populate the collection.
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {object} [options={}]
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1254,7 +1266,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        return fallback.sync.apply( this, arguments );
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+}, /** @lends wp.media.model.Query */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * @readonly
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1407,19 +1419,21 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Query;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],6:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Attachments = wp.media.model.Attachments,
+       Selection;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.model.Selection
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A selection of attachments.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.model
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.model.Attachments
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Collection
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Attachments = wp.media.model.Attachments,
-       Selection;
-
-Selection = Attachments.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Selection = Attachments.extend(/** @lends wp.media.model.Selection.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Refresh the `single` model whenever the selection changes.
</span><span class="cx" style="display: block; padding: 0 10px">         * Binds `single` instead of using the context argument to ensure
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaviewsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/media-views.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/media-views.js   2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/media-views.js     2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,9 +1,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Selection = wp.media.model.Selection,
+       Library = wp.media.controller.Library,
+       CollectionAdd;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.CollectionAdd
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for adding attachments to a collection (e.g. video playlist).
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.Library
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -32,11 +38,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {string}                     attributes.type                   The collection's media type. (e.g. 'video').
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {string}                     attributes.collectionType         The collection type. (e.g. 'playlist').
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Selection = wp.media.model.Selection,
-       Library = wp.media.controller.Library,
-       CollectionAdd;
-
-CollectionAdd = Library.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+CollectionAdd = Library.extend(/** @lends wp.media.controller.CollectionAdd.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: _.defaults( {
</span><span class="cx" style="display: block; padding: 0 10px">                // Selection defaults. @see media.model.Selection
</span><span class="cx" style="display: block; padding: 0 10px">                multiple:      'add',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -100,12 +102,19 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = CollectionAdd;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],2:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Library = wp.media.controller.Library,
+       l10n = wp.media.view.l10n,
+       $ = jQuery,
+       CollectionEdit;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.CollectionEdit
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for editing a collection, which is used by audio and video playlists,
</span><span class="cx" style="display: block; padding: 0 10px">  * and can be used for other collections.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.Library
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -135,12 +144,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {string}                     attributes.type                   The collection's media type. (e.g. 'video').
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {string}                     attributes.collectionType         The collection type. (e.g. 'playlist').
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Library = wp.media.controller.Library,
-       l10n = wp.media.view.l10n,
-       $ = jQuery,
-       CollectionEdit;
-
-CollectionEdit = Library.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+CollectionEdit = Library.extend(/** @lends wp.media.controller.CollectionEdit.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                multiple:         false,
</span><span class="cx" style="display: block; padding: 0 10px">                sortable:         true,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -262,19 +266,21 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = CollectionEdit;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],3:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       Cropper;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.Cropper
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for cropping an image.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       Cropper;
-
-Cropper = wp.media.controller.State.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Cropper = wp.media.controller.State.extend(/** @lends wp.media.controller.Cropper.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:          'cropper',
</span><span class="cx" style="display: block; padding: 0 10px">                title:       l10n.cropImage,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -384,9 +390,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Cropper;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],4:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Controller = wp.media.controller,
+       CustomizeImageCropper;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.CustomizeImageCropper
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * A state for cropping an image.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -394,10 +405,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Controller = wp.media.controller,
-       CustomizeImageCropper;
-
-CustomizeImageCropper = Controller.Cropper.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+CustomizeImageCropper = Controller.Cropper.extend(/** @lends wp.media.controller.CustomizeImageCropper.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         doCrop: function( attachment ) {
</span><span class="cx" style="display: block; padding: 0 10px">                var cropDetails = attachment.get( 'cropDetails' ),
</span><span class="cx" style="display: block; padding: 0 10px">                        control = this.get( 'control' ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -427,11 +435,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = CustomizeImageCropper;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],5:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       EditImage;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.EditImage
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for editing (cropping, etc.) an image.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -445,10 +458,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {string}                    [attributes.menu=false]         Initial mode for the menu region.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {string}                    [attributes.url]                Unused. @todo Consider removal.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       EditImage;
-
-EditImage = wp.media.controller.State.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+EditImage = wp.media.controller.State.extend(/** @lends wp.media.controller.EditImage.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:      'edit-image',
</span><span class="cx" style="display: block; padding: 0 10px">                title:   l10n.editImage,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -503,11 +513,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = EditImage;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],6:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       $ = Backbone.$,
+       Embed;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.Embed
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for embedding media from a URL.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -524,11 +540,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {string} [attributes.url]                   The embed URL.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {object} [attributes.metadata={}]           Properties of the embed, which will override attributes.url if set.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       $ = Backbone.$,
-       Embed;
-
-Embed = wp.media.controller.State.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Embed = wp.media.controller.State.extend(/** @lends wp.media.controller.Embed.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:       'embed',
</span><span class="cx" style="display: block; padding: 0 10px">                title:    l10n.insertFromUrlTitle,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -639,11 +651,18 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Embed;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],7:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Attachment = wp.media.model.Attachment,
+       Library = wp.media.controller.Library,
+       l10n = wp.media.view.l10n,
+       FeaturedImage;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.FeaturedImage
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for selecting a featured image for a post.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.Library
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -670,12 +689,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {boolean}                    [attributes.contentUserSetting=true]  Whether the content region's mode should be set and persisted per user.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {boolean}                    [attributes.syncSelection=true]       Whether the Attachments selection should be persisted from the last state.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Attachment = wp.media.model.Attachment,
-       Library = wp.media.controller.Library,
-       l10n = wp.media.view.l10n,
-       FeaturedImage;
-
-FeaturedImage = Library.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+FeaturedImage = Library.extend(/** @lends wp.media.controller.FeaturedImage.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: _.defaults({
</span><span class="cx" style="display: block; padding: 0 10px">                id:            'featured-image',
</span><span class="cx" style="display: block; padding: 0 10px">                title:         l10n.setFeaturedImageTitle,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -761,11 +775,18 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = FeaturedImage;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],8:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Selection = wp.media.model.Selection,
+       Library = wp.media.controller.Library,
+       l10n = wp.media.view.l10n,
+       GalleryAdd;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.GalleryAdd
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for selecting more images to add to a gallery.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.Library
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -792,12 +813,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {boolean}                    [attributes.syncSelection=false]     Whether the Attachments selection should be persisted from the last state.
</span><span class="cx" style="display: block; padding: 0 10px">  *                                                                          Defaults to false because for this state, because the library of the Edit Gallery state is the selection.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Selection = wp.media.model.Selection,
-       Library = wp.media.controller.Library,
-       l10n = wp.media.view.l10n,
-       GalleryAdd;
-
-GalleryAdd = Library.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+GalleryAdd = Library.extend(/** @lends wp.media.controller.GalleryAdd.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: _.defaults({
</span><span class="cx" style="display: block; padding: 0 10px">                id:            'gallery-library',
</span><span class="cx" style="display: block; padding: 0 10px">                title:         l10n.addToGalleryTitle,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -852,11 +868,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = GalleryAdd;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],9:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Library = wp.media.controller.Library,
+       l10n = wp.media.view.l10n,
+       GalleryEdit;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.GalleryEdit
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for editing a gallery's images and settings.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.Library
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -884,11 +906,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {view}                       [attributes.AttachmentView]        The single `Attachment` view to be used in the `Attachments`.
</span><span class="cx" style="display: block; padding: 0 10px">  *                                                                        If none supplied, defaults to wp.media.view.Attachment.EditLibrary.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Library = wp.media.controller.Library,
-       l10n = wp.media.view.l10n,
-       GalleryEdit;
-
-GalleryEdit = Library.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+GalleryEdit = Library.extend(/** @lends wp.media.controller.GalleryEdit.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:               'gallery-edit',
</span><span class="cx" style="display: block; padding: 0 10px">                title:            l10n.editGalleryTitle,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -994,12 +1012,19 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = GalleryEdit;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],10:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var State = wp.media.controller.State,
+       Library = wp.media.controller.Library,
+       l10n = wp.media.view.l10n,
+       ImageDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.ImageDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for editing the attachment display settings of an image that's been
</span><span class="cx" style="display: block; padding: 0 10px">  * inserted into the editor.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1018,12 +1043,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @todo This state inherits some defaults from media.controller.Library.prototype.defaults,
</span><span class="cx" style="display: block; padding: 0 10px">  *       however this may not do anything.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var State = wp.media.controller.State,
-       Library = wp.media.controller.Library,
-       l10n = wp.media.view.l10n,
-       ImageDetails;
-
-ImageDetails = State.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ImageDetails = State.extend(/** @lends wp.media.controller.ImageDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: _.defaults({
</span><span class="cx" style="display: block; padding: 0 10px">                id:       'image-details',
</span><span class="cx" style="display: block; padding: 0 10px">                title:    l10n.imageDetailsTitle,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1056,11 +1076,18 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = ImageDetails;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],11:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       getUserSetting = window.getUserSetting,
+       setUserSetting = window.setUserSetting,
+       Library;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.Library
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for choosing an attachment or group of attachments from the media library.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1090,12 +1117,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {boolean}                         [attributes.contentUserSetting=true] Whether the content region's mode should be set and persisted per user.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {boolean}                         [attributes.syncSelection=true]      Whether the Attachments selection should be persisted from the last state.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       getUserSetting = window.getUserSetting,
-       setUserSetting = window.setUserSetting,
-       Library;
-
-Library = wp.media.controller.State.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Library = wp.media.controller.State.extend(/** @lends wp.media.controller.Library.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:                 'library',
</span><span class="cx" style="display: block; padding: 0 10px">                title:              l10n.mediaLibraryTitle,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1352,6 +1374,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.MediaLibrary
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.Library
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1360,7 +1384,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> var Library = wp.media.controller.Library,
</span><span class="cx" style="display: block; padding: 0 10px">        MediaLibrary;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-MediaLibrary = Library.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+MediaLibrary = Library.extend(/** @lends wp.media.controller.MediaLibrary.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: _.defaults({
</span><span class="cx" style="display: block; padding: 0 10px">                // Attachments browser defaults. @see media.view.AttachmentsBrowser
</span><span class="cx" style="display: block; padding: 0 10px">                filterable:      'uploaded',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1412,6 +1436,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * 'browse' mode t be activated on the 'content' view and then fills the region
</span><span class="cx" style="display: block; padding: 0 10px">  * with an AttachmentsBrowser view.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {object}        options          Options hash for the region.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1426,7 +1452,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Use Backbone's self-propagating `extend` inheritance method.
</span><span class="cx" style="display: block; padding: 0 10px"> Region.extend = Backbone.Model.extend;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-_.extend( Region.prototype, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+_.extend( Region.prototype,/** @lends wp.media.controller.Region.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Activate a mode.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1434,10 +1460,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {string} mode
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @fires this.view#{this.id}:activate:{this._mode}
-        * @fires this.view#{this.id}:activate
-        * @fires this.view#{this.id}:deactivate:{this._mode}
-        * @fires this.view#{this.id}:deactivate
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @fires Region#activate
+        * @fires Region#deactivate
</ins><span class="cx" style="display: block; padding: 0 10px">          *
</span><span class="cx" style="display: block; padding: 0 10px">         * @returns {wp.media.controller.Region} Returns itself to allow chaining.
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1453,8 +1477,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Region mode deactivation event.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @event this.view#{this.id}:deactivate:{this._mode}
-                * @event this.view#{this.id}:deactivate
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+          * @event wp.media.controller.Region#deactivate
</ins><span class="cx" style="display: block; padding: 0 10px">                  */
</span><span class="cx" style="display: block; padding: 0 10px">                this.trigger('deactivate');
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1464,8 +1487,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Region mode activation event.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @event this.view#{this.id}:activate:{this._mode}
-                * @event this.view#{this.id}:activate
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+          * @event wp.media.controller.Region#activate
</ins><span class="cx" style="display: block; padding: 0 10px">                  */
</span><span class="cx" style="display: block; padding: 0 10px">                this.trigger('activate');
</span><span class="cx" style="display: block; padding: 0 10px">                return this;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1477,10 +1499,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {string} mode
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @fires this.view#{this.id}:create:{this._mode}
-        * @fires this.view#{this.id}:create
-        * @fires this.view#{this.id}:render:{this._mode}
-        * @fires this.view#{this.id}:render
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @fires Region#create
+        * @fires Region#render
</ins><span class="cx" style="display: block; padding: 0 10px">          *
</span><span class="cx" style="display: block; padding: 0 10px">         * @returns {wp.media.controller.Region} Returns itself to allow chaining
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1498,8 +1518,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><span class="cx" style="display: block; padding: 0 10px">                 * Region view creation takes place in an event callback on the frame.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @event this.view#{this.id}:create:{this._mode}
-                * @event this.view#{this.id}:create
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+          * @event wp.media.controller.Region#create
+                * @type {object}
+                * @property {object} view
</ins><span class="cx" style="display: block; padding: 0 10px">                  */
</span><span class="cx" style="display: block; padding: 0 10px">                this.trigger( 'create', set );
</span><span class="cx" style="display: block; padding: 0 10px">                view = set.view;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1509,8 +1530,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><span class="cx" style="display: block; padding: 0 10px">                 * Region view creation takes place in an event callback on the frame.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @event this.view#{this.id}:create:{this._mode}
-                * @event this.view#{this.id}:create
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+          * @event wp.media.controller.Region#render
+                * @type {object}
</ins><span class="cx" style="display: block; padding: 0 10px">                  */
</span><span class="cx" style="display: block; padding: 0 10px">                this.trigger( 'render', view );
</span><span class="cx" style="display: block; padding: 0 10px">                if ( view ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1578,11 +1599,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Region;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],14:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Library = wp.media.controller.Library,
+       l10n = wp.media.view.l10n,
+       ReplaceImage;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.ReplaceImage
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for replacing an image.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.Library
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1609,11 +1636,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {boolean}                    [attributes.contentUserSetting=true] Whether the content region's mode should be set and persisted per user.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {boolean}                    [attributes.syncSelection=true]      Whether the Attachments selection should be persisted from the last state.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Library = wp.media.controller.Library,
-       l10n = wp.media.view.l10n,
-       ReplaceImage;
-
-ReplaceImage = Library.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ReplaceImage = Library.extend(/** @lends wp.media.controller.ReplaceImage.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: _.defaults({
</span><span class="cx" style="display: block; padding: 0 10px">                id:            'replace-image',
</span><span class="cx" style="display: block; padding: 0 10px">                title:         l10n.replaceImageTitle,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1686,20 +1709,22 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = ReplaceImage;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],15:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Controller = wp.media.controller,
+       SiteIconCropper;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.controller.SiteIconCropper
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A state for cropping a Site Icon.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.Cropper
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Controller = wp.media.controller,
-       SiteIconCropper;
-
-SiteIconCropper = Controller.Cropper.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+SiteIconCropper = Controller.Cropper.extend(/** @lends wp.media.controller.SiteIconCropper.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         activate: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                this.frame.on( 'content:create:crop', this.createCropContent, this );
</span><span class="cx" style="display: block; padding: 0 10px">                this.frame.on( 'close', this.removeCropper, this );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1743,6 +1768,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * States are stored as models in a Backbone collection.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @since 3.5.0
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1760,7 +1787,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Use Backbone's self-propagating `extend` inheritance method.
</span><span class="cx" style="display: block; padding: 0 10px"> StateMachine.extend = Backbone.Model.extend;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-_.extend( StateMachine.prototype, Backbone.Events, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+_.extend( StateMachine.prototype, Backbone.Events,/** @lends wp.media.controller.StateMachine.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Fetch a state.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1844,8 +1871,23 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Map all event binding and triggering on a StateMachine to its `states` collection.
</span><span class="cx" style="display: block; padding: 0 10px"> _.each([ 'on', 'off', 'trigger' ], function( method ) {
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @function on
+        * @memberOf wp.media.controller.StateMachine
+        * @instance
</ins><span class="cx" style="display: block; padding: 0 10px">          * @returns {wp.media.controller.StateMachine} Returns itself to allow chaining.
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /**
+        * @function off
+        * @memberOf wp.media.controller.StateMachine
+        * @instance
+        * @returns {wp.media.controller.StateMachine} Returns itself to allow chaining.
+        */
+       /**
+        * @function trigger
+        * @memberOf wp.media.controller.StateMachine
+        * @instance
+        * @returns {wp.media.controller.StateMachine} Returns itself to allow chaining.
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         StateMachine.prototype[ method ] = function() {
</span><span class="cx" style="display: block; padding: 0 10px">                // Ensure that the `states` collection exists so the `StateMachine`
</span><span class="cx" style="display: block; padding: 0 10px">                // can be used as a mixin.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1873,10 +1915,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *     'reset'      is not triggered automatically. It should be invoked by the
</span><span class="cx" style="display: block; padding: 0 10px">  *                  proper controller to reset the state to its default.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.controller
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.Model
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var State = Backbone.Model.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var State = Backbone.Model.extend(/** @lends wp.media.controller.State.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Constructor.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2108,6 +2152,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * Allows for selecting multiple images in the Insert Media workflow, and then
</span><span class="cx" style="display: block; padding: 0 10px">  * switching to the Insert Gallery workflow while preserving the attachments selection.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @mixin
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> var selectionSync = {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2317,20 +2363,22 @@
</span><span class="cx" style="display: block; padding: 0 10px"> media.view.Spinner = require( './views/spinner.js' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{"./controllers/collection-add.js":1,"./controllers/collection-edit.js":2,"./controllers/cropper.js":3,"./controllers/customize-image-cropper.js":4,"./controllers/edit-image.js":5,"./controllers/embed.js":6,"./controllers/featured-image.js":7,"./controllers/gallery-add.js":8,"./controllers/gallery-edit.js":9,"./controllers/image-details.js":10,"./controllers/library.js":11,"./controllers/media-library.js":12,"./controllers/region.js":13,"./controllers/replace-image.js":14,"./controllers/site-icon-cropper.js":15,"./controllers/state-machine.js":16,"./controllers/state.js":17,"./utils/selection-sync.js":18,"./views/attachment-compat.js":20,"./views/attachment-filters.js":21,"./views/attachment-filters/all.js":22,&
 quot;./views/attachment-filters/date.js":23,"./views/attachment-filters/uploaded.js":24,"./views/attachment.js":25,"./views/attachment/details.js":26,"./views/attachment/edit-library.js":27,"./views/attachment/edit-selection.js":28,"./views/attachment/library.js":29,"./views/attachment/selection.js":30,"./views/attachments.js":31,"./views/attachments/browser.js":32,"./views/attachments/selection.js":33,"./views/button-group.js":34,"./views/button.js":35,"./views/cropper.js":36,"./views/edit-image.js":37,"./views/embed.js":38,"./views/embed/image.js":39,"./views/embed/link.js":40,"./views/embed/url.js":41,"./views/focus-manager.js":42,"./views/frame.js":43,"./views/frame/image-details.js":44,"./views/frame/post.js":45,"./views/frame/select.js":46,"
 ./views/iframe.js":47,"./views/image-details.js":48,"./views/label.js":49,"./views/media-frame.js":50,"./views/menu-item.js":51,"./views/menu.js":52,"./views/modal.js":53,"./views/priority-list.js":54,"./views/router-item.js":55,"./views/router.js":56,"./views/search.js":57,"./views/selection.js":58,"./views/settings.js":59,"./views/settings/attachment-display.js":60,"./views/settings/gallery.js":61,"./views/settings/playlist.js":62,"./views/sidebar.js":63,"./views/site-icon-cropper.js":64,"./views/site-icon-preview.js":65,"./views/spinner.js":66,"./views/toolbar.js":67,"./views/toolbar/embed.js":68,"./views/toolbar/select.js":69,"./views/uploader/editor.js":70,"./views/uploader/inline.js":71,"./views/uploader/status-error.js":72,&q
 uot;./views/uploader/status.js":73,"./views/uploader/window.js":74,"./views/view.js":75}],20:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       AttachmentCompat;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.AttachmentCompat
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A view to display fields added via the `attachment_fields_to_edit` filter.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       AttachmentCompat;
-
-AttachmentCompat = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+AttachmentCompat = View.extend(/** @lends wp.media.view.AttachmentCompat.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'form',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'compat-item',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2402,18 +2450,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = AttachmentCompat;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],21:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var $ = jQuery,
+       AttachmentFilters;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.AttachmentFilters
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var $ = jQuery,
-       AttachmentFilters;
-
-AttachmentFilters = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+AttachmentFilters = wp.media.View.extend(/** @lends wp.media.view.AttachmentFilters.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'select',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'attachment-filters',
</span><span class="cx" style="display: block; padding: 0 10px">        id:        'media-attachment-filters',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2479,19 +2529,21 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = AttachmentFilters;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],22:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       All;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.AttachmentFilters.All
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.AttachmentFilters
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.AttachmentFilters
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       All;
-
-All = wp.media.view.AttachmentFilters.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+All = wp.media.view.AttachmentFilters.extend(/** @lends wp.media.view.AttachmentFilters.All.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         createFilters: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                var filters = {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2569,19 +2621,21 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = All;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],23:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       DateFilter;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * A filter dropdown for month/dates.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.AttachmentFilters
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.AttachmentFilters
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       DateFilter;
-
-DateFilter = wp.media.view.AttachmentFilters.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+DateFilter = wp.media.view.AttachmentFilters.extend(/** @lends wp.media.view.AttachmentFilters.Date.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         id: 'media-attachment-date-filters',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        createFilters: function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2610,19 +2664,21 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = DateFilter;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],24:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       Uploaded;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.AttachmentFilters.Uploaded
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.AttachmentFilters
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.AttachmentFilters
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       Uploaded;
-
-Uploaded = wp.media.view.AttachmentFilters.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Uploaded = wp.media.view.AttachmentFilters.extend(/** @lends wp.media.view.AttachmentFilters.Uploaded.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         createFilters: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                var type = this.model.get('type'),
</span><span class="cx" style="display: block; padding: 0 10px">                        types = wp.media.view.settings.mimeTypes,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2669,19 +2725,21 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Uploaded;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],25:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       $ = jQuery,
+       Attachment;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Attachment
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       $ = jQuery,
-       Attachment;
-
-Attachment = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Attachment = View.extend(/** @lends wp.media.view.Attachment.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'li',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'attachment',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('attachment'),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3189,10 +3247,41 @@
</span><span class="cx" style="display: block; padding: 0 10px">        album:   '_syncAlbum'
</span><span class="cx" style="display: block; padding: 0 10px"> }, function( method, setting ) {
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @function _syncCaption
+        * @memberOf wp.media.view.Attachment
+        * @instance
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @param {Backbone.Model} model
</span><span class="cx" style="display: block; padding: 0 10px">         * @param {string} value
</span><span class="cx" style="display: block; padding: 0 10px">         * @returns {wp.media.view.Attachment} Returns itself to allow chaining
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /**
+        * @function _syncTitle
+        * @memberOf wp.media.view.Attachment
+        * @instance
+        *
+        * @param {Backbone.Model} model
+        * @param {string} value
+        * @returns {wp.media.view.Attachment} Returns itself to allow chaining
+        */
+       /**
+        * @function _syncArtist
+        * @memberOf wp.media.view.Attachment
+        * @instance
+        *
+        * @param {Backbone.Model} model
+        * @param {string} value
+        * @returns {wp.media.view.Attachment} Returns itself to allow chaining
+        */
+       /**
+        * @function _syncAlbum
+        * @memberOf wp.media.view.Attachment
+        * @instance
+        *
+        * @param {Backbone.Model} model
+        * @param {string} value
+        * @returns {wp.media.view.Attachment} Returns itself to allow chaining
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         Attachment.prototype[ method ] = function( model, value ) {
</span><span class="cx" style="display: block; padding: 0 10px">                var $setting = this.$('[data-setting="' + setting + '"]');
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3215,20 +3304,22 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Attachment;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],26:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Attachment = wp.media.view.Attachment,
+       l10n = wp.media.view.l10n,
+       Details;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Attachment.Details
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Attachment
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachment
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Attachment = wp.media.view.Attachment,
-       l10n = wp.media.view.l10n,
-       Details;
-
-Details = Attachment.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Details = Attachment.extend(/** @lends wp.media.view.Attachment.Details.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'attachment-details',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('attachment-details'),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3356,13 +3447,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Attachment.EditLibrary
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Attachment
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachment
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var EditLibrary = wp.media.view.Attachment.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var EditLibrary = wp.media.view.Attachment.extend(/** @lends wp.media.view.Attachment.EditLibrary.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         buttons: {
</span><span class="cx" style="display: block; padding: 0 10px">                close: true
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3372,8 +3465,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],28:[function(require,module,exports){
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * wp.media.view.Attachments.EditSelection
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * wp.media.view.Attachment.EditSelection
</ins><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Attachment
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachment.Selection
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachment
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3381,7 +3476,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var EditSelection = wp.media.view.Attachment.Selection.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var EditSelection = wp.media.view.Attachment.Selection.extend(/** @lends wp.media.view.Attachment.EditSelection.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         buttons: {
</span><span class="cx" style="display: block; padding: 0 10px">                close: true
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3393,13 +3488,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Attachment.Library
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Attachment
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachment
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Library = wp.media.view.Attachment.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Library = wp.media.view.Attachment.extend(/** @lends wp.media.view.Attachment.Library.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         buttons: {
</span><span class="cx" style="display: block; padding: 0 10px">                check: true
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3411,13 +3508,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Attachment.Selection
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Attachment
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachment
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Selection = wp.media.view.Attachment.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Selection = wp.media.view.Attachment.extend(/** @lends wp.media.view.Attachment.Selection.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'attachment selection',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        // On click, just select the model, instead of removing the model from
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3430,19 +3529,21 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Selection;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],31:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       $ = jQuery,
+       Attachments;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Attachments
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       $ = jQuery,
-       Attachments;
-
-Attachments = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Attachments = View.extend(/** @lends wp.media.view.Attachments.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'ul',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'attachments',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3729,9 +3830,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Attachments;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],32:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       mediaTrash = wp.media.view.settings.mediaTrash,
+       l10n = wp.media.view.l10n,
+       $ = jQuery,
+       AttachmentsBrowser;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.AttachmentsBrowser
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3749,13 +3858,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {boolean|string} [options.sidebar=true]  Whether to create a sidebar for the browser.
</span><span class="cx" style="display: block; padding: 0 10px">  *                                                 Accepts true, false, and 'errors'.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       mediaTrash = wp.media.view.settings.mediaTrash,
-       l10n = wp.media.view.l10n,
-       $ = jQuery,
-       AttachmentsBrowser;
-
-AttachmentsBrowser = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+AttachmentsBrowser = View.extend(/** @lends wp.media.view.AttachmentsBrowser.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'attachments-browser',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4205,19 +4308,21 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = AttachmentsBrowser;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],33:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Attachments = wp.media.view.Attachments,
+       Selection;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Attachments.Selection
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Attachments
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Attachments
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Attachments = wp.media.view.Attachments,
-       Selection;
-
-Selection = Attachments.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Selection = Attachments.extend(/** @lends wp.media.view.Attachments.Selection.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         events: {},
</span><span class="cx" style="display: block; padding: 0 10px">        initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                _.defaults( this.options, {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4235,18 +4340,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Selection;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],34:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var $ = Backbone.$,
+       ButtonGroup;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.ButtonGroup
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var $ = Backbone.$,
-       ButtonGroup;
-
-ButtonGroup = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ButtonGroup = wp.media.View.extend(/** @lends wp.media.view.ButtonGroup.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'button-group button-large media-button-group',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4284,12 +4391,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Button
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Button = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Button = wp.media.View.extend(/** @lends wp.media.view.Button.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:    'button',
</span><span class="cx" style="display: block; padding: 0 10px">        className:  'media-button',
</span><span class="cx" style="display: block; padding: 0 10px">        attributes: { type: 'button' },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4367,6 +4476,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Button;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],36:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       UploaderStatus = wp.media.view.UploaderStatus,
+       l10n = wp.media.view.l10n,
+       $ = jQuery,
+       Cropper;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Cropper
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4376,18 +4491,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.customize.HeaderControl.calculateImageSelectOptions via
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.customize.HeaderControl.openMM.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       UploaderStatus = wp.media.view.UploaderStatus,
-       l10n = wp.media.view.l10n,
-       $ = jQuery,
-       Cropper;
-
-Cropper = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Cropper = View.extend(/** @lends wp.media.view.Cropper.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'crop-content',
</span><span class="cx" style="display: block; padding: 0 10px">        template: wp.template('crop-content'),
</span><span class="cx" style="display: block; padding: 0 10px">        initialize: function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4434,18 +4545,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Cropper;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],37:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       EditImage;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.EditImage
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       EditImage;
-
-EditImage = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+EditImage = View.extend(/** @lends wp.media.view.EditImage.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'image-editor',
</span><span class="cx" style="display: block; padding: 0 10px">        template: wp.template('image-editor'),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4493,12 +4606,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Embed
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Embed = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Embed = wp.media.View.extend(/** @lends wp.media.view.Ember.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'media-embed',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        initialize: function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4554,9 +4669,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Embed;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],39:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
+       EmbedImage;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.EmbedImage
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings.AttachmentDisplay
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4564,10 +4684,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
-       EmbedImage;
-
-EmbedImage = AttachmentDisplay.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+EmbedImage = AttachmentDisplay.extend(/** @lends wp.media.view.EmbedImage.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'embed-media-settings',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('embed-image-settings'),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4587,19 +4704,21 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = EmbedImage;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],40:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var $ = jQuery,
+       EmbedLink;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.EmbedLink
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var $ = jQuery,
-       EmbedLink;
-
-EmbedLink = wp.media.view.Settings.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+EmbedLink = wp.media.view.Settings.extend(/** @lends wp.media.view.EmbedLink.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'embed-link-settings',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('embed-link-settings'),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4684,19 +4803,21 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = EmbedLink;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],41:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       $ = jQuery,
+       EmbedUrl;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.EmbedUrl
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       $ = jQuery,
-       EmbedUrl;
-
-EmbedUrl = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+EmbedUrl = View.extend(/** @lends wp.media.view.EmbedUrl.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'label',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'embed-url',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4766,12 +4887,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.FocusManager
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var FocusManager = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var FocusManager = wp.media.View.extend(/** @lends wp.media.view.FocusManager.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        events: {
</span><span class="cx" style="display: block; padding: 0 10px">                'keydown': 'constrainTabbing'
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4815,6 +4938,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * A frame is a composite view consisting of one or more regions and one or more
</span><span class="cx" style="display: block; padding: 0 10px">  * states.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @see wp.media.controller.State
</span><span class="cx" style="display: block; padding: 0 10px">  * @see wp.media.controller.Region
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4824,7 +4949,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Frame = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Frame = wp.media.View.extend(/** @lends wp.media.view.Frame.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                _.defaults( this.options, {
</span><span class="cx" style="display: block; padding: 0 10px">                        mode: [ 'select' ]
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4952,7 +5077,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Frame mode deactivation event.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @event this#{mode}:deactivate
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+          * @event wp.media.view.Frame#{mode}:deactivate
</ins><span class="cx" style="display: block; padding: 0 10px">                  */
</span><span class="cx" style="display: block; padding: 0 10px">                this.trigger( mode + ':deactivate' );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4975,12 +5100,18 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Frame;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],44:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Select = wp.media.view.MediaFrame.Select,
+       l10n = wp.media.view.l10n,
+       ImageDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame.ImageDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A media frame for manipulating an image that's already been inserted
</span><span class="cx" style="display: block; padding: 0 10px">  * into a post.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame.Select
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4990,11 +5121,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Select = wp.media.view.MediaFrame.Select,
-       l10n = wp.media.view.l10n,
-       ImageDetails;
-
-ImageDetails = Select.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ImageDetails = Select.extend(/** @lends wp.media.view.MediaFrame.ImageDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                id:      'image',
</span><span class="cx" style="display: block; padding: 0 10px">                url:     '',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5153,11 +5280,18 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = ImageDetails;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],45:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Select = wp.media.view.MediaFrame.Select,
+       Library = wp.media.controller.Library,
+       l10n = wp.media.view.l10n,
+       Post;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame.Post
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * The frame for manipulating media on the Edit Post page.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame.Select
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5167,12 +5301,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Select = wp.media.view.MediaFrame.Select,
-       Library = wp.media.controller.Library,
-       l10n = wp.media.view.l10n,
-       Post;
-
-Post = Select.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Post = Select.extend(/** @lends wp.media.view.MediaFrame.Post.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                this.counts = {
</span><span class="cx" style="display: block; padding: 0 10px">                        audio: {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5598,6 +5727,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        requires: { selection: true },
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         * @callback
</ins><span class="cx" style="display: block; padding: 0 10px">                          * @fires wp.media.controller.State#insert
</span><span class="cx" style="display: block; padding: 0 10px">                         */
</span><span class="cx" style="display: block; padding: 0 10px">                        click: function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5888,11 +6018,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Post;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],46:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var MediaFrame = wp.media.view.MediaFrame,
+       l10n = wp.media.view.l10n,
+       Select;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame.Select
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A frame for selecting an item or items from the media library.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.MediaFrame
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MediaFrame
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Frame
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5901,12 +6037,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
-var MediaFrame = wp.media.view.MediaFrame,
-       l10n = wp.media.view.l10n,
-       Select;
-
-Select = MediaFrame.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Select = MediaFrame.extend(/** @lends wp.media.view.MediaFrame.Select.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                // Call 'initialize' directly on the parent class.
</span><span class="cx" style="display: block; padding: 0 10px">                MediaFrame.prototype.initialize.apply( this, arguments );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6062,12 +6193,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Iframe
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Iframe = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Iframe = wp.media.View.extend(/** @lends wp.media.view.Iframe.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'media-iframe',
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * @returns {wp.media.view.Iframe} Returns itself to allow chaining
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6083,9 +6216,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Iframe;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],48:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
+       $ = jQuery,
+       ImageDetails;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.ImageDetails
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings.AttachmentDisplay
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6093,11 +6232,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
-       $ = jQuery,
-       ImageDetails;
-
-ImageDetails = AttachmentDisplay.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ImageDetails = AttachmentDisplay.extend(/** @lends wp.media.view.ImageDetails.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'image-details',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('image-details'),
</span><span class="cx" style="display: block; padding: 0 10px">        events: _.defaults( AttachmentDisplay.prototype.events, {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6254,12 +6389,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Label
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Label = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Label = wp.media.View.extend(/** @lends wp.media.view.Label.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName: 'label',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'screen-reader-text',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6277,11 +6414,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Label;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],50:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Frame = wp.media.view.Frame,
+       $ = jQuery,
+       MediaFrame;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MediaFrame
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * The frame used to create the media modal.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Frame
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6289,11 +6432,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @mixes wp.media.controller.StateMachine
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Frame = wp.media.view.Frame,
-       $ = jQuery,
-       MediaFrame;
-
-MediaFrame = Frame.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+MediaFrame = Frame.extend(/** @lends wp.media.view.MediaFrame.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'media-frame',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('media-frame'),
</span><span class="cx" style="display: block; padding: 0 10px">        regions:   ['menu','title','content','toolbar','router'],
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6303,7 +6442,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        },
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @global wp.Uploader
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @constructs
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                Frame.prototype.initialize.apply( this, arguments );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6511,8 +6650,40 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Map some of the modal's methods to the frame.
</span><span class="cx" style="display: block; padding: 0 10px"> _.each(['open','close','attach','detach','escape'], function( method ) {
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @function open
+        * @memberOf wp.media.view.MediaFrame
+        * @instance
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @returns {wp.media.view.MediaFrame} Returns itself to allow chaining
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /**
+        * @function close
+        * @memberOf wp.media.view.MediaFrame
+        * @instance
+        *
+        * @returns {wp.media.view.MediaFrame} Returns itself to allow chaining
+        */
+       /**
+        * @function attach
+        * @memberOf wp.media.view.MediaFrame
+        * @instance
+        *
+        * @returns {wp.media.view.MediaFrame} Returns itself to allow chaining
+        */
+       /**
+        * @function detach
+        * @memberOf wp.media.view.MediaFrame
+        * @instance
+        *
+        * @returns {wp.media.view.MediaFrame} Returns itself to allow chaining
+        */
+       /**
+        * @function escape
+        * @memberOf wp.media.view.MediaFrame
+        * @instance
+        *
+        * @returns {wp.media.view.MediaFrame} Returns itself to allow chaining
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         MediaFrame.prototype[ method ] = function() {
</span><span class="cx" style="display: block; padding: 0 10px">                if ( this.modal ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        this.modal[ method ].apply( this.modal, arguments );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6524,18 +6695,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = MediaFrame;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],51:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var $ = jQuery,
+       MenuItem;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.MenuItem
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var $ = jQuery,
-       MenuItem;
-
-MenuItem = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+MenuItem = wp.media.View.extend(/** @lends wp.media.view.MenuItem.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'a',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'media-menu-item',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6596,20 +6769,22 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = MenuItem;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],52:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var MenuItem = wp.media.view.MenuItem,
+       PriorityList = wp.media.view.PriorityList,
+       Menu;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Menu
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.PriorityList
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var MenuItem = wp.media.view.MenuItem,
-       PriorityList = wp.media.view.PriorityList,
-       Menu;
-
-Menu = PriorityList.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Menu = PriorityList.extend(/** @lends wp.media.view.Menu.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'media-menu',
</span><span class="cx" style="display: block; padding: 0 10px">        property:  'state',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6713,20 +6888,22 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Menu;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],53:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var $ = jQuery,
+       Modal;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Modal
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A modal view, which the media modal uses as its default container.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var $ = jQuery,
-       Modal;
-
-Modal = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Modal = wp.media.View.extend(/** @lends wp.media.view.Modal.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:  'div',
</span><span class="cx" style="display: block; padding: 0 10px">        template: wp.template('media-modal'),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6937,12 +7114,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.PriorityList
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var PriorityList = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var PriorityList = wp.media.View.extend(/** @lends wp.media.view.PriorityList.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        initialize: function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7034,13 +7213,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.RouterItem
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.MenuItem
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var RouterItem = wp.media.view.MenuItem.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var RouterItem = wp.media.view.MenuItem.extend(/** @lends wp.media.view.RouterItem.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * On click handler to activate the content region's corresponding mode.
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7055,9 +7236,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = RouterItem;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],56:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Menu = wp.media.view.Menu,
+       Router;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Router
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Menu
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.PriorityList
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7065,10 +7251,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Menu = wp.media.view.Menu,
-       Router;
-
-Router = Menu.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Router = Menu.extend(/** @lends wp.media.view.Router.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'media-router',
</span><span class="cx" style="display: block; padding: 0 10px">        property:  'contentMode',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7092,18 +7275,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Router;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],57:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       Search;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Search
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       Search;
-
-Search = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Search = wp.media.View.extend(/** @lends wp.media.view.Search.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'input',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'search',
</span><span class="cx" style="display: block; padding: 0 10px">        id:        'media-search-input',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7138,18 +7323,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Search;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],58:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var l10n = wp.media.view.l10n,
+       Selection;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Selection
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var l10n = wp.media.view.l10n,
-       Selection;
-
-Selection = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Selection = wp.media.View.extend(/** @lends wp.media.view.Selection.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'media-selection',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('media-selection'),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7221,19 +7408,21 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Selection;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],59:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       $ = Backbone.$,
+       Settings;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Settings
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       $ = Backbone.$,
-       Settings;
-
-Settings = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Settings = View.extend(/** @lends wp.media.view.Settings.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         events: {
</span><span class="cx" style="display: block; padding: 0 10px">                'click button':    'updateHandler',
</span><span class="cx" style="display: block; padding: 0 10px">                'change input':    'updateHandler',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7342,19 +7531,21 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Settings;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],60:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Settings = wp.media.view.Settings,
+       AttachmentDisplay;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Settings.AttachmentDisplay
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Settings
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Settings = wp.media.view.Settings,
-       AttachmentDisplay;
-
-AttachmentDisplay = Settings.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+AttachmentDisplay = Settings.extend(/** @lends wp.media.view.Settings.AttachmentDisplay.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'attachment-display-settings',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('attachment-display-settings'),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7439,13 +7630,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Settings.Gallery
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Settings
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Gallery = wp.media.view.Settings.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Gallery = wp.media.view.Settings.extend(/** @lends wp.media.view.Settings.Gallery.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'collection-settings gallery-settings',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('gallery-settings')
</span><span class="cx" style="display: block; padding: 0 10px"> });
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7456,13 +7649,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Settings.Playlist
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Settings
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Settings
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Playlist = wp.media.view.Settings.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Playlist = wp.media.view.Settings.extend(/** @lends wp.media.view.Settings.Playlist.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'collection-settings playlist-settings',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('playlist-settings')
</span><span class="cx" style="display: block; padding: 0 10px"> });
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7473,19 +7668,24 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Sidebar
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.PriorityList
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Sidebar = wp.media.view.PriorityList.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Sidebar = wp.media.view.PriorityList.extend(/** @lends wp.media.view.Sidebar.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'media-sidebar'
</span><span class="cx" style="display: block; padding: 0 10px"> });
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Sidebar;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],64:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.view,
+       SiteIconCropper;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.SiteIconCropper
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7494,16 +7694,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * Takes imgAreaSelect options from
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.customize.SiteIconControl.calculateImageSelectOptions.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Cropper
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.view,
-       SiteIconCropper;
-
-SiteIconCropper = View.Cropper.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+SiteIconCropper = View.Cropper.extend(/** @lends wp.media.view.SiteIconCropper.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'crop-content site-icon',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        ready: function () {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7529,21 +7728,23 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = SiteIconCropper;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],65:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       $ = jQuery,
+       SiteIconPreview;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.SiteIconPreview
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * Shows a preview of the Site Icon as a favicon and app icon while cropping.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       $ = jQuery,
-       SiteIconPreview;
-
-SiteIconPreview = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+SiteIconPreview = View.extend(/** @lends wp.media.view.SiteIconPreview.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'site-icon-preview',
</span><span class="cx" style="display: block; padding: 0 10px">        template: wp.template( 'site-icon-preview' ),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7588,12 +7789,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Spinner
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Spinner = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Spinner = wp.media.View.extend(/** @lends wp.media.view.Spinner.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'span',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'spinner',
</span><span class="cx" style="display: block; padding: 0 10px">        spinnerTimeout: false,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7620,21 +7823,23 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Spinner;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],67:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       Toolbar;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Toolbar
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * A toolbar which consists of a primary and a secondary section. Each sections
</span><span class="cx" style="display: block; padding: 0 10px">  * can be filled with views.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       Toolbar;
-
-Toolbar = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Toolbar = View.extend(/** @lends wp.media.view.Toolbar.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'media-toolbar',
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7782,9 +7987,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Toolbar;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],68:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Select = wp.media.view.Toolbar.Select,
+       l10n = wp.media.view.l10n,
+       Embed;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Toolbar.Embed
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Toolbar
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Toolbar.Select
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Toolbar
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7792,11 +8003,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Select = wp.media.view.Toolbar.Select,
-       l10n = wp.media.view.l10n,
-       Embed;
-
-Embed = Select.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Embed = Select.extend(/** @lends wp.media.view.Toolbar.Embed.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                _.defaults( this.options, {
</span><span class="cx" style="display: block; padding: 0 10px">                        text: l10n.insertIntoPost,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7819,20 +8026,22 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Embed;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],69:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var Toolbar = wp.media.view.Toolbar,
+       l10n = wp.media.view.l10n,
+       Select;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.Toolbar.Select
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view.Toolbar
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.view.Toolbar
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var Toolbar = wp.media.view.Toolbar,
-       l10n = wp.media.view.l10n,
-       Select;
-
-Select = Toolbar.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Select = Toolbar.extend(/** @lends wp.media.view.Toolbar.Select.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         initialize: function() {
</span><span class="cx" style="display: block; padding: 0 10px">                var options = this.options;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7889,23 +8098,25 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = Select;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],70:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       l10n = wp.media.view.l10n,
+       $ = jQuery,
+       EditorUploader;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * Creates a dropzone on WP editor instances (elements with .wp-editor-wrap)
</span><span class="cx" style="display: block; padding: 0 10px">  * and relays drag'n'dropped files to a media workflow.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.EditorUploader
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       l10n = wp.media.view.l10n,
-       $ = jQuery,
-       EditorUploader;
-
-EditorUploader = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+EditorUploader = View.extend(/** @lends wp.media.view.EditorUploader.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'uploader-editor',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template( 'uploader-editor' ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8114,20 +8325,22 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = EditorUploader;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],71:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       UploaderInline;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.UploaderInline
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * The inline uploader that shows up in the 'Upload Files' tab.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       UploaderInline;
-
-UploaderInline = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+UploaderInline = View.extend(/** @lends wp.media.view.UploaderInline.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'uploader-inline',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('uploader-inline'),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8257,12 +8470,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.UploaderStatusError
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var UploaderStatusError = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var UploaderStatusError = wp.media.View.extend(/** @lends wp.media.view.UploaderStatusError.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'upload-error',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('uploader-status-error')
</span><span class="cx" style="display: block; padding: 0 10px"> });
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8270,20 +8485,22 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = UploaderStatusError;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],73:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.media.View,
+       UploaderStatus;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.UploaderStatus
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * An uploader status for on-going uploads.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.media.View,
-       UploaderStatus;
-
-UploaderStatus = View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+UploaderStatus = View.extend(/** @lends wp.media.view.UploaderStatus.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         className: 'media-uploader-status',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('uploader-status'),
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8303,7 +8520,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                this.errors.on( 'add', this.error, this );
</span><span class="cx" style="display: block; padding: 0 10px">        },
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @global wp.Uploader
</del><span class="cx" style="display: block; padding: 0 10px">          * @returns {wp.media.view.UploaderStatus}
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="cx" style="display: block; padding: 0 10px">        dispose: function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8389,8 +8605,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">        },
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @global wp.Uploader
-        *
</del><span class="cx" style="display: block; padding: 0 10px">          * @param {Object} event
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="cx" style="display: block; padding: 0 10px">        dismiss: function( event ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8408,11 +8622,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> module.exports = UploaderStatus;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> },{}],74:[function(require,module,exports){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var $ = jQuery,
+       UploaderWindow;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * wp.media.view.UploaderWindow
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * An uploader window that allows for dragging and dropping media.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media.view
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.media.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8424,10 +8643,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {jQuery} [options.uploader.dropzone] jQuery collection of the dropzone.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param {object} [options.uploader.params]
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var $ = jQuery,
-       UploaderWindow;
-
-UploaderWindow = wp.media.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+UploaderWindow = wp.media.View.extend(/** @lends wp.media.view.UploaderWindow.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         tagName:   'div',
</span><span class="cx" style="display: block; padding: 0 10px">        className: 'uploader-window',
</span><span class="cx" style="display: block; padding: 0 10px">        template:  wp.template('uploader-window'),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8531,11 +8747,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * This behavior has since been removed, and should not be used
</span><span class="cx" style="display: block; padding: 0 10px">  * outside of the media manager.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @memberOf wp.media
+ *
</ins><span class="cx" style="display: block; padding: 0 10px">  * @class
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments wp.Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  * @augments Backbone.View
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var View = wp.Backbone.View.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var View = wp.Backbone.View.extend(/** @lends wp.media.View.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">         constructor: function( options ) {
</span><span class="cx" style="display: block; padding: 0 10px">                if ( options && options.controller ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        this.controller = options.controller;
</span></span></pre></div>
<a id="trunksrcwpincludesjspluploadwppluploadjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/plupload/wp-plupload.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/plupload/wp-plupload.js  2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/plupload/wp-plupload.js    2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -198,7 +198,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * After files were filtered and added to the queue, create a model for each.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                 * @event FilesAdded
</del><span class="cx" style="display: block; padding: 0 10px">                  * @param {plupload.Uploader} uploader Uploader instance.
</span><span class="cx" style="display: block; padding: 0 10px">                 * @param {Array}             files    Array of file objects that were added to queue by the user.
</span><span class="cx" style="display: block; padding: 0 10px">                 */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -340,7 +339,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span><span class="cx" style="display: block; padding: 0 10px">        };
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $.extend( Uploader.prototype, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $.extend( Uploader.prototype, /** @lends wp.Uploader.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">                 /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Acts as a shortcut to extending the uploader's multipart_params object.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span></span></pre></div>
<a id="trunksrcwpincludesjsshortcodejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/shortcode.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/shortcode.js     2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/shortcode.js       2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Utility functions for parsing and handling shortcodes in JavaScript.
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// Ensure the global `wp` object exists.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * Ensure the global `wp` object exists.
+ *
+ * @namespace wp
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> window.wp = window.wp || {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> (function(){
</span></span></pre></div>
<a id="trunksrcwpincludesjswpa11yjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/wp-a11y.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/wp-a11y.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/wp-a11y.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,4 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/** @namespace wp */
</ins><span class="cx" style="display: block; padding: 0 10px"> window.wp = window.wp || {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> ( function ( wp, $ ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -94,6 +95,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span><span class="cx" style="display: block; padding: 0 10px">        });
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /** @namespace wp.a11y */
</ins><span class="cx" style="display: block; padding: 0 10px">         wp.a11y = wp.a11y || {};
</span><span class="cx" style="display: block; padding: 0 10px">        wp.a11y.speak = speak;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjswpapijs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/wp-api.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/wp-api.js        2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/wp-api.js  2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,12 +6,17 @@
</span><span class="cx" style="display: block; padding: 0 10px">         * Initialise the WP_API.
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="cx" style="display: block; padding: 0 10px">        function WP_API() {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                /** @namespace wp.api.models */
</ins><span class="cx" style="display: block; padding: 0 10px">                 this.models = {};
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                /** @namespace wp.api.collections */
</ins><span class="cx" style="display: block; padding: 0 10px">                 this.collections = {};
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                /** @namespace wp.api.views */
</ins><span class="cx" style="display: block; padding: 0 10px">                 this.views = {};
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /** @namespace wp */
</ins><span class="cx" style="display: block; padding: 0 10px">         window.wp            = window.wp || {};
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /** @namespace wp.api */
</ins><span class="cx" style="display: block; padding: 0 10px">         wp.api               = wp.api || new WP_API();
</span><span class="cx" style="display: block; padding: 0 10px">        wp.api.versionString = wp.api.versionString || 'wp/v2/';
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,8 +33,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        var pad, r;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /** @namespace wp */
</ins><span class="cx" style="display: block; padding: 0 10px">         window.wp = window.wp || {};
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /** @namespace wp.api */
</ins><span class="cx" style="display: block; padding: 0 10px">         wp.api = wp.api || {};
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /** @namespace wp.api.utils */
</ins><span class="cx" style="display: block; padding: 0 10px">         wp.api.utils = wp.api.utils || {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1024,7 +1032,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        var Endpoint, initializedDeferreds = {},
</span><span class="cx" style="display: block; padding: 0 10px">                wpApiSettings = window.wpApiSettings || {};
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+       /** @namespace wp */
</ins><span class="cx" style="display: block; padding: 0 10px">         window.wp = window.wp || {};
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+       /** @namespace wp.api */
</ins><span class="cx" style="display: block; padding: 0 10px">         wp.api    = wp.api || {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        // If wpApiSettings is unavailable, try the default.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1032,7 +1044,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                wpApiSettings.root = window.location.origin + '/wp-json/';
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        Endpoint = Backbone.Model.extend( {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ Endpoint = Backbone.Model.extend(/** @lends Endpoint.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">                 defaults: {
</span><span class="cx" style="display: block; padding: 0 10px">                        apiRoot: wpApiSettings.root,
</span><span class="cx" style="display: block; padding: 0 10px">                        versionString: wp.api.versionString,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1081,6 +1093,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                         * When the server returns the schema model data, store the data in a sessionCache so we don't
</span><span class="cx" style="display: block; padding: 0 10px">                                         * have to retrieve it again for this session. Then, construct the models and collections based
</span><span class="cx" style="display: block; padding: 0 10px">                                         * on the schema model data.
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                         *
+                                        * @callback
</ins><span class="cx" style="display: block; padding: 0 10px">                                          */
</span><span class="cx" style="display: block; padding: 0 10px">                                        success: function( newSchemaModel ) {
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjswpbackbonejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/wp-backbone.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/wp-backbone.js   2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/wp-backbone.js     2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,7 +1,12 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/** @namespace wp */
</ins><span class="cx" style="display: block; padding: 0 10px"> window.wp = window.wp || {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> (function ($) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        // Create the WordPress Backbone namespace.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+        * Create the WordPress Backbone namespace.
+        *
+        * @namespace wp.Backbone
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         wp.Backbone = {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpincludesjswpcustomheaderjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/wp-custom-header.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/wp-custom-header.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/wp-custom-header.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,6 +3,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        var NativeHandler, YouTubeHandler;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /** @namespace wp */
</ins><span class="cx" style="display: block; padding: 0 10px">         window.wp = window.wp || {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        // Fail gracefully in unsupported browsers.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -32,7 +33,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Create a custom header instance.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @class CustomHeader
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @memberOf wp
+        *
+        * @class
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        function CustomHeader() {
</span><span class="cx" style="display: block; padding: 0 10px">                this.handlers = {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -91,7 +94,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Create a video handler instance.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @class BaseHandler
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @memberOf wp
+        *
+        * @class
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        function BaseHandler() {}
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -228,6 +233,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Create a custom handler.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * @memberOf wp
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @param {object} protoProps Properties to apply to the prototype.
</span><span class="cx" style="display: block; padding: 0 10px">         * @return CustomHandler The subclass.
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -252,9 +259,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Native video handler.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @class NativeHandler
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @memberOf wp
+        *
+        * @class
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        NativeHandler = BaseHandler.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ NativeHandler = BaseHandler.extend(/** @lends wp.NativeHandler.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">                 /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Whether the native handler supports a video.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -324,9 +333,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * YouTube video handler.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @class YouTubeHandler
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @memberOf wp
+        *
+        * @class wp.YouTubeHandler
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        YouTubeHandler = BaseHandler.extend({
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ YouTubeHandler = BaseHandler.extend(/** @lends wp.YouTubeHandler.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">                 /**
</span><span class="cx" style="display: block; padding: 0 10px">                 * Whether the handler supports a video.
</span><span class="cx" style="display: block; padding: 0 10px">                 *
</span></span></pre></div>
<a id="trunksrcwpincludesjswpembedjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/wp-embed.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/wp-embed.js      2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/wp-embed.js        2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,6 +19,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /** @namespace wp */
</ins><span class="cx" style="display: block; padding: 0 10px">         window.wp = window.wp || {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        if ( !! window.wp.receiveEmbedMessage ) {
</span></span></pre></div>
<a id="trunksrcwpincludesjswppointerjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/wp-pointer.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/wp-pointer.js    2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/wp-pointer.js      2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,7 +6,10 @@
</span><span class="cx" style="display: block; padding: 0 10px">        var identifier = 0,
</span><span class="cx" style="display: block; padding: 0 10px">                zindex = 9999;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $.widget('wp.pointer', {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+        * @class $.widget.wp.pointer
+        */
+       $.widget('wp.pointer',/** @lends $.widget.wp.pointer.prototype */{
</ins><span class="cx" style="display: block; padding: 0 10px">                 options: {
</span><span class="cx" style="display: block; padding: 0 10px">                        pointerClass: 'wp-pointer',
</span><span class="cx" style="display: block; padding: 0 10px">                        pointerWidth: 320,
</span></span></pre></div>
<a id="trunksrcwpincludesjswputiljs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/wp-util.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/wp-util.js       2017-09-08 18:20:22 UTC (rev 41350)
+++ trunk/src/wp-includes/js/wp-util.js 2017-09-08 18:41:20 UTC (rev 41351)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,4 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /* global _wpUtilSettings */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+/** @namespace wp */
</ins><span class="cx" style="display: block; padding: 0 10px"> window.wp = window.wp || {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> (function ($) {
</span></span></pre>
</div>
</div>

</body>
</html>