<!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>[21684] trunk/wp-includes: Compress scripts/styles: 3.5-alpha-21684.</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, #logmsg > ol { margin-left: 0; 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">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/21684">21684</a></dd>
<dt>Author</dt> <dd>bumpbot</dd>
<dt>Date</dt> <dd>2012-08-31 06:59:25 +0000 (Fri, 31 Aug 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Compress scripts/styles: 3.5-alpha-21684.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpincludescssmediaviewsmincss">trunk/wp-includes/css/media-views.min.css</a></li>
<li><a href="#trunkwpincludesjsmediamodelsminjs">trunk/wp-includes/js/media-models.min.js</a></li>
<li><a href="#trunkwpincludesjsmediaviewsminjs">trunk/wp-includes/js/media-views.min.js</a></li>
<li><a href="#trunkwpincludesversionphp">trunk/wp-includes/version.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpincludescssmediaviewsmincss"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/css/media-views.min.css (21683 => 21684)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/css/media-views.min.css        2012-08-31 04:54:23 UTC (rev 21683)
+++ trunk/wp-includes/css/media-views.min.css        2012-08-31 06:59:25 UTC (rev 21684)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+.media-modal{position:fixed;top:60px;left:60px;right:60px;bottom:60px;background:#fff;z-index:125000}.media-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background:#000;opacity:.8;z-index:120000}.media-modal-header{position:absolute;top:0;left:0;right:0;height:28px;background:#f1f1f1}.media-modal-header h3{float:left;padding:0 0 0 10px;margin:0;line-height:28px}.media-modal-close{float:right;padding-right:10px;line-height:28px}.media-modal-content{position:absolute;top:28px;left:0;right:0;bottom:0;overflow:auto}.media-workspace{position:relative;width:100%;height:100%}.upload-attachments{position:absolute;top:0;left:0;bottom:0;width:180px;margin:10px;text-align:center;border:3px dashed #dfdfdf;background:#fff;z-index:100}.upload-attachments h3{font-size:18px;font-weight:200;color:#777;padding:40px 0 0;margin:0}.upload-attachments span{display:block;color:#777;margin:10px 0}.upload-attachments a{display:inline-block;margin:0 auto}.drag-over .upload-
 attachments{width:auto;right:0;border-color:#83b4d8}.existing-attachments{position:absolute;top:0;left:200px;right:0;bottom:0}.attachments{width:100%;height:100%}.attachments-header{position:absolute;top:0;left:0;right:0;height:50px;background:#fff}.attachments-header h3{float:left;margin:0;padding:0 0 0 10px;line-height:50px;font-size:18px;font-weight:200}.attachments-header input{float:right;margin-top:10px;margin-right:10px}.attachments ul{position:absolute;top:50px;left:0;right:0;bottom:0;overflow:auto;margin:0 10px 20px}.attachment{position:relative;float:left;width:200px;height:200px;padding:0;margin:0 10px 20px;border:1px solid #dfdfdf}.attachment:hover{border-color:#d54e21}.attachment.selected{border-color:#21759b}.attachment-thumbnail{position:absolute;top:0;left:0;right:0;bottom:0;overflow:hidden}.attachment img{display:block;max-height:200px;max-width:200px;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%
 );-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%);margin:0 auto;box-shadow:inset 0 0 0 1px rgba(0,0,0,0.4)}.media-progress-bar{position:relative;height:8px;width:70%;margin:10px auto;padding:2px;border:2px solid #dfdfdf;border-radius:8px}.media-progress-bar div{height:8px;min-width:8px;width:0;background:#dfdfdf;border-radius:10px;-webkit-transition:width 200ms;-moz-transition:width 200ms;-ms-transition:width 200ms;-o-transition:width 200ms;transition:width 200ms}.attachment-thumbnail .media-progress-bar{position:absolute;top:50%;left:15%;width:70%;margin:-8px 0 0 -4px}.upload-attachments .media-progress-bar{margin-top:80px;display:none}.uploading .upload-attachments .media-progress-bar{display:block}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsmediamodelsminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/media-models.min.js (21683 => 21684)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/media-models.min.js        2012-08-31 04:54:23 UTC (rev 21683)
+++ trunk/wp-includes/js/media-models.min.js        2012-08-31 06:59:25 UTC (rev 21684)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+if(typeof wp===&quot;undefined&quot;){var wp={}}(function(d){var e=wp.media={model:{},view:{},controller:{}},c,b,a;_.extend(e,{template:_.memoize(function(g){var f;return function(h){f=f||_.template(d(&quot;#tmpl-&quot;+g).html());return f(h)}}),post:function(g,f){return e.ajax({data:_.isObject(g)?g:_.extend(f||{},{action:g})})},ajax:function(g,f){if(_.isObject(g)){f=g}else{f=f||{};f.data=_.extend(f.data||{},{action:g})}f=_.defaults(f||{},{type:&quot;POST&quot;,url:ajaxurl,context:this});return d.Deferred(function(h){if(f.success){h.done(f.success)}if(f.error){h.fail(f.error)}delete f.success;delete f.error;d.ajax(f).done(function(i){if(_.isObject(i)&amp;&amp;!_.isUndefined(i.success)){h[i.success?&quot;resolveWith&quot;:&quot;rejectWith&quot;](this,[i.data])}else{h.rejectWith(this,[i])}}).fail(function(){h.rejectWith(this,arguments)})}).promise()}});c=e.model.Attachment=Backbone.Model.extend({sync:function(h,g,f){if(&quot;read&quot;===h){f=f||{};f.context=this;f
 .data=_.extend(f.data||{},{action:&quot;get-attachment&quot;,id:this.id});return e.ajax(f)}else{return Backbone.sync.apply(this,arguments)}},parse:function(g,f){g.date=new Date(g.date);g.modified=new Date(g.modified);return g}},{create:function(f){return b.all.push(f)},get:_.memoize(function(g,f){return b.all.push(f||{id:g})})});b=e.model.Attachments=Backbone.Collection.extend({model:c,initialize:function(g,f){f=f||{};this.filters=f.filters||{};if(f.watch){this.watch(f.watch)}if(f.mirror){this.mirror(f.mirror)}},validate:function(f){return _.all(this.filters,function(g){return !!g.call(this,f)},this)},changed:function(g,f){if(this.validate(g)){this.add(g)}else{this.remove(g)}return this},watch:function(f){f.on(&quot;add change&quot;,this.changed,this)},unwatch:function(f){f.off(&quot;add change&quot;,this.changed,this)},mirror:function(f){if(this.mirroring&amp;&amp;this.mirroring===f){return}this.unmirror();this.mirroring=f;this.reset(f.models);f.on(&quot;add&quot;,this._mir
 rorAdd,this);f.on(&quot;remove&quot;,this._mirrorRemove,this);f.on(&quot;reset&quot;,this._mirrorReset,this)},unmirror:function(){if(!this.mirroring){return}this.mirroring.off(&quot;add&quot;,this._mirrorAdd,this);this.mirroring.off(&quot;remove&quot;,this._mirrorRemove,this);this.mirroring.off(&quot;reset&quot;,this._mirrorReset,this);delete this.mirroring},_mirrorAdd:function(h,f,g){this.add(h,{at:g.index})},_mirrorRemove:function(f){this.remove(f)},_mirrorReset:function(f){this.reset(f.models)},more:function(f){if(this.mirroring&amp;&amp;this.mirroring.more){return this.mirroring.more(f)}},parse:function(g,f){return _.map(g,function(h){var i=c.get(h.id);return i.set(i.parse(h,f))})}});b.all=new b();e.query=(function(){var f=[];return function(h,g){h=_.defaults(h||{},a.defaultArgs);var i=_.find(f,function(j){return _.isEqual(j.args,h)});if(!i){i=new a([],_.extend(g||{},{args:h}));f.push(i)}return i}}());a=e.model.Query=b.extend({initialize:function(i,f){var g,h=a.defaultAr
 gs;f=f||{};b.prototype.initialize.apply(this,arguments);this.args=_.defaults(f.args||{},h);this.args.order=this.args.order.toUpperCase();if(&quot;DESC&quot;!==this.args.order&amp;&amp;&quot;ASC&quot;!==this.args.order){this.args.order=h.order.toUpperCase()}g={allowed:[&quot;name&quot;,&quot;author&quot;,&quot;date&quot;,&quot;title&quot;,&quot;modified&quot;,&quot;parent&quot;,&quot;ID&quot;],keymap:{ID:&quot;id&quot;,parent:&quot;uploadedTo&quot;}};if(!_.contains(g.allowed,this.args.orderby)){this.args.orderby=h.orderby}this.orderkey=g.keymap[this.args.orderby]||this.args.orderby;this.hasMore=true;this.created=new Date();this.filters.order=function(j){if(this.length){return 1!==this.comparator(j,this.last())}else{if(&quot;DESC&quot;===this.args.order&amp;&amp;(&quot;date&quot;===this.orderkey||&quot;modified&quot;===this.orderkey)){return j.get(this.orderkey)&gt;=this.created}}return false};if(this.args.s){this.filters.search=function(j){return _.any([&quot;title&quot;,&quo
 t;filename&quot;,&quot;description&quot;,&quot;caption&quot;,&quot;name&quot;],function(k){var l=j.get(k);return l&amp;&amp;-1!==l.search(this.args.s)},this)}}this.watch(b.all)},more:function(f){var g=this;if(!this.hasMore){return}f=f||{};f.add=true;return this.fetch(f).done(function(h){if(_.isEmpty(h)||h.length&lt;this.args.posts_per_page){g.hasMore=false}})},sync:function(i,g,f){var h;if(&quot;read&quot;===i){f=f||{};f.context=this;f.data=_.extend(f.data||{},{action:&quot;query-attachments&quot;});args=_.clone(this.args);args.paged=Math.floor(this.length/args.posts_per_page)+1;f.data.query=args;return e.ajax(f)}else{h=b.prototype.sync?b.prototype:Backbone;return h.sync.apply(this,arguments)}},comparator:(function(){var f=function(h,g,i,j){if(_.isEqual(h,g)){return i===j?0:(i&gt;j?-1:1)}else{return h&gt;g?-1:1}};return function(i,h){var j=this.orderkey,g=this.args.order,k=i.cid,l=h.cid;i=i.get(j);h=h.get(j);if(&quot;date&quot;===j||&quot;modified&quot;===j){i=i||new Date();
 h=h||new Date()}return(&quot;DESC&quot;===g)?f(i,h,k,l):f(h,i,l,k)}}())},{defaultArgs:{posts_per_page:40,orderby:&quot;date&quot;,order:&quot;DESC&quot;}})}(jQuery));
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsmediaviewsminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/media-views.min.js (21683 => 21684)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/media-views.min.js        2012-08-31 04:54:23 UTC (rev 21683)
+++ trunk/wp-includes/js/media-views.min.js        2012-08-31 06:59:25 UTC (rev 21684)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+(function(d){var e=wp.media,c=e.model.Attachment,b=e.model.Attachments,a=e.model.Query;e.controller.Workflow=Backbone.Model.extend({defaults:{multiple:false},initialize:function(){this.createSelection();this.modal=new e.view.Modal({controller:this});this.workspace=new e.view.Workspace({controller:this})},createSelection:function(){var f=this;this.selection=new b();_.extend(this.selection,{add:function(h,g){if(!f.get(&quot;multiple&quot;)){h=_.isArray(h)?_.first(h):h;this.clear(g)}return b.prototype.add.call(this,h,g)},clear:function(g){return this.remove(this.models,g)},reset:function(h,g){return this.clear(g).add(h,g)},has:function(g){return !!(this.getByCid(g.cid)||this.get(g.id))}})},render:function(){this.workspace.render();this.modal.content(this.workspace).attach();return this}});e.view.Modal=Backbone.View.extend({tagName:&quot;div&quot;,template:e.template(&quot;media-modal&quot;),events:{&quot;click .media-modal-backdrop, .media-modal-close&quot;:&quot;cl
 oseHandler&quot;},initialize:function(){this.controller=this.options.controller;_.defaults(this.options,{title:&quot;&quot;,container:document.body})},render:function(){this.$el.html(this.template(this.options));this.$(&quot;.media-modal-content&quot;).append(this.options.$content);return this},attach:function(){this.$el.appendTo(this.options.container)},detach:function(){this.$el.detach()},open:function(){this.$el.show()},close:function(){this.$el.hide()},closeHandler:function(f){f.preventDefault();this.close()},content:function(f){this.options.$content=(f instanceof Backbone.View)?f.$el:f;return this.render()},title:function(f){this.options.title=f;return this.render()}});e.view.Workspace=Backbone.View.extend({tagName:&quot;div&quot;,className:&quot;media-workspace&quot;,template:e.template(&quot;media-workspace&quot;),events:{dragenter:&quot;maybeInitUploader&quot;,mouseenter:&quot;maybeInitUploader&quot;},initialize:function(){this.controller=this.options.controller;_.de
 faults(this.options,{selectOne:false,uploader:{}});this.attachmentsView=new e.view.Attachments({controller:this.controller,directions:&quot;Select stuff.&quot;,collection:new b(null,{mirror:e.query()})});this.$content=d('&lt;div class=&quot;existing-attachments&quot; /&gt;');this.$content.append(this.attachmentsView.$el);this.pending=new b([],{query:false});this.pending.on(&quot;add remove reset change:percent&quot;,function(){this.$el.toggleClass(&quot;uploading&quot;,!!this.pending.length);if(!this.$bar||!this.pending.length){return}this.$bar.width((this.pending.reduce(function(f,g){if(g.get(&quot;uploading&quot;)){return f+(g.get(&quot;percent&quot;)||0)}else{return f+100}},0)/this.pending.length)+&quot;%&quot;)},this)},render:function(){this.attachmentsView.render();this.$el.html(this.template(this.options)).append(this.$content);this.$bar=this.$(&quot;.media-progress-bar div&quot;);return this},maybeInitUploader:function(){var f=this;if(this.uploader||!this.$el.closest(
 &quot;body&quot;).length){return}this.uploader=new wp.Uploader(_.extend({container:this.$el,dropzone:this.$el,browser:this.$(&quot;.upload-attachments a&quot;),added:function(g){g.attachment=c.create(_.extend({file:g,uploading:true,date:new Date()},_.pick(g,&quot;loaded&quot;,&quot;size&quot;,&quot;percent&quot;)));f.pending.add(g.attachment)},progress:function(g){g.attachment.set(_.pick(g,&quot;loaded&quot;,&quot;percent&quot;))},success:function(i,h){var g;_.each([&quot;file&quot;,&quot;loaded&quot;,&quot;size&quot;,&quot;uploading&quot;,&quot;percent&quot;],function(j){h.attachment.unset(j)});h.attachment.set(&quot;id&quot;,i.id);c.get(i.id,h.attachment).fetch();g=f.pending.all(function(j){return !j.get(&quot;uploading&quot;)});if(g){f.pending.reset()}},error:function(i,g,h){h.attachment.destroy()}},this.options.uploader))}});e.view.Attachments=Backbone.View.extend({tagName:&quot;div&quot;,className:&quot;attachments&quot;,template:e.template(&quot;attachments&quot;),even
 ts:{&quot;keyup input&quot;:&quot;search&quot;},initialize:function(){this.controller=this.options.controller;_.defaults(this.options,{refreshSensitivity:200,refreshThreshold:3});_.each([&quot;add&quot;,&quot;remove&quot;],function(f){this.collection.on(f,function(i,g,h){this[f](i,h.index)},this)},this);this.collection.on(&quot;reset&quot;,this.refresh,this);this.$list=d(&quot;&lt;ul /&gt;&quot;);this.list=this.$list[0];this.scroll=_.chain(this.scroll).bind(this).throttle(this.options.refreshSensitivity).value();this.$list.on(&quot;scroll.attachments&quot;,this.scroll)},render:function(){this.$el.html(this.template(this.options)).append(this.$list);this.refresh();return this},refresh:function(){if(!this.collection.length){this.collection.more();this.$list.empty();return this}this.$list.html(this.collection.map(function(f){return new e.view.Attachment({controller:this.controller,model:f}).render().$el},this));this.scroll();return this},add:function(i,g){var f,h;f=new e.view.A
 ttachment({controller:this.controller,model:i}).render();h=this.$list.children();if(h.length&gt;g){h.eq(g).before(f.$el)}else{this.$list.append(f.$el)}},remove:function(h,f){var g=this.$list.children();if(g.length){g.eq(f).detach()}},scroll:function(f){if(!this.$list.is(&quot;:visible&quot;)){return}if(this.list.scrollHeight&lt;this.list.scrollTop+(this.list.clientHeight*this.options.refreshThreshold)){this.collection.more()}},search:function(g){var f=_.clone(this.collection.mirroring.args);if(f.s===g.target.value){return}if(g.target.value){f.s=g.target.value}else{delete f.s}this.collection.mirror(e.query(f))}});e.view.Attachment=Backbone.View.extend({tagName:&quot;li&quot;,className:&quot;attachment&quot;,template:e.template(&quot;attachment&quot;),events:{click:&quot;toggleSelection&quot;},initialize:function(){this.controller=this.options.controller;this.model.on(&quot;change:sizes change:uploading&quot;,this.render,this);this.model.on(&quot;change:percent&quot;,this.prog
 ress,this);this.model.on(&quot;add&quot;,this.select,this);this.model.on(&quot;remove&quot;,this.deselect,this)},render:function(){var g=this.model.toJSON(),f={orientation:g.orientation||&quot;landscape&quot;,thumbnail:g.url||&quot;&quot;,uploading:g.uploading};if(g.sizes&amp;&amp;g.sizes.medium){f.orientation=g.sizes.medium.orientation;f.thumbnail=g.sizes.medium.url}this.$el.html(this.template(f));if(g.uploading){this.$bar=this.$(&quot;.media-progress-bar div&quot;)}else{delete this.$bar}return this},progress:function(){if(this.$bar&amp;&amp;this.$bar.length){this.$bar.width(this.model.get(&quot;percent&quot;)+&quot;%&quot;)}},toggleSelection:function(g){var f=this.controller.selection;f[f.has(this.model)?&quot;remove&quot;:&quot;add&quot;](this.model)},select:function(f,g){if(g===this.controller.selection){this.$el.addClass(&quot;selected&quot;)}},deselect:function(f,g){if(g===this.controller.selection){this.$el.removeClass(&quot;selected&quot;)}}})}(jQuery));
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesversionphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/version.php (21683 => 21684)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/version.php        2012-08-31 04:54:23 UTC (rev 21683)
+++ trunk/wp-includes/version.php        2012-08-31 06:59:25 UTC (rev 21684)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx">  *
</span><span class="cx">  * @global string $wp_version
</span><span class="cx">  */
</span><del>-$wp_version = '3.5-alpha-21678';
</del><ins>+$wp_version = '3.5-alpha-21684';
</ins><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
</span></span></pre>
</div>
</div>

</body>
</html>