<!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>[23900] trunk: Compress scripts/styles: 3.6-alpha-23900.</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/23900">23900</a></dd>
<dt>Author</dt> <dd>bumpbot</dd>
<dt>Date</dt> <dd>2013-04-04 08:58:49 +0000 (Thu, 04 Apr 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Compress scripts/styles: 3.6-alpha-23900.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminjsrevisionsminjs">trunk/wp-admin/js/revisions.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="trunkwpadminjsrevisionsminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/revisions.min.js (23899 => 23900)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/revisions.min.js        2013-04-04 08:09:02 UTC (rev 23899)
+++ trunk/wp-admin/js/revisions.min.js        2013-04-04 08:58:49 UTC (rev 23900)
</span><span class="lines">@@ -1 +1 @@
</span><del>-window.wp=window.wp||{};(function(a){wp.revisions={views:{},Model:Backbone.Model.extend({idAttribute:&quot;ID&quot;,urlRoot:ajaxurl+&quot;?action=revisions-data&amp;show_autosaves=true&amp;show_split_view=true&amp;nonce=&quot;+wpRevisionsSettings.nonce,defaults:{ID:0,revision_date_author:&quot;&quot;,revision_date_author_short:&quot;&quot;,revisiondiff:'&lt;div class=&quot;diff-loading&quot;&gt;&lt;div class=&quot;spinner&quot;&gt;&lt;/div&gt;&lt;/div&gt;',restoreaction:&quot;&quot;,revision_from_date_author:&quot;&quot;,revision_toload:false,lines_added:0,lines_deleted:0,scope_of_changes:&quot;none&quot;,previous_revision_id:0},url:function(){if(1===REVAPP._compareOneOrTwo){return this.urlRoot+&quot;&amp;single_revision_id=&quot;+this.id+&quot;&amp;compare_to=&quot;+this.get(&quot;previous_revision_id&quot;)+&quot;&amp;post_id=&quot;+wpRevisionsSettings.post_id}else{return this.urlRoot+&quot;&amp;single_revision_id=&quot;+this.id}}}),app:_.extend({},Backbone.Eve
 nts),App:Backbone.Router.extend({_revisions:null,_leftHandleRevisions:null,_rightHandleRevisions:null,_revisionsInteractions:null,_revisionsOptions:null,_leftDiff:1,_rightDiff:1,_autosaves:true,_showSplitView:true,_compareOneOrTwo:1,_leftModelLoading:false,_rightModelLoading:false,_tickmarkView:null,routes:{},reloadToLoadRevisions:function(d,e){var b=this,f=d.where({revision_toload:true}),c=0;_.each(f,function(g){if(g.get(&quot;ID&quot;)==wpRevisionsSettings.revision_id){b._rightDiff=b._revisions.indexOf(g)+1}});_.each(f,function(g){g.urlRoot=d.url;_.delay(function(){g.fetch({update:true,add:false,remove:false,success:function(i){i.set(&quot;revision_toload&quot;,&quot;false&quot;);if(0===d.where({revision_toload:true}).length){b.stopModelLoadingSpinner()}b._tickmarkView.render();var h=i.get(&quot;lines_added&quot;)+i.get(&quot;lines_deleted&quot;),j=&quot;vsmall&quot;;if(h&gt;1&amp;&amp;h&lt;=3){j=&quot;small&quot;}else{if(h&gt;3&amp;&amp;h&lt;=5){j=&quot;med&quot;}else{if(
 h&gt;5&amp;&amp;h&lt;=10){j=&quot;large&quot;}else{if(h&gt;10){j=&quot;vlarge&quot;}}}}i.set(&quot;scope_of_changes&quot;,j);if(0!==b._rightDiff&amp;&amp;i.get(&quot;ID&quot;)===b._revisions.at(b._rightDiff-1).get(&quot;ID&quot;)){b._revisionView.render()}}})},c);c=c+150})},startLeftModelLoading:function(){this._leftModelLoading=true;a(&quot;.revisiondiffcontainer&quot;).addClass(&quot;leftmodelloading&quot;)},stopLeftModelLoading:function(){this._leftModelLoading=false},startRightModelLoading:function(){this._rightModelLoading=true;a(&quot;.revisiondiffcontainer&quot;).addClass(&quot;rightmodelloading&quot;)},stopRightModelLoading:function(){this._rightModelLoading=false},stopModelLoadingSpinner:function(){a(&quot;.revisiondiffcontainer&quot;).removeClass(&quot;rightmodelloading&quot;);a(&quot;.revisiondiffcontainer&quot;).removeClass(&quot;leftmodelloading&quot;)},reloadModel:function(){if(2===this._compareOneOrTwo){this.reloadLeftRight()}else{this.reloadModelSingle()}},re
 loadModelSingle:function(){var b=this;b._revisions.url=ajaxurl+&quot;?action=revisions-data&amp;compare_to=&quot;+wpRevisionsSettings.post_id+&quot;&amp;show_autosaves=&quot;+b._autosaves+&quot;&amp;show_split_view=&quot;+b._showSplitView+&quot;&amp;nonce=&quot;+wpRevisionsSettings.nonce;b.startRightModelLoading();b._revisions.fetch({success:function(){console.log(&quot;loaded&quot;);var c=b._revisions.length;b._revisionView.model=b._revisions;b._revisionView.render();b.reloadToLoadRevisions(b._revisions);b._tickmarkView.model=b._revisions;b._tickmarkView.render();a(&quot;#slider&quot;).slider(&quot;option&quot;,&quot;max&quot;,c-1);a(&quot;#slider&quot;).slider(&quot;value&quot;,b._rightDiff-1).trigger(&quot;slide&quot;)},error:function(){b.stopRightModelLoading()}})},reloadLeft:function(){var b=this;b.startLeftModelLoading();b._leftHandleRevisions=new wp.revisions.Collection();b._leftHandleRevisions.url=ajaxurl+&quot;?action=revisions-data&amp;compare_to=&quot;+b._revision
 s.at(b._rightDiff-1).get(&quot;ID&quot;)+&quot;&amp;post_id=&quot;+wpRevisionsSettings.post_id+&quot;&amp;show_autosaves=&quot;+REVAPP._autosaves+&quot;&amp;show_split_view=&quot;+REVAPP._showSplitView+&quot;&amp;nonce=&quot;+wpRevisionsSettings.nonce+&quot;&amp;right_handle_at=&quot;+(b._rightDiff);b._leftHandleRevisions.fetch({success:function(){b.stopLeftModelLoading();b.reloadToLoadRevisions(b._leftHandleRevisions);b._tickmarkView.model=b._leftHandleRevisions;a(&quot;#slider&quot;).slider(&quot;option&quot;,&quot;max&quot;,b._revisions.length);if(b._rightDiff&gt;b._revisions.length){b._rightDiff=b._revisions.length}},error:function(){b.stopLeftModelLoading()}})},reloadRight:function(){var b=this;b.startRightModelLoading();b._rightHandleRevisions=new wp.revisions.Collection();b._rightHandleRevisions.url=ajaxurl+&quot;?action=revisions-data&amp;compare_to=&quot;+(b._revisions.at(b._leftDiff).get(&quot;ID&quot;)-1)+&quot;&amp;post_id=&quot;+wpRevisionsSettings.post_id+&quot
 ;&amp;show_autosaves=&quot;+REVAPP._autosaves+&quot;&amp;show_split_view=&quot;+REVAPP._showSplitView+&quot;&amp;nonce=&quot;+wpRevisionsSettings.nonce;b._rightHandleRevisions.fetch({success:function(){b.stopRightModelLoading();b.reloadToLoadRevisions(b._rightHandleRevisions);b._tickmarkView.model=b._rightHandleRevisions;a(&quot;#slider&quot;).slider(&quot;option&quot;,&quot;max&quot;,b._revisions.length);a(&quot;#slider&quot;).slider(&quot;values&quot;,[REVAPP._leftDiff,REVAPP._rightDiff]).trigger(&quot;slide&quot;)},error:function(c){b.stopRightModelLoading()}})},reloadLeftRight:function(){this.startRightModelLoading();this.startLeftModelLoading();this.reloadLeft();this.reloadRight()},initialize:function(c){var b=this;if(this._revisions===null){b._revisions=new wp.revisions.Collection();b.startRightModelLoading();b._revisions.fetch({success:function(){b.stopRightModelLoading();b.completeApplicationSetup()}})}return this},addTooltip:function(c,b){c.attr(&quot;title&quot;,&q
 uot;&quot;).tooltip({track:false,position:{my:&quot;left-30 top-66&quot;,at:&quot;top left&quot;,using:function(d,e){a(this).css(d);a(&quot;&lt;div&gt;&quot;).addClass(&quot;arrow&quot;).addClass(e.vertical).addClass(e.horizontal).appendTo(a(this))}},show:false,hide:false,content:function(){return b}})},completeApplicationSetup:function(){this._revisionView=new wp.revisions.views.View({model:this._revisions});this._revisionView.render();a(&quot;#slider&quot;).slider(&quot;option&quot;,&quot;max&quot;,this._revisions.length-1);this.reloadToLoadRevisions(this._revisions);this._revisionsInteractions=new wp.revisions.views.Interact({model:this._revisions});this._revisionsInteractions.render();this._tickmarkView=new wp.revisions.views.Tickmarks({model:this._revisions});this._tickmarkView.render();this._tickmarkView.resetTicks()}})};wp.revisions.Collection=Backbone.Collection.extend({model:wp.revisions.Model,url:ajaxurl+&quot;?action=revisions-data&amp;compare_to=&quot;+wpRevision
 sSettings.post_id+&quot;&amp;show_autosaves=true&amp;show_split_view=true&amp;nonce=&quot;+wpRevisionsSettings.nonce,initialize:function(){}});_.extend(wp.revisions.views,{Tickmarks:Backbone.View.extend({el:a(&quot;#diff-slider-ticks&quot;)[0],tagName:&quot;diff-slider-ticks-view&quot;,className:&quot;diff-slider-ticks-container&quot;,template:wp.template(&quot;revision-ticks&quot;),model:wp.revisions.Model,resetTicks:function(){var f=a(&quot;#slider&quot;).slider(&quot;option&quot;,&quot;max&quot;);var e=a(&quot;#slider&quot;).width();var c=(2===REVAPP._compareOneOrTwo)?1:0;var b=Math.floor(e/(f-c));b=(b&gt;50)?50:b;b=(b&lt;10)?10:b;e=b*(f-c)+1;a(&quot;#slider&quot;).width(e);a(&quot;.diff-slider-ticks-wrapper&quot;).width(e);a(&quot;#diffslider&quot;).width(e);a(&quot;#diff-slider-ticks&quot;).width(e);var d=a(&quot;.revision-tick&quot;).width();if(b!==d){a(&quot;.revision-tick&quot;).each(function(){a(this).css(&quot;margin-right&quot;,b-1+&quot;px&quot;)});if(2===REVAPP.
 _compareOneOrTwo){a(&quot;.revision-tick&quot;).first().remove()}a(&quot;.revision-tick&quot;).last().css(&quot;margin-right&quot;,&quot;0&quot;)}},render:function(){var b=this;if(null!==b.model){var c=&quot;&quot;;_.each(b.model.models,function(d){c=c+b.template(d.toJSON())});b.$el.html(c)}b.resetTicks();return b}}),View:Backbone.View.extend({el:a(&quot;#backbonerevisionsdiff&quot;)[0],tagName:&quot;revisionvview&quot;,className:&quot;revisionview-container&quot;,template:wp.template(&quot;revision&quot;),comparetwochecked:&quot;&quot;,draggingLeft:false,render:function(){var c=&quot;&quot;;var b;if(2===REVAPP._compareOneOrTwo){this.comparetwochecked=&quot;checked&quot;;if(this.draggingLeft){b=REVAPP._leftDiff-1;if(this.model.at(b)){c=this.template(_.extend(this.model.at(b).toJSON(),{comparetwochecked:this.comparetwochecked}))}}else{b=REVAPP._rightDiff-1;if(this.model.at(b)){c=this.template(_.extend(this.model.at(b).toJSON(),{comparetwochecked:this.comparetwochecked}))}}}el
 se{this.comparetwochecked=&quot;&quot;;if(this.model.at(REVAPP._rightDiff-1)){c=this.template(_.extend(this.model.at(REVAPP._rightDiff-1).toJSON(),{comparetwochecked:this.comparetwochecked}))}}this.$el.html(c);if(this.model.length&lt;3){a(&quot;div#comparetworevisions&quot;).hide()}if(this.model.length&lt;2){a(&quot;div#diffslider&quot;).hide();a(&quot;div.diff-slider-ticks-wrapper&quot;).hide()}if(2===REVAPP._compareOneOrTwo){REVAPP.addTooltip(a(&quot;a.ui-slider-handle.left-handle&quot;),(REVAPP._leftDiff&lt;0)?&quot;&quot;:REVAPP._revisions.at(REVAPP._leftDiff-1).get(&quot;revision_date_author_short&quot;));REVAPP.addTooltip(a(&quot;a.ui-slider-handle.right-handle&quot;),(REVAPP._rightDiff&gt;REVAPP._revisions.length)?&quot;&quot;:REVAPP._revisions.at(REVAPP._rightDiff-1).get(&quot;revision_date_author_short&quot;))}else{REVAPP.addTooltip(a(&quot;a.ui-slider-handle&quot;),(REVAPP._rightDiff&gt;REVAPP._revisions.length)?&quot;&quot;:REVAPP._revisions.at(REVAPP._rightDiff-1
 ).get(&quot;revision_date_author_short&quot;))}if(REVAPP._rightDiff===REVAPP._revisions.length){a(&quot;.restore-button&quot;).hide()}else{a(&quot;.restore-button&quot;).show()}return this},events:{&quot;click #comparetwo&quot;:&quot;clickcomparetwo&quot;},clickcomparetwo:function(){self=this;if(a(&quot;input#comparetwo&quot;).is(&quot;:checked&quot;)){REVAPP._compareOneOrTwo=2;if(1===REVAPP._rightDiff){REVAPP._rightDiff=2}REVAPP._revisionView.draggingLeft=false;wpRevisionsSettings.revision_id=&quot;&quot;;REVAPP.reloadLeftRight();REVAPP._revisionView.model=REVAPP._rightHandleRevisions}else{REVAPP._compareOneOrTwo=1;REVAPP._revisionView.draggingLeft=false;REVAPP.reloadModelSingle()}REVAPP._revisionsInteractions.render();REVAPP._tickmarkView.render()}}),Interact:Backbone.View.extend({el:a(&quot;#backbonerevisionsinteract&quot;)[0],tagName:&quot;revisionvinteract&quot;,className:&quot;revisionvinteract-container&quot;,template:wp.template(&quot;revisionvinteract&quot;),initial
 ize:function(){},render:function(){var b=this;var d=this.template;this.$el.html(d);var c=REVAPP._revisions.length;slider=a(&quot;#slider&quot;);if(1===REVAPP._compareOneOrTwo){slider.slider({value:REVAPP._rightDiff-1,min:0,max:c-1,step:1,slide:function(e,f){REVAPP._rightDiff=(f.value+1);REVAPP._revisionView.render()}});a(&quot;.revisiondiffcontainer&quot;).removeClass(&quot;comparetwo&quot;)}else{slider.slider({values:[REVAPP._leftDiff,REVAPP._rightDiff+1],min:1,max:c+1,step:1,range:true,start:function(f,g){var e=a(g.handle).index();switch(e){case 1:if(REVAPP._leftModelLoading){return false}REVAPP._revisionView.draggingLeft=true;if(REVAPP._revisionView.model!==REVAPP._leftHandleRevisions&amp;&amp;null!==REVAPP._leftHandleRevisions){REVAPP._revisionView.model=REVAPP._leftHandleRevisions;REVAPP._tickmarkView.model=REVAPP._leftHandleRevisions;REVAPP._tickmarkView.render()}REVAPP._leftDiffStart=g.values[0];break;case 2:if(REVAPP._rightModelLoading||0===REVAPP._rightHandleRevisio
 ns.length){return false}if(REVAPP._revisionView.model!==REVAPP._rightHandleRevisions&amp;&amp;null!==REVAPP._rightHandleRevisions){REVAPP._revisionView.model=REVAPP._rightHandleRevisions;REVAPP._tickmarkView.model=REVAPP._rightHandleRevisions;REVAPP._tickmarkView.render()}REVAPP._revisionView.draggingLeft=false;REVAPP._rightDiffStart=g.values[1];break}},slide:function(f,g){if(g.values[0]===g.values[1]){return false}var e=a(g.handle).index();switch(e){case 1:if(REVAPP._leftModelLoading){return false}REVAPP._leftDiff=g.values[0];break;case 2:if(REVAPP._rightModelLoading){return false}REVAPP._rightDiff=g.values[1];break}if(0===REVAPP._leftDiff){a(&quot;.revisiondiffcontainer&quot;).addClass(&quot;currentversion&quot;)}else{a(&quot;.revisiondiffcontainer&quot;).removeClass(&quot;currentversion&quot;)}REVAPP._revisionView.render()},stop:function(f,g){if(2===REVAPP._compareOneOrTwo){var e=a(g.handle).index();switch(e){case 1:if(REVAPP._leftDiffStart!==g.values[0]){REVAPP.reloadRig
 ht()}break;case 2:if(REVAPP._rightDiffStart!==g.values[1]){REVAPP.reloadLeft()}break}}}});a(&quot;.revisiondiffcontainer&quot;).addClass(&quot;comparetwo&quot;);a(&quot;#diffslider a.ui-slider-handle&quot;).first().addClass(&quot;left-handle&quot;).next().addClass(&quot;right-handle&quot;)}return this},events:{&quot;click #next&quot;:&quot;nextRevision&quot;,&quot;click #previous&quot;:&quot;previousRevision&quot;},nextRevision:function(){if(REVAPP._rightDiff&lt;this.model.length){REVAPP._rightDiff=REVAPP._rightDiff+1}REVAPP._revisionView.render();a(&quot;#slider&quot;).slider(&quot;value&quot;,REVAPP._rightDiff-1).trigger(&quot;slide&quot;)},previousRevision:function(){if(REVAPP._rightDiff&gt;1){REVAPP._rightDiff=REVAPP._rightDiff-1}REVAPP._revisionView.render();a(&quot;#slider&quot;).slider(&quot;value&quot;,REVAPP._rightDiff-1).trigger(&quot;slide&quot;)}})});REVAPP=new wp.revisions.App()}(jQuery));
</del><span class="cx">\ No newline at end of file
</span><ins>+window.wp=window.wp||{};(function(f){var b,e,c,a,d;d=wp.revisions=function(){c=d.Diff=new c()};_.extend(d,{model:{},view:{},controller:{}});a=d.model.l10n=typeof wpRevisionsL10n===&quot;undefined&quot;?{}:wpRevisionsL10n;d.model.settings=a.settings||{};delete a.settings;c=d.controller.Diff=Backbone.Model.extend({rightDiff:1,leftDiff:1,revisions:null,leftHandleRevisions:null,rightHandleRevisions:null,revisionsInteractions:null,autosaves:true,showSplitView:true,singleRevision:true,leftModelLoading:false,rightModelLoading:false,tickmarkView:null,slider:null,constructor:function(){this.slider=new d.view.Slider();if(null===this.revisions){this.revisions=new e();this.startRightModelLoading();var g=this;this.revisions.fetch({success:function(){g.stopRightModelLoading();g.completeApplicationSetup()}})}},reloadToLoadRevisions:function(k,i){var g=this,j=k.where({revision_toload:true}),h=0;_.each(j,function(l){if(l.get(&quot;ID&quot;)==d.model.settings.revision_id){g.rightD
 iff=g.revisions.indexOf(l)+1}});_.each(j,function(l){_.delay(function(){l.fetch({update:true,add:false,remove:false,success:function(n){n.set(&quot;revision_toload&quot;,&quot;false&quot;);if(0===k.where({revision_toload:true}).length){g.stopModelLoadingSpinner()}g.tickmarkView.render();var m=n.get(&quot;lines_added&quot;)+n.get(&quot;lines_deleted&quot;),o=&quot;vsmall&quot;;if(m&gt;1&amp;&amp;m&lt;=3){o=&quot;small&quot;}else{if(m&gt;3&amp;&amp;m&lt;=5){o=&quot;med&quot;}else{if(m&gt;5&amp;&amp;m&lt;=10){o=&quot;large&quot;}else{if(m&gt;10){o=&quot;vlarge&quot;}}}}n.set(&quot;scope_of_changes&quot;,o);if(0!==g.rightDiff&amp;&amp;n.get(&quot;ID&quot;)===g.revisions.at(g.rightDiff-1).get(&quot;ID&quot;)){g.revisionView.render()}}})},h);h=h+150})},startLeftModelLoading:function(){this.leftModelLoading=true;f(&quot;.revisiondiffcontainer&quot;).addClass(&quot;leftmodelloading&quot;)},stopLeftModelLoading:function(){this.leftModelLoading=false},startRightModelLoading:function()
 {this.rightModelLoading=true;f(&quot;.revisiondiffcontainer&quot;).addClass(&quot;rightmodelloading&quot;)},stopRightModelLoading:function(){this.rightModelLoading=false},stopModelLoadingSpinner:function(){f(&quot;.revisiondiffcontainer&quot;).removeClass(&quot;rightmodelloading&quot;);f(&quot;.revisiondiffcontainer&quot;).removeClass(&quot;leftmodelloading&quot;)},reloadModel:function(){if(this.singleRevision){this.reloadModelSingle()}else{this.reloadLeftRight()}},reloadModelSingle:function(){var g=this;g.revisions.reload({showAutosaves:g.autosaves,showSplitView:g.showSplitView});g.startRightModelLoading();g.revisions.fetch({success:function(){var h=g.revisions.length;g.revisionView.model=g.revisions;g.revisionView.render();g.reloadToLoadRevisions(g.revisions);g.tickmarkView.model=g.revisions;g.tickmarkView.render();g.slider.refresh({max:h-1,value:g.rightDiff-1},true)},error:function(){g.stopRightModelLoading()}})},reloadLeft:function(){var g=this;g.startLeftModelLoading();
 g.leftHandleRevisions=new e({},{compareTo:g.revisions.at(g.rightDiff-1).get(&quot;ID&quot;),showAutosaves:g.autosaves,showSplitView:g.showSplitView,rightHandleAt:g.rightDiff});g.leftHandleRevisions.fetch({success:function(){g.stopLeftModelLoading();g.reloadToLoadRevisions(g.leftHandleRevisions);g.tickmarkView.model=g.leftHandleRevisions;g.slider.refresh({max:g.revisions.length});if(g.rightDiff&gt;g.revisions.length){g.rightDiff=g.revisions.length}},error:function(){g.stopLeftModelLoading()}})},reloadRight:function(){var g=this;g.startRightModelLoading();g.rightHandleRevisions=new e({},{compareTo:g.revisions.at(g.leftDiff).get(&quot;ID&quot;)-1,showAutosaves:g.autosaves,showSplitView:g.showSplitView,leftHandleAt:g.leftDiff});g.rightHandleRevisions.fetch({success:function(){g.stopRightModelLoading();g.reloadToLoadRevisions(g.rightHandleRevisions);g.tickmarkView.model=g.rightHandleRevisions;g.slider.refresh({max:g.revisions.length,values:[g.leftDiff,g.rightDiff]},true)},error:f
 unction(h){g.stopRightModelLoading()}})},reloadLeftRight:function(){this.startRightModelLoading();this.startLeftModelLoading();this.reloadLeft();this.reloadRight()},completeApplicationSetup:function(){this.revisionView=new d.view.Diff({model:this.revisions});this.revisionView.render();this.reloadToLoadRevisions(this.revisions);this.revisionsInteractions=new d.view.Interact({model:this.revisions});this.revisionsInteractions.render();this.tickmarkView=new d.view.Tickmarks({model:this.revisions});this.tickmarkView.render();this.tickmarkView.resetTicks()}});d.view.Slider=Backbone.View.extend({el:f(&quot;#slider&quot;),singleRevision:true,initialize:function(g){this.options=_.defaults(g||{},{value:0,min:0,max:1,step:1})},slide:function(g,h){if(this.singleRevision){c.rightDiff=(h.value+1);c.revisionView.render()}else{if(h.values[0]===h.values[1]){return false}if(f(h.handle).hasClass(&quot;left-handle&quot;)){if(c.leftModelLoading){return false}c.leftDiff=h.values[0]}else{if(c.righ
 tModelLoading){return false}c.rightDiff=h.values[1]}if(0===c.leftDiff){f(&quot;.revisiondiffcontainer&quot;).addClass(&quot;currentversion&quot;)}else{f(&quot;.revisiondiffcontainer&quot;).removeClass(&quot;currentversion&quot;)}c.revisionView.render()}},start:function(g,h){if(this.singleRevision){return}if(f(h.handle).hasClass(&quot;left-handle&quot;)){if(c.leftModelLoading){return false}c.revisionView.draggingLeft=true;if(c.revisionView.model!==c.leftHandleRevisions&amp;&amp;null!==c.leftHandleRevisions){c.revisionView.model=c.leftHandleRevisions;c.tickmarkView.model=c.leftHandleRevisions;c.tickmarkView.render()}c.leftDiffStart=h.values[0]}else{if(c.rightModelLoading||0===c.rightHandleRevisions.length){return false}if(c.revisionView.model!==c.rightHandleRevisions&amp;&amp;null!==c.rightHandleRevisions){c.revisionView.model=c.rightHandleRevisions;c.tickmarkView.model=c.rightHandleRevisions;c.tickmarkView.render()}c.revisionView.draggingLeft=false;c.rightDiffStart=h.values[1
 ]}},stop:function(g,h){if(this.singleRevision){return}if(f(h.handle).hasClass(&quot;left-handle&quot;)){if(c.leftDiffStart!==h.values[0]){c.reloadRight()}}else{if(c.rightDiffStart!==h.values[1]){c.reloadLeft()}}},addTooltip:function(h,g){h.attr(&quot;title&quot;,&quot;&quot;).tooltip({track:false,position:{my:&quot;left-30 top-66&quot;,at:&quot;top left&quot;,using:function(i,j){f(this).css(i);f(&quot;&lt;div&gt;&quot;).addClass(&quot;arrow&quot;).addClass(j.vertical).addClass(j.horizontal).appendTo(f(this))}},show:false,hide:false,content:function(){return g}})},width:function(){return f(&quot;#slider&quot;).width()},setWidth:function(g){return f(&quot;#slider&quot;).width(g)},refresh:function(h,g){f(&quot;#slider&quot;).slider(&quot;option&quot;,h);if(g){f(&quot;#slider&quot;).trigger(&quot;slide&quot;)}},option:function(g){return f(&quot;#slider&quot;).slider(&quot;option&quot;,g)},render:function(){var g=this;f(&quot;#slider&quot;).slider({slide:f.proxy(g.slide,g),start:
 f.proxy(g.start,g),stop:f.proxy(g.stop,g)});this.refresh(this.options)}});d.view.Tickmarks=Backbone.View.extend({el:f(&quot;#diff-slider-ticks&quot;),template:wp.template(&quot;revision-ticks&quot;),model:b,resetTicks:function(){var k=c.slider.option(&quot;max&quot;);var j=c.slider.width();var h=c.singleRevision?0:1;var g=Math.floor(j/(k-h));g=(g&gt;50)?50:g;g=(g&lt;10)?10:g;j=g*(k-h)+1;c.slider.setWidth(j);f(&quot;.diff-slider-ticks-wrapper&quot;).width(j);f(&quot;#diffslider&quot;).width(j);f(&quot;#diff-slider-ticks&quot;).width(j);var i=f(&quot;.revision-tick&quot;).width();if(g!==i){f(&quot;.revision-tick&quot;).each(function(){f(this).css(&quot;margin-right&quot;,g-1+&quot;px&quot;)});if(!c.singleRevision){f(&quot;.revision-tick&quot;).first().remove()}f(&quot;.revision-tick&quot;).last().css(&quot;margin-right&quot;,&quot;0&quot;)}},render:function(){var g=this;if(null!==g.model){var h=&quot;&quot;;_.each(g.model.models,function(i){h=h+g.template(i.toJSON())});g.$el.h
 tml(h)}g.resetTicks();return g}});d.view.Interact=Backbone.View.extend({el:f(&quot;#backbonerevisionsinteract&quot;),template:wp.template(&quot;revision-interact&quot;),events:{&quot;click #next&quot;:&quot;nextRevision&quot;,&quot;click #previous&quot;:&quot;previousRevision&quot;},render:function(){var g=this;var i=this.template;this.$el.html(i);var h=c.revisions.length;c.slider.singleRevision=c.singleRevision;c.slider.render();if(c.singleRevision){c.slider.refresh({value:c.rightDiff-1,min:0,max:h-1});f(&quot;.revisiondiffcontainer&quot;).removeClass(&quot;comparetwo&quot;)}else{c.slider.refresh({values:[c.leftDiff,c.rightDiff+1],min:1,max:h+1,range:true});f(&quot;.revisiondiffcontainer&quot;).addClass(&quot;comparetwo&quot;);f(&quot;#diffslider a.ui-slider-handle&quot;).first().addClass(&quot;left-handle&quot;);f(&quot;#diffslider a.ui-slider-handle&quot;).last().addClass(&quot;right-handle&quot;)}return this},nextRevision:function(){if(c.rightDiff&lt;this.model.length){c
 .rightDiff=c.rightDiff+1}c.revisionView.render();c.slider.refresh({value:c.rightDiff-1},true)},previousRevision:function(){if(c.rightDiff&gt;1){c.rightDiff=c.rightDiff-1}c.revisionView.render();c.slider.refresh({value:c.rightDiff-1},true)}});d.view.Diff=Backbone.View.extend({el:f(&quot;#backbonerevisionsdiff&quot;),template:wp.template(&quot;revision&quot;),draggingLeft:false,events:{&quot;click #comparetwo&quot;:&quot;compareTwo&quot;,&quot;click #restore&quot;:&quot;restore&quot;},render:function(){var h=&quot;&quot;;var g;if(!c.singleRevision){if(this.draggingLeft){g=c.leftDiff-1;if(this.model.at(g)){h=this.template(this.model.at(g).toJSON())}}else{g=c.rightDiff-1;if(this.model.at(g)){h=this.template(this.model.at(g).toJSON())}}}else{this.comparetwochecked=&quot;&quot;;if(this.model.at(c.rightDiff-1)){h=this.template(this.model.at(c.rightDiff-1).toJSON())}}this.$el.html(h);if(this.model.length&lt;2){f(&quot;#diffslider&quot;).hide();f(&quot;.diff-slider-ticks-wrapper&quot
 ;).hide()}if(!c.singleRevision){c.slider.addTooltip(f(&quot;a.ui-slider-handle.left-handle&quot;),(c.leftDiff&lt;0)?&quot;&quot;:c.revisions.at(c.leftDiff-1).get(&quot;titleTooltip&quot;));c.slider.addTooltip(f(&quot;a.ui-slider-handle.right-handle&quot;),(c.rightDiff&gt;c.revisions.length)?&quot;&quot;:c.revisions.at(c.rightDiff-1).get(&quot;titleTooltip&quot;))}else{c.slider.addTooltip(f(&quot;a.ui-slider-handle&quot;),(c.rightDiff&gt;c.revisions.length)?&quot;&quot;:c.revisions.at(c.rightDiff-1).get(&quot;titleTooltip&quot;))}this.toogleCompareTwoCheckbox();if(c.rightDiff===c.revisions.length){f(&quot;#restore&quot;).hide()}else{f(&quot;#restore&quot;).show()}return this},toogleCompareTwoCheckbox:function(){if(this.model.length&lt;3){f(&quot;#comparetworevisions&quot;).hide()}f(&quot;#comparetwo&quot;).prop(&quot;checked&quot;,!c.singleRevision)},compareTwo:function(){if(f(&quot;input#comparetwo&quot;).is(&quot;:checked&quot;)){c.singleRevision=false;if(1===c.rightDiff){c
 .rightDiff=2}c.revisionView.draggingLeft=false;d.model.settings.revision_id=&quot;&quot;;c.reloadLeftRight();c.revisionView.model=c.rightHandleRevisions}else{c.singleRevision=true;c.revisionView.draggingLeft=false;c.reloadModelSingle()}c.revisionsInteractions.render();c.tickmarkView.render()},restore:function(){document.location=f(&quot;#restore&quot;).data(&quot;restoreLink&quot;)}});b=d.model.Revision=Backbone.Model.extend({idAttribute:&quot;ID&quot;,urlRoot:ajaxurl+&quot;?action=revisions-data&amp;show_autosaves=true&amp;show_split_view=true&amp;nonce=&quot;+d.model.settings.nonce,defaults:{ID:0,titleTo:&quot;&quot;,titleTooltip:&quot;&quot;,titleFrom:&quot;&quot;,diff:'&lt;div class=&quot;diff-loading&quot;&gt;&lt;div class=&quot;spinner&quot;&gt;&lt;/div&gt;&lt;/div&gt;',restoreLink:&quot;&quot;,revision_toload:false,lines_added:0,lines_deleted:0,scope_of_changes:&quot;none&quot;,previous_revision_id:0},url:function(){if(c.singleRevision){return this.urlRoot+&quot;&amp;
 single_revision_id=&quot;+this.id+&quot;&amp;compare_to=&quot;+this.get(&quot;previous_revision_id&quot;)+&quot;&amp;post_id=&quot;+d.model.settings.post_id}else{return this.collection.url()+&quot;&amp;single_revision_id=&quot;+this.id}}});e=d.Revisions=Backbone.Collection.extend({model:b,urlRoot:ajaxurl+&quot;?action=revisions-data&quot;,initialize:function(h,g){this.options=_.defaults(g||{},{compareTo:d.model.settings.post_id,post_id:d.model.settings.post_id,showAutosaves:true,showSplitView:true,rightHandleAt:0,leftHandleAt:0,nonce:d.model.settings.nonce})},url:function(){return this.urlRoot+&quot;&amp;compare_to=&quot;+this.options.compareTo+&quot;&amp;post_id=&quot;+this.options.post_id+&quot;&amp;show_autosaves=&quot;+this.options.showAutosaves+&quot;&amp;show_split_view=&quot;+this.options.showSplitView+&quot;&amp;right_handle_at=&quot;+this.options.rightHandleAt+&quot;&amp;left_handle_at=&quot;+this.options.leftHandleAt+&quot;&amp;nonce=&quot;+this.options.nonce},relo
 ad:function(g){this.options=_.defaults(g||{},this.options)}});f(wp.revisions)}(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 (23899 => 23900)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/version.php        2013-04-04 08:09:02 UTC (rev 23899)
+++ trunk/wp-includes/version.php        2013-04-04 08:58:49 UTC (rev 23900)
</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.6-alpha-23894';
</del><ins>+$wp_version = '3.6-alpha-23900';
</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>