<!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>[20803] trunk: Compress scripts/styles: 3.4-beta4-20803.</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/20803">20803</a></dd>
<dt>Author</dt> <dd>bumpbot</dd>
<dt>Date</dt> <dd>2012-05-16 05:58:24 +0000 (Wed, 16 May 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Compress scripts/styles: 3.4-beta4-20803.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminjsthemejs">trunk/wp-admin/js/theme.js</a></li>
<li><a href="#trunkwpincludesjscustomizebasejs">trunk/wp-includes/js/customize-base.js</a></li>
<li><a href="#trunkwpincludesjscustomizecontrolsjs">trunk/wp-includes/js/customize-controls.js</a></li>
<li><a href="#trunkwpincludesjscustomizeloaderjs">trunk/wp-includes/js/customize-loader.js</a></li>
<li><a href="#trunkwpincludesjscustomizepreviewjs">trunk/wp-includes/js/customize-preview.js</a></li>
<li><a href="#trunkwpincludesversionphp">trunk/wp-includes/version.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminjsthemejs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/theme.js (20802 => 20803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/theme.js        2012-05-16 05:55:54 UTC (rev 20802)
+++ trunk/wp-admin/js/theme.js        2012-05-16 05:58:24 UTC (rev 20803)
</span><span class="lines">@@ -1 +1 @@
</span><del>-jQuery(function(a){a(&quot;#availablethemes&quot;).on(&quot;click&quot;,&quot;.theme-detail&quot;,function(c){var d=a(this).closest(&quot;.available-theme&quot;),b=d.find(&quot;.themedetaildiv&quot;);if(!b.length){b=d.find(&quot;.install-theme-info .theme-details&quot;);b=b.clone().addClass(&quot;themedetaildiv&quot;).appendTo(d).hide()}b.toggle();c.preventDefault()})});jQuery(function(c){var e=c(&quot;#theme-installer&quot;),d=e.find(&quot;.install-theme-info&quot;),b=e.find(&quot;.wp-full-overlay-main&quot;),a=c(document.body);e.on(&quot;click&quot;,&quot;.close-full-overlay&quot;,function(f){e.fadeOut(200,function(){b.empty();a.removeClass(&quot;theme-installer-active full-overlay-active&quot;)});f.preventDefault()});e.on(&quot;click&quot;,&quot;.collapse-sidebar&quot;,function(f){e.toggleClass(&quot;collapsed&quot;);f.preventDefault()});c(&quot;#availablethemes&quot;).on(&quot;click&quot;,&quot;.install-theme-preview&quot;,function(f){var g;d.html(c(this).clo
 sest(&quot;.installable-theme&quot;).find(&quot;.install-theme-info&quot;).html());g=d.find(&quot;.theme-preview-url&quot;).val();b.html('&lt;iframe src=&quot;'+g+'&quot; /&gt;');e.fadeIn(200,function(){a.addClass(&quot;theme-installer-active full-overlay-active&quot;)});f.preventDefault()})});var ThemeViewer;(function(a){ThemeViewer=function(b){function d(){a(&quot;#filter-click, #mini-filter-click&quot;).unbind(&quot;click&quot;).click(function(){a(&quot;#filter-click&quot;).toggleClass(&quot;current&quot;);a(&quot;#filter-box&quot;).slideToggle();a(&quot;#current-theme&quot;).slideToggle(300);return false});a(&quot;#filter-box :checkbox&quot;).unbind(&quot;click&quot;).click(function(){var e=a(&quot;#filter-box :checked&quot;).length,f=a(&quot;#filter-click&quot;).text();if(f.indexOf(&quot;(&quot;)!=-1){f=f.substr(0,f.indexOf(&quot;(&quot;))}if(e==0){a(&quot;#filter-click&quot;).text(f)}else{a(&quot;#filter-click&quot;).text(f+&quot; (&quot;+e+&quot;)&quot;)}})}var c={ini
 t:d};return c}})(jQuery);jQuery(document).ready(function(a){theme_viewer=new ThemeViewer();theme_viewer.init()});var ThemeScroller;(function(a){ThemeScroller={querying:false,scrollPollingDelay:500,failedRetryDelay:4000,outListBottomThreshold:300,init:function(){var b=this;if(typeof ajaxurl===&quot;undefined&quot;||typeof list_args===&quot;undefined&quot;||typeof theme_list_args===&quot;undefined&quot;){a(&quot;.pagination-links&quot;).show();return}this.nonce=a(&quot;#_ajax_fetch_list_nonce&quot;).val();this.nextPage=(theme_list_args.paged+1);this.$outList=a(&quot;#availablethemes&quot;);this.$spinner=a(&quot;div.tablenav.bottom&quot;).children(&quot;img.ajax-loading&quot;);this.$window=a(window);this.$document=a(document);if(theme_list_args.total_pages&gt;=this.nextPage){this.pollInterval=setInterval(function(){return b.poll()},this.scrollPollingDelay)}},poll:function(){var b=this.$document.scrollTop()+this.$window.innerHeight();if(this.querying||(b&lt;this.$outList.height(
 )-this.outListBottomThreshold)){return}this.ajax()},process:function(b){if(b===undefined){clearInterval(this.pollInterval);return}if(this.nextPage&gt;theme_list_args.total_pages){clearInterval(this.pollInterval)}if(this.nextPage&lt;=(theme_list_args.total_pages+1)){this.$outList.append(b.rows)}},ajax:function(){var b=this;this.querying=true;var c={action:&quot;fetch-list&quot;,paged:this.nextPage,s:theme_list_args.search,tab:theme_list_args.tab,type:theme_list_args.type,_ajax_fetch_list_nonce:this.nonce,&quot;features[]&quot;:theme_list_args.features,list_args:list_args};this.$spinner.css(&quot;visibility&quot;,&quot;visible&quot;);a.getJSON(ajaxurl,c).done(function(d){b.nextPage++;b.process(d);b.$spinner.css(&quot;visibility&quot;,&quot;hidden&quot;);b.querying=false}).fail(function(){b.$spinner.css(&quot;visibility&quot;,&quot;hidden&quot;);b.querying=false;setTimeout(function(){b.ajax()},b.failedRetryDelay)})}};a(document).ready(function(b){ThemeScroller.init()})})(jQuery
 );
</del><span class="cx">\ No newline at end of file
</span><ins>+jQuery(function(a){a(&quot;#availablethemes&quot;).on(&quot;click&quot;,&quot;.theme-detail&quot;,function(c){var d=a(this).closest(&quot;.available-theme&quot;),b=d.find(&quot;.themedetaildiv&quot;);if(!b.length){b=d.find(&quot;.install-theme-info .theme-details&quot;);b=b.clone().addClass(&quot;themedetaildiv&quot;).appendTo(d).hide()}b.toggle();c.preventDefault()})});jQuery(function(b){var c,a;if(typeof wp===&quot;undefined&quot;||!wp.customize||!(c=wp.customize.Loader)){return}a=window.location.href.replace(/[#?].*$/,&quot;&quot;)+&quot;?activated=true&quot;;c.bind(&quot;open&quot;,function(){c.messenger.bind(&quot;switched&quot;,function(){c.unbind(&quot;close&quot;,c.overlay.hide);c.bind(&quot;close&quot;,function(){window.location=a})})})});jQuery(function(c){var e=c(&quot;#theme-installer&quot;),d=e.find(&quot;.install-theme-info&quot;),b=e.find(&quot;.wp-full-overlay-main&quot;),a=c(document.body);e.on(&quot;click&quot;,&quot;.close-full-overlay&quot;,fu
 nction(f){e.fadeOut(200,function(){b.empty();a.removeClass(&quot;theme-installer-active full-overlay-active&quot;)});f.preventDefault()});e.on(&quot;click&quot;,&quot;.collapse-sidebar&quot;,function(f){e.toggleClass(&quot;collapsed&quot;);f.preventDefault()});c(&quot;#availablethemes&quot;).on(&quot;click&quot;,&quot;.install-theme-preview&quot;,function(f){var g;d.html(c(this).closest(&quot;.installable-theme&quot;).find(&quot;.install-theme-info&quot;).html());g=d.find(&quot;.theme-preview-url&quot;).val();b.html('&lt;iframe src=&quot;'+g+'&quot; /&gt;');e.fadeIn(200,function(){a.addClass(&quot;theme-installer-active full-overlay-active&quot;)});f.preventDefault()})});var ThemeViewer;(function(a){ThemeViewer=function(b){function d(){a(&quot;#filter-click, #mini-filter-click&quot;).unbind(&quot;click&quot;).click(function(){a(&quot;#filter-click&quot;).toggleClass(&quot;current&quot;);a(&quot;#filter-box&quot;).slideToggle();a(&quot;#current-theme&quot;).slideToggle(300);r
 eturn false});a(&quot;#filter-box :checkbox&quot;).unbind(&quot;click&quot;).click(function(){var e=a(&quot;#filter-box :checked&quot;).length,f=a(&quot;#filter-click&quot;).text();if(f.indexOf(&quot;(&quot;)!=-1){f=f.substr(0,f.indexOf(&quot;(&quot;))}if(e==0){a(&quot;#filter-click&quot;).text(f)}else{a(&quot;#filter-click&quot;).text(f+&quot; (&quot;+e+&quot;)&quot;)}})}var c={init:d};return c}})(jQuery);jQuery(document).ready(function(a){theme_viewer=new ThemeViewer();theme_viewer.init()});var ThemeScroller;(function(a){ThemeScroller={querying:false,scrollPollingDelay:500,failedRetryDelay:4000,outListBottomThreshold:300,init:function(){var b=this;if(typeof ajaxurl===&quot;undefined&quot;||typeof list_args===&quot;undefined&quot;||typeof theme_list_args===&quot;undefined&quot;){a(&quot;.pagination-links&quot;).show();return}this.nonce=a(&quot;#_ajax_fetch_list_nonce&quot;).val();this.nextPage=(theme_list_args.paged+1);this.$outList=a(&quot;#availablethemes&quot;);this.$spi
 nner=a(&quot;div.tablenav.bottom&quot;).children(&quot;img.ajax-loading&quot;);this.$window=a(window);this.$document=a(document);if(theme_list_args.total_pages&gt;=this.nextPage){this.pollInterval=setInterval(function(){return b.poll()},this.scrollPollingDelay)}},poll:function(){var b=this.$document.scrollTop()+this.$window.innerHeight();if(this.querying||(b&lt;this.$outList.height()-this.outListBottomThreshold)){return}this.ajax()},process:function(b){if(b===undefined){clearInterval(this.pollInterval);return}if(this.nextPage&gt;theme_list_args.total_pages){clearInterval(this.pollInterval)}if(this.nextPage&lt;=(theme_list_args.total_pages+1)){this.$outList.append(b.rows)}},ajax:function(){var b=this;this.querying=true;var c={action:&quot;fetch-list&quot;,paged:this.nextPage,s:theme_list_args.search,tab:theme_list_args.tab,type:theme_list_args.type,_ajax_fetch_list_nonce:this.nonce,&quot;features[]&quot;:theme_list_args.features,list_args:list_args};this.$spinner.css(&quot;vi
 sibility&quot;,&quot;visible&quot;);a.getJSON(ajaxurl,c).done(function(d){b.nextPage++;b.process(d);b.$spinner.css(&quot;visibility&quot;,&quot;hidden&quot;);b.querying=false}).fail(function(){b.$spinner.css(&quot;visibility&quot;,&quot;hidden&quot;);b.querying=false;setTimeout(function(){b.ajax()},b.failedRetryDelay)})}};a(document).ready(function(b){ThemeScroller.init()})})(jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjscustomizebasejs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/customize-base.js (20802 => 20803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/customize-base.js        2012-05-16 05:55:54 UTC (rev 20802)
+++ trunk/wp-includes/js/customize-base.js        2012-05-16 05:58:24 UTC (rev 20803)
</span><span class="lines">@@ -1 +1 @@
</span><del>-if(typeof wp===&quot;undefined&quot;){var wp={}}(function(a,d){var b,g,c,f,e=Array.prototype.slice;g=function(h,i){var j=f(this,h,i);j.extend=this.extend;return j};c=function(){};f=function(i,h,j){var k;if(h&amp;&amp;h.hasOwnProperty(&quot;constructor&quot;)){k=h.constructor}else{k=function(){var l=i.apply(this,arguments);return l}}d.extend(k,i);c.prototype=i.prototype;k.prototype=new c();if(h){d.extend(k.prototype,h)}if(j){d.extend(k,j)}k.prototype.constructor=k;k.__super__=i.prototype;return k};b={};b.Class=function(l,k,i){var j,h=arguments;if(l&amp;&amp;k&amp;&amp;b.Class.applicator===l){h=k;d.extend(this,i||{})}j=this;if(this.instance){j=function(){return j.instance.apply(j,arguments)};d.extend(j,this)}j.initialize.apply(j,h);return j};b.Class.applicator={};b.Class.prototype.initialize=function(){};b.Class.prototype.extended=function(h){var i=this;while(typeof i.constructor!==&quot;undefined&quot;){if(i.constructor===h){return true}if(typeof i.constructor.__s
 uper__===&quot;undefined&quot;){return false}i=i.constructor.__super__}return false};b.Class.extend=g;b.Events={trigger:function(h){if(this.topics&amp;&amp;this.topics[h]){this.topics[h].fireWith(this,e.call(arguments,1))}},bind:function(i,h){this.topics=this.topics||{};this.topics[i]=this.topics[i]||d.Callbacks();this.topics[i].add.apply(this.topics[i],e.call(arguments,1))},unbind:function(i,h){if(this.topics&amp;&amp;this.topics[i]){this.topics[i].remove.apply(this.topics[i],e.call(arguments,1))}}};b.Value=b.Class.extend({initialize:function(i,h){this._value=i;this.callbacks=d.Callbacks();d.extend(this,h||{});this.set=d.proxy(this.set,this)},instance:function(){return arguments.length?this.set.apply(this,arguments):this.get()},get:function(){return this._value},set:function(i){var h=this._value;i=this._setter.apply(this,arguments);i=this.validate(i);if(null===i||this._value===i){return this}this._value=i;this.callbacks.fireWith(this,[i,h]);return this},_setter:function(h){
 return h},setter:function(h){this._setter=h;this.set(this.get());return this},resetSetter:function(){this._setter=this.constructor.prototype._setter;this.set(this.get());return this},validate:function(h){return h},bind:function(h){this.callbacks.add.apply(this.callbacks,arguments);return this},unbind:function(h){this.callbacks.remove.apply(this.callbacks,arguments);return this},link:function(){var h=this.set;d.each(arguments,function(){this.bind(h)});return this},unlink:function(){var h=this.set;d.each(arguments,function(){this.unbind(h)});return this},sync:function(){var h=this;d.each(arguments,function(){h.link(this);this.link(h)});return this},unsync:function(){var h=this;d.each(arguments,function(){h.unlink(this);this.unlink(h)});return this}});b.Values=b.Class.extend({defaultConstructor:b.Value,initialize:function(h){d.extend(this,h||{});this._value={};this._deferreds={}},instance:function(h){if(arguments.length===1){return this.value(h)}return this.when.apply(this,argu
 ments)},value:function(h){return this._value[h]},has:function(h){return typeof this._value[h]!==&quot;undefined&quot;},add:function(i,h){if(this.has(i)){return this.value(i)}this._value[i]=h;h.parent=this;if(h.extended(b.Value)){h.bind(this._change)}this.trigger(&quot;add&quot;,h);if(this._deferreds[i]){this._deferreds[i].resolve()}return this._value[i]},create:function(h){return this.add(h,new this.defaultConstructor(b.Class.applicator,e.call(arguments,1)))},get:function(){var h={};d.each(this._value,function(i,j){h[i]=j.get()});return h},remove:function(i){var h;if(this.has(i)){h=this.value(i);this.trigger(&quot;remove&quot;,h);if(h.extended(b.Value)){h.unbind(this._change)}delete h.parent}delete this._value[i];delete this._deferreds[i]},when:function(){var i=this,j=e.call(arguments),h=d.Deferred();if(d.isFunction(j[j.length-1])){h.done(j.pop())}d.when.apply(d,d.map(j,function(k){if(i.has(k)){return}return i._deferreds[k]=i._deferreds[k]||d.Deferred()})).done(function(){va
 r k=d.map(j,function(l){return i(l)});if(k.length!==j.length){i.when.apply(i,j).done(function(){h.resolveWith(i,k)});return}h.resolveWith(i,k)});return h.promise()},_change:function(){this.parent.trigger(&quot;change&quot;,this)}});d.extend(b.Values.prototype,b.Events);b.ensure=function(h){return typeof h==&quot;string&quot;?d(h):h};b.Element=b.Value.extend({initialize:function(j,i){var h=this,m=b.Element.synchronizer.html,l,n,k;this.element=b.ensure(j);this.events=&quot;&quot;;if(this.element.is(&quot;input, select, textarea&quot;)){this.events+=&quot;change&quot;;m=b.Element.synchronizer.val;if(this.element.is(&quot;input&quot;)){l=this.element.prop(&quot;type&quot;);if(b.Element.synchronizer[l]){m=b.Element.synchronizer[l]}if(&quot;text&quot;===l||&quot;password&quot;===l){this.events+=&quot; keyup&quot;}}}b.Value.prototype.initialize.call(this,null,d.extend(i||{},m));this._value=this.get();n=this.update;k=this.refresh;this.update=function(o){if(o!==k.call(h)){n.apply(thi
 s,arguments)}};this.refresh=function(){h.set(k.call(h))};this.bind(this.update);this.element.bind(this.events,this.refresh)},find:function(h){return d(h,this.element)},refresh:function(){},update:function(){}});b.Element.synchronizer={};d.each([&quot;html&quot;,&quot;val&quot;],function(h,j){b.Element.synchronizer[j]={update:function(i){this.element[j](i)},refresh:function(){return this.element[j]()}}});b.Element.synchronizer.checkbox={update:function(h){this.element.prop(&quot;checked&quot;,h)},refresh:function(){return this.element.prop(&quot;checked&quot;)}};b.Element.synchronizer.radio={update:function(h){this.element.filter(function(){return this.value===h}).prop(&quot;checked&quot;,true)},refresh:function(){return this.element.filter(&quot;:checked&quot;).val()}};b.Messenger=b.Class.extend({add:function(j,i,h){return this[j]=new b.Value(i,h)},initialize:function(i,j,h){d.extend(this,h||{});i=this.add(&quot;url&quot;,i);this.add(&quot;targetWindow&quot;,j||window.parent
 );this.add(&quot;origin&quot;,i()).link(i).setter(function(k){return k.replace(/([^:]+:\/\/[^\/]+).*/,&quot;$1&quot;)});this.receive=d.proxy(this.receive,this);d(window).on(&quot;message&quot;,this.receive)},destroy:function(){d(window).off(&quot;message&quot;,this.receive)},receive:function(i){var h;i=i.originalEvent;if(this.origin()&amp;&amp;i.origin!==this.origin()){return}h=JSON.parse(i.data);if(h&amp;&amp;h.id&amp;&amp;typeof h.data!==&quot;undefined&quot;){this.trigger(h.id,h.data)}},send:function(j,i){var h;i=typeof i===&quot;undefined&quot;?{}:i;if(!this.url()){return}h=JSON.stringify({id:j,data:i});this.targetWindow().postMessage(h,this.origin())}});d.extend(b.Messenger.prototype,b.Events);b=d.extend(new b.Values(),b);a.customize=b})(wp,jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+if(typeof wp===&quot;undefined&quot;){var wp={}}(function(a,d){var b,g,c,f,e=Array.prototype.slice;g=function(h,i){var j=f(this,h,i);j.extend=this.extend;return j};c=function(){};f=function(i,h,j){var k;if(h&amp;&amp;h.hasOwnProperty(&quot;constructor&quot;)){k=h.constructor}else{k=function(){var l=i.apply(this,arguments);return l}}d.extend(k,i);c.prototype=i.prototype;k.prototype=new c();if(h){d.extend(k.prototype,h)}if(j){d.extend(k,j)}k.prototype.constructor=k;k.__super__=i.prototype;return k};b={};b.Class=function(l,k,i){var j,h=arguments;if(l&amp;&amp;k&amp;&amp;b.Class.applicator===l){h=k;d.extend(this,i||{})}j=this;if(this.instance){j=function(){return j.instance.apply(j,arguments)};d.extend(j,this)}j.initialize.apply(j,h);return j};b.Class.applicator={};b.Class.prototype.initialize=function(){};b.Class.prototype.extended=function(h){var i=this;while(typeof i.constructor!==&quot;undefined&quot;){if(i.constructor===h){return true}if(typeof i.constructor.__s
 uper__===&quot;undefined&quot;){return false}i=i.constructor.__super__}return false};b.Class.extend=g;b.Events={trigger:function(h){if(this.topics&amp;&amp;this.topics[h]){this.topics[h].fireWith(this,e.call(arguments,1))}return this},bind:function(i,h){this.topics=this.topics||{};this.topics[i]=this.topics[i]||d.Callbacks();this.topics[i].add.apply(this.topics[i],e.call(arguments,1));return this},unbind:function(i,h){if(this.topics&amp;&amp;this.topics[i]){this.topics[i].remove.apply(this.topics[i],e.call(arguments,1))}return this}};b.Value=b.Class.extend({initialize:function(i,h){this._value=i;this.callbacks=d.Callbacks();d.extend(this,h||{});this.set=d.proxy(this.set,this)},instance:function(){return arguments.length?this.set.apply(this,arguments):this.get()},get:function(){return this._value},set:function(i){var h=this._value;i=this._setter.apply(this,arguments);i=this.validate(i);if(null===i||this._value===i){return this}this._value=i;this.callbacks.fireWith(this,[i,h])
 ;return this},_setter:function(h){return h},setter:function(h){this._setter=h;this.set(this.get());return this},resetSetter:function(){this._setter=this.constructor.prototype._setter;this.set(this.get());return this},validate:function(h){return h},bind:function(h){this.callbacks.add.apply(this.callbacks,arguments);return this},unbind:function(h){this.callbacks.remove.apply(this.callbacks,arguments);return this},link:function(){var h=this.set;d.each(arguments,function(){this.bind(h)});return this},unlink:function(){var h=this.set;d.each(arguments,function(){this.unbind(h)});return this},sync:function(){var h=this;d.each(arguments,function(){h.link(this);this.link(h)});return this},unsync:function(){var h=this;d.each(arguments,function(){h.unlink(this);this.unlink(h)});return this}});b.Values=b.Class.extend({defaultConstructor:b.Value,initialize:function(h){d.extend(this,h||{});this._value={};this._deferreds={}},instance:function(h){if(arguments.length===1){return this.value(h
 )}return this.when.apply(this,arguments)},value:function(h){return this._value[h]},has:function(h){return typeof this._value[h]!==&quot;undefined&quot;},add:function(i,h){if(this.has(i)){return this.value(i)}this._value[i]=h;h.parent=this;if(h.extended(b.Value)){h.bind(this._change)}this.trigger(&quot;add&quot;,h);if(this._deferreds[i]){this._deferreds[i].resolve()}return this._value[i]},create:function(h){return this.add(h,new this.defaultConstructor(b.Class.applicator,e.call(arguments,1)))},get:function(){var h={};d.each(this._value,function(i,j){h[i]=j.get()});return h},remove:function(i){var h;if(this.has(i)){h=this.value(i);this.trigger(&quot;remove&quot;,h);if(h.extended(b.Value)){h.unbind(this._change)}delete h.parent}delete this._value[i];delete this._deferreds[i]},when:function(){var i=this,j=e.call(arguments),h=d.Deferred();if(d.isFunction(j[j.length-1])){h.done(j.pop())}d.when.apply(d,d.map(j,function(k){if(i.has(k)){return}return i._deferreds[k]=i._deferreds[k]||
 d.Deferred()})).done(function(){var k=d.map(j,function(l){return i(l)});if(k.length!==j.length){i.when.apply(i,j).done(function(){h.resolveWith(i,k)});return}h.resolveWith(i,k)});return h.promise()},_change:function(){this.parent.trigger(&quot;change&quot;,this)}});d.extend(b.Values.prototype,b.Events);b.ensure=function(h){return typeof h==&quot;string&quot;?d(h):h};b.Element=b.Value.extend({initialize:function(j,i){var h=this,m=b.Element.synchronizer.html,l,n,k;this.element=b.ensure(j);this.events=&quot;&quot;;if(this.element.is(&quot;input, select, textarea&quot;)){this.events+=&quot;change&quot;;m=b.Element.synchronizer.val;if(this.element.is(&quot;input&quot;)){l=this.element.prop(&quot;type&quot;);if(b.Element.synchronizer[l]){m=b.Element.synchronizer[l]}if(&quot;text&quot;===l||&quot;password&quot;===l){this.events+=&quot; keyup&quot;}}}b.Value.prototype.initialize.call(this,null,d.extend(i||{},m));this._value=this.get();n=this.update;k=this.refresh;this.update=functio
 n(o){if(o!==k.call(h)){n.apply(this,arguments)}};this.refresh=function(){h.set(k.call(h))};this.bind(this.update);this.element.bind(this.events,this.refresh)},find:function(h){return d(h,this.element)},refresh:function(){},update:function(){}});b.Element.synchronizer={};d.each([&quot;html&quot;,&quot;val&quot;],function(h,j){b.Element.synchronizer[j]={update:function(i){this.element[j](i)},refresh:function(){return this.element[j]()}}});b.Element.synchronizer.checkbox={update:function(h){this.element.prop(&quot;checked&quot;,h)},refresh:function(){return this.element.prop(&quot;checked&quot;)}};b.Element.synchronizer.radio={update:function(h){this.element.filter(function(){return this.value===h}).prop(&quot;checked&quot;,true)},refresh:function(){return this.element.filter(&quot;:checked&quot;).val()}};b.Messenger=b.Class.extend({add:function(j,i,h){return this[j]=new b.Value(i,h)},initialize:function(i,j,h){d.extend(this,h||{});i=this.add(&quot;url&quot;,i);this.add(&quot;t
 argetWindow&quot;,j||window.parent);this.add(&quot;origin&quot;,i()).link(i).setter(function(k){return k.replace(/([^:]+:\/\/[^\/]+).*/,&quot;$1&quot;)});this.receive=d.proxy(this.receive,this);d(window).on(&quot;message&quot;,this.receive)},destroy:function(){d(window).off(&quot;message&quot;,this.receive)},receive:function(i){var h;i=i.originalEvent;if(this.origin()&amp;&amp;i.origin!==this.origin()){return}h=JSON.parse(i.data);if(h&amp;&amp;h.id&amp;&amp;typeof h.data!==&quot;undefined&quot;){this.trigger(h.id,h.data)}},send:function(j,i){var h;i=typeof i===&quot;undefined&quot;?{}:i;if(!this.url()){return}h=JSON.stringify({id:j,data:i});this.targetWindow().postMessage(h,this.origin())}});d.extend(b.Messenger.prototype,b.Events);b=d.extend(new b.Values(),b);a.customize=b})(wp,jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjscustomizecontrolsjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/customize-controls.js (20802 => 20803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/customize-controls.js        2012-05-16 05:55:54 UTC (rev 20802)
+++ trunk/wp-includes/js/customize-controls.js        2012-05-16 05:58:24 UTC (rev 20803)
</span><span class="lines">@@ -1 +1 @@
</span><del>-(function(a,c){var b=wp.customize;b.Setting=b.Value.extend({initialize:function(g,f,d){var e;b.Value.prototype.initialize.call(this,f,d);this.id=g;this.transport=this.transport||&quot;refresh&quot;;this.bind(this.preview)},preview:function(){switch(this.transport){case&quot;refresh&quot;:return this.previewer.refresh();case&quot;postMessage&quot;:return this.previewer.send(&quot;setting&quot;,[this.id,this()])}}});b.Control=b.Class.extend({initialize:function(i,e){var g=this,d,h,f;this.params={};c.extend(this,e||{});this.id=i;this.selector=&quot;#customize-control-&quot;+i.replace(&quot;]&quot;,&quot;&quot;).replace(&quot;[&quot;,&quot;-&quot;);this.container=c(this.selector);f=c.map(this.params.settings,function(j){return j});b.apply(b,f.concat(function(){var j;g.settings={};for(j in g.params.settings){g.settings[j]=b(g.params.settings[j])}g.setting=g.settings[&quot;default&quot;]||null;g.ready()}));g.elements=[];d=this.container.find(&quot;[data-customize-setti
 ng-link]&quot;);h={};d.each(function(){var k=c(this),j;if(k.is(&quot;:radio&quot;)){j=k.prop(&quot;name&quot;);if(h[j]){return}h[j]=true;k=d.filter('[name=&quot;'+j+'&quot;]')}b(k.data(&quot;customizeSettingLink&quot;),function(m){var l=new b.Element(k);g.elements.push(l);l.sync(m);l.set(m())})})},ready:function(){},dropdownInit:function(){var e=this,d=this.container.find(&quot;.dropdown-status&quot;),f=this.params,g=function(h){if(typeof h===&quot;string&quot;&amp;&amp;f.statuses&amp;&amp;f.statuses[h]){d.html(f.statuses[h]).show()}else{d.hide()}};this.container.on(&quot;click&quot;,&quot;.dropdown&quot;,function(h){h.preventDefault();e.container.toggleClass(&quot;open&quot;)});this.setting.bind(g);g(this.setting())}});b.ColorControl=b.Control.extend({ready:function(){var e=this,d,f,g;d=this.container.find(&quot;.dropdown-content&quot;);g=function(h){h=h?&quot;#&quot;+h:&quot;&quot;;d.css(&quot;background&quot;,h);e.farbtastic.setColor(h)};this.farbtastic=c.farbtastic(this.
 container.find(&quot;.farbtastic-placeholder&quot;),function(h){e.setting.set(h.replace(&quot;#&quot;,&quot;&quot;))});this.setting.bind(g);g(this.setting());this.dropdownInit()}});b.UploadControl=b.Control.extend({ready:function(){var d=this;this.params.removed=this.params.removed||&quot;&quot;;this.success=c.proxy(this.success,this);this.uploader=c.extend({container:this.container,browser:this.container.find(&quot;.upload&quot;),dropzone:this.container.find(&quot;.upload-dropzone&quot;),success:this.success},this.uploader||{});this.uploader=new wp.Uploader(this.uploader);this.remover=this.container.find(&quot;.remove&quot;);this.remover.click(function(e){d.setting.set(d.params.removed);e.preventDefault()});this.removerVisibility=c.proxy(this.removerVisibility,this);this.setting.bind(this.removerVisibility);this.removerVisibility(this.setting.get());if(this.params.context){d.uploader.param(&quot;post_data[context]&quot;,this.params.context)}},success:function(d){this.settin
 g.set(d.url)},removerVisibility:function(d){this.remover.toggle(d!=this.params.removed)}});b.ImageControl=b.UploadControl.extend({ready:function(){var e=this,d;this.uploader={};if(!wp.Uploader.dragdrop){this.uploader.browser=this.container.find(&quot;.upload-fallback&quot;)}b.UploadControl.prototype.ready.call(this);this.thumbnail=this.container.find(&quot;.preview-thumbnail img&quot;);this.thumbnailSrc=c.proxy(this.thumbnailSrc,this);this.setting.bind(this.thumbnailSrc);this.library=this.container.find(&quot;.library&quot;);this.tabs={};d=this.library.find(&quot;.library-content&quot;);this.library.children(&quot;ul&quot;).children(&quot;li&quot;).each(function(){var g=c(this),h=g.data(&quot;customizeTab&quot;),f=d.filter('[data-customize-tab=&quot;'+h+'&quot;]');e.tabs[h]={both:g.add(f),link:g,panel:f}});this.selected=this.tabs[d.first().data(&quot;customizeTab&quot;)];this.selected.both.addClass(&quot;library-selected&quot;);this.library.children(&quot;ul&quot;).on(&quot;
 click&quot;,&quot;li&quot;,function(g){var h=c(this).data(&quot;customizeTab&quot;),f=e.tabs[h];g.preventDefault();if(f.link.hasClass(&quot;library-selected&quot;)){return}e.selected.both.removeClass(&quot;library-selected&quot;);e.selected=f;e.selected.both.addClass(&quot;library-selected&quot;)});this.library.on(&quot;click&quot;,&quot;a&quot;,function(f){var g=c(this).data(&quot;customizeImageValue&quot;);if(g){e.setting.set(g);f.preventDefault()}});if(this.tabs.uploaded){this.tabs.uploaded.target=this.library.find(&quot;.uploaded-target&quot;);if(!this.tabs.uploaded.panel.find(&quot;.thumbnail&quot;).length){this.tabs.uploaded.both.addClass(&quot;hidden&quot;)}}this.dropdownInit()},success:function(d){b.UploadControl.prototype.success.call(this,d);if(this.tabs.uploaded&amp;&amp;this.tabs.uploaded.target.length){this.tabs.uploaded.both.removeClass(&quot;hidden&quot;);c('&lt;a href=&quot;#&quot; class=&quot;thumbnail&quot;&gt;&lt;/a&gt;').data(&quot;customizeImageValue&quo
 t;,d.url).append('&lt;img src=&quot;'+d.url+'&quot; /&gt;').appendTo(this.tabs.uploaded.target)}},thumbnailSrc:function(d){if(/^(https?:)?\/\//.test(d)){this.thumbnail.prop(&quot;src&quot;,d).show()}else{this.thumbnail.hide()}}});b.defaultConstructor=b.Setting;b.control=new b.Values({defaultConstructor:b.Control});b.Previewer=b.Messenger.extend({refreshBuffer:250,initialize:function(f,e){var d=this;c.extend(this,e||{});this.loaded=c.proxy(this.loaded,this);this.refresh=(function(g){var h=g.refresh,j=function(){i=null;h.call(g)},i;return function(){if(typeof i!==&quot;number&quot;){if(g.loading){g.loading.remove();delete g.loading;g.loader()}else{return j()}}clearTimeout(i);i=setTimeout(j,g.refreshBuffer)}})(this);this.container=b.ensure(f.container);b.Messenger.prototype.initialize.call(this,f.url);this.scroll=0;this.bind(&quot;scroll&quot;,function(g){this.scroll=g});this.origin.unlink(this.url).set(window.location.href);this.bind(&quot;url&quot;,function(g){if(this.url()==
 g||0!==g.indexOf(this.origin()+&quot;/&quot;)||-1!==g.indexOf(&quot;wp-admin&quot;)){return}this.url(g);this.refresh()})},loader:function(){if(this.loading){return this.loading}this.loading=c(&quot;&lt;iframe /&gt;&quot;).appendTo(this.container);return this.loading},loaded:function(){if(this.iframe){this.iframe.remove()}this.iframe=this.loading;delete this.loading;this.targetWindow(this.iframe[0].contentWindow);this.send(&quot;scroll&quot;,this.scroll)},query:function(){},refresh:function(){var d=this;if(this.request){this.request.abort()}this.request=c.ajax(this.url(),{type:&quot;POST&quot;,data:this.query()||{},success:function(e){var f=d.loader()[0].contentWindow;d.loader().one(&quot;load&quot;,d.loaded);f.document.open();f.document.write(e);f.document.close()},xhrFields:{withCredentials:true}})}});b.controlConstructor={color:b.ColorControl,upload:b.UploadControl,image:b.ImageControl};c(function(){b.settings=window._wpCustomizeSettings;if(!b.settings){return}var d=c(docu
 ment.body),f,g,e;c(&quot;#customize-controls&quot;).on(&quot;keydown&quot;,function(h){if(13===h.which){h.preventDefault()}});g=new b.Previewer({container:&quot;#customize-preview&quot;,form:&quot;#customize-controls&quot;,url:b.settings.preview},{query:function(){return{customize:&quot;on&quot;,theme:b.settings.theme,customized:JSON.stringify(b.get())}},nonce:c(&quot;#_wpnonce&quot;).val(),save:function(){var i=c.extend(this.query(),{action:&quot;customize_save&quot;,nonce:this.nonce}),h=c.post(b.settings.ajax,i);d.addClass(&quot;saving&quot;);h.always(function(){d.removeClass(&quot;saving&quot;)})}});c.each(b.settings.settings,function(i,h){b.create(i,i,h.value,{transport:h.transport,previewer:g})});c.each(b.settings.controls,function(k,i){var h=b.controlConstructor[i.type]||b.Control,j;j=b.control.add(k,new h(k,{params:i,previewer:g}))});g.refresh();c(&quot;.customize-section-title&quot;).click(function(){c(this).parents(&quot;.customize-section&quot;).toggleClass(&quot;o
 pen&quot;);return false});c(&quot;#save&quot;).click(function(h){g.save();h.preventDefault()});c(&quot;.collapse-sidebar&quot;).click(function(h){d.toggleClass(&quot;collapsed&quot;);h.preventDefault()});e=new b.Messenger(b.settings.parent);e.bind(&quot;back&quot;,function(h){c(&quot;.back&quot;).text(h).click(function(i){i.preventDefault();e.send(&quot;close&quot;)})});e.send(&quot;ready&quot;);c.each({background_image:{controls:[&quot;background_repeat&quot;,&quot;background_position_x&quot;,&quot;background_attachment&quot;],callback:function(h){return !!h}},show_on_front:{controls:[&quot;page_on_front&quot;,&quot;page_for_posts&quot;],callback:function(h){return&quot;page&quot;===h}},header_textcolor:{controls:[&quot;header_textcolor&quot;],callback:function(h){return&quot;blank&quot;!==h}}},function(h,i){b(h,function(j){c.each(i.controls,function(k,l){b.control(l,function(n){var m=function(o){n.container.toggle(i.callback(o))};m(j.get());j.bind(m)})})})});b.control(&quo
 t;display_header_text&quot;,function(i){var h=&quot;&quot;;i.elements[0].unsync(b(&quot;header_textcolor&quot;));i.element=new b.Element(i.container.find(&quot;input&quot;));i.element.set(&quot;blank&quot;!==i.setting());i.element.bind(function(j){if(!j){h=b(&quot;header_textcolor&quot;).get()}i.setting.set(j?h:&quot;blank&quot;)});i.setting.bind(function(j){i.element.set(&quot;blank&quot;!==j)})})})})(wp,jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(a,c){var b=wp.customize;b.Setting=b.Value.extend({initialize:function(g,f,d){var e;b.Value.prototype.initialize.call(this,f,d);this.id=g;this.transport=this.transport||&quot;refresh&quot;;this.bind(this.preview)},preview:function(){switch(this.transport){case&quot;refresh&quot;:return this.previewer.refresh();case&quot;postMessage&quot;:return this.previewer.send(&quot;setting&quot;,[this.id,this()])}}});b.Control=b.Class.extend({initialize:function(i,e){var g=this,d,h,f;this.params={};c.extend(this,e||{});this.id=i;this.selector=&quot;#customize-control-&quot;+i.replace(&quot;]&quot;,&quot;&quot;).replace(&quot;[&quot;,&quot;-&quot;);this.container=c(this.selector);f=c.map(this.params.settings,function(j){return j});b.apply(b,f.concat(function(){var j;g.settings={};for(j in g.params.settings){g.settings[j]=b(g.params.settings[j])}g.setting=g.settings[&quot;default&quot;]||null;g.ready()}));g.elements=[];d=this.container.find(&quot;[data-customize-setti
 ng-link]&quot;);h={};d.each(function(){var k=c(this),j;if(k.is(&quot;:radio&quot;)){j=k.prop(&quot;name&quot;);if(h[j]){return}h[j]=true;k=d.filter('[name=&quot;'+j+'&quot;]')}b(k.data(&quot;customizeSettingLink&quot;),function(m){var l=new b.Element(k);g.elements.push(l);l.sync(m);l.set(m())})})},ready:function(){},dropdownInit:function(){var e=this,d=this.container.find(&quot;.dropdown-status&quot;),f=this.params,g=function(h){if(typeof h===&quot;string&quot;&amp;&amp;f.statuses&amp;&amp;f.statuses[h]){d.html(f.statuses[h]).show()}else{d.hide()}};this.container.on(&quot;click&quot;,&quot;.dropdown&quot;,function(h){h.preventDefault();e.container.toggleClass(&quot;open&quot;)});this.setting.bind(g);g(this.setting())}});b.ColorControl=b.Control.extend({ready:function(){var e=this,d,f,g;d=this.container.find(&quot;.dropdown-content&quot;);g=function(h){h=h?&quot;#&quot;+h:&quot;&quot;;d.css(&quot;background&quot;,h);e.farbtastic.setColor(h)};this.farbtastic=c.farbtastic(this.
 container.find(&quot;.farbtastic-placeholder&quot;),function(h){e.setting.set(h.replace(&quot;#&quot;,&quot;&quot;))});this.setting.bind(g);g(this.setting());this.dropdownInit()}});b.UploadControl=b.Control.extend({ready:function(){var d=this;this.params.removed=this.params.removed||&quot;&quot;;this.success=c.proxy(this.success,this);this.uploader=c.extend({container:this.container,browser:this.container.find(&quot;.upload&quot;),dropzone:this.container.find(&quot;.upload-dropzone&quot;),success:this.success},this.uploader||{});this.uploader=new wp.Uploader(this.uploader);this.remover=this.container.find(&quot;.remove&quot;);this.remover.click(function(e){d.setting.set(d.params.removed);e.preventDefault()});this.removerVisibility=c.proxy(this.removerVisibility,this);this.setting.bind(this.removerVisibility);this.removerVisibility(this.setting.get());if(this.params.context){d.uploader.param(&quot;post_data[context]&quot;,this.params.context)}},success:function(d){this.settin
 g.set(d.url)},removerVisibility:function(d){this.remover.toggle(d!=this.params.removed)}});b.ImageControl=b.UploadControl.extend({ready:function(){var e=this,d;this.uploader={};if(!wp.Uploader.dragdrop){this.uploader.browser=this.container.find(&quot;.upload-fallback&quot;)}b.UploadControl.prototype.ready.call(this);this.thumbnail=this.container.find(&quot;.preview-thumbnail img&quot;);this.thumbnailSrc=c.proxy(this.thumbnailSrc,this);this.setting.bind(this.thumbnailSrc);this.library=this.container.find(&quot;.library&quot;);this.tabs={};d=this.library.find(&quot;.library-content&quot;);this.library.children(&quot;ul&quot;).children(&quot;li&quot;).each(function(){var g=c(this),h=g.data(&quot;customizeTab&quot;),f=d.filter('[data-customize-tab=&quot;'+h+'&quot;]');e.tabs[h]={both:g.add(f),link:g,panel:f}});this.selected=this.tabs[d.first().data(&quot;customizeTab&quot;)];this.selected.both.addClass(&quot;library-selected&quot;);this.library.children(&quot;ul&quot;).on(&quot;
 click&quot;,&quot;li&quot;,function(g){var h=c(this).data(&quot;customizeTab&quot;),f=e.tabs[h];g.preventDefault();if(f.link.hasClass(&quot;library-selected&quot;)){return}e.selected.both.removeClass(&quot;library-selected&quot;);e.selected=f;e.selected.both.addClass(&quot;library-selected&quot;)});this.library.on(&quot;click&quot;,&quot;a&quot;,function(f){var g=c(this).data(&quot;customizeImageValue&quot;);if(g){e.setting.set(g);f.preventDefault()}});if(this.tabs.uploaded){this.tabs.uploaded.target=this.library.find(&quot;.uploaded-target&quot;);if(!this.tabs.uploaded.panel.find(&quot;.thumbnail&quot;).length){this.tabs.uploaded.both.addClass(&quot;hidden&quot;)}}this.dropdownInit()},success:function(d){b.UploadControl.prototype.success.call(this,d);if(this.tabs.uploaded&amp;&amp;this.tabs.uploaded.target.length){this.tabs.uploaded.both.removeClass(&quot;hidden&quot;);c('&lt;a href=&quot;#&quot; class=&quot;thumbnail&quot;&gt;&lt;/a&gt;').data(&quot;customizeImageValue&quo
 t;,d.url).append('&lt;img src=&quot;'+d.url+'&quot; /&gt;').appendTo(this.tabs.uploaded.target)}},thumbnailSrc:function(d){if(/^(https?:)?\/\//.test(d)){this.thumbnail.prop(&quot;src&quot;,d).show()}else{this.thumbnail.hide()}}});b.defaultConstructor=b.Setting;b.control=new b.Values({defaultConstructor:b.Control});b.Previewer=b.Messenger.extend({refreshBuffer:250,initialize:function(f,e){var d=this;c.extend(this,e||{});this.loaded=c.proxy(this.loaded,this);this.refresh=(function(g){var h=g.refresh,j=function(){i=null;h.call(g)},i;return function(){if(typeof i!==&quot;number&quot;){if(g.loading){g.loading.remove();delete g.loading;g.loader()}else{return j()}}clearTimeout(i);i=setTimeout(j,g.refreshBuffer)}})(this);this.container=b.ensure(f.container);b.Messenger.prototype.initialize.call(this,f.url);this.scroll=0;this.bind(&quot;scroll&quot;,function(g){this.scroll=g});this.origin.unlink(this.url).set(window.location.href);this.bind(&quot;url&quot;,function(g){if(this.url()==
 g||0!==g.indexOf(this.origin()+&quot;/&quot;)||-1!==g.indexOf(&quot;wp-admin&quot;)){return}this.url(g);this.refresh()})},loader:function(){if(this.loading){return this.loading}this.loading=c(&quot;&lt;iframe /&gt;&quot;).appendTo(this.container);return this.loading},loaded:function(){if(this.iframe){this.iframe.remove()}this.iframe=this.loading;delete this.loading;this.targetWindow(this.iframe[0].contentWindow);this.send(&quot;scroll&quot;,this.scroll)},query:function(){},refresh:function(){var d=this;if(this.request){this.request.abort()}this.request=c.ajax(this.url(),{type:&quot;POST&quot;,data:this.query()||{},success:function(e){var f=d.loader()[0].contentWindow;d.loader().one(&quot;load&quot;,d.loaded);f.document.open();f.document.write(e);f.document.close()},xhrFields:{withCredentials:true}})}});b.controlConstructor={color:b.ColorControl,upload:b.UploadControl,image:b.ImageControl};c(function(){b.settings=window._wpCustomizeSettings;b.l10n=window._wpCustomizeControlsL
 10n;if(!b.settings){return}var d=c(document.body),f,g,e;c(&quot;#customize-controls&quot;).on(&quot;keydown&quot;,function(h){if(13===h.which){h.preventDefault()}});g=new b.Previewer({container:&quot;#customize-preview&quot;,form:&quot;#customize-controls&quot;,url:b.settings.url.preview},{query:function(){return{customize:&quot;on&quot;,theme:b.settings.theme.stylesheet,customized:JSON.stringify(b.get())}},nonce:c(&quot;#_wpnonce&quot;).val(),save:function(){var i=c.extend(this.query(),{action:&quot;customize_save&quot;,nonce:this.nonce}),h=c.post(b.settings.url.ajax,i);b.trigger(&quot;save&quot;,h);d.addClass(&quot;saving&quot;);h.always(function(){d.removeClass(&quot;saving&quot;)})}});c.each(b.settings.settings,function(i,h){b.create(i,i,h.value,{transport:h.transport,previewer:g})});c.each(b.settings.controls,function(k,i){var h=b.controlConstructor[i.type]||b.Control,j;j=b.control.add(k,new h(k,{params:i,previewer:g}))});g.refresh();c(&quot;.customize-section-title&quo
 t;).click(function(){c(this).parents(&quot;.customize-section&quot;).toggleClass(&quot;open&quot;);return false});c(&quot;#save&quot;).click(function(h){g.save();h.preventDefault()});c(&quot;.collapse-sidebar&quot;).click(function(h){d.toggleClass(&quot;collapsed&quot;);h.preventDefault()});e=new b.Messenger(b.settings.url.parent);e.bind(&quot;back&quot;,function(i){var h=c(&quot;.back&quot;);if(i){h.text(i)}h.on(&quot;click.back&quot;,function(j){j.preventDefault();e.send(&quot;close&quot;)})});b.bind(&quot;save&quot;,function(h){h.done(function(){e.send(&quot;saved&quot;);if(!b.settings.theme.active){e.send(&quot;switched&quot;);c(&quot;#save&quot;).val(b.l10n.save)}b.settings.theme.active=true})});e.send(&quot;ready&quot;);c.each({background_image:{controls:[&quot;background_repeat&quot;,&quot;background_position_x&quot;,&quot;background_attachment&quot;],callback:function(h){return !!h}},show_on_front:{controls:[&quot;page_on_front&quot;,&quot;page_for_posts&quot;],callb
 ack:function(h){return&quot;page&quot;===h}},header_textcolor:{controls:[&quot;header_textcolor&quot;],callback:function(h){return&quot;blank&quot;!==h}}},function(h,i){b(h,function(j){c.each(i.controls,function(k,l){b.control(l,function(n){var m=function(o){n.container.toggle(i.callback(o))};m(j.get());j.bind(m)})})})});b.control(&quot;display_header_text&quot;,function(i){var h=&quot;&quot;;i.elements[0].unsync(b(&quot;header_textcolor&quot;));i.element=new b.Element(i.container.find(&quot;input&quot;));i.element.set(&quot;blank&quot;!==i.setting());i.element.bind(function(j){if(!j){h=b(&quot;header_textcolor&quot;).get()}i.setting.set(j?h:&quot;blank&quot;)});i.setting.bind(function(j){i.element.set(&quot;blank&quot;!==j)})})})})(wp,jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjscustomizeloaderjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/customize-loader.js (20802 => 20803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/customize-loader.js        2012-05-16 05:55:54 UTC (rev 20802)
+++ trunk/wp-includes/js/customize-loader.js        2012-05-16 05:58:24 UTC (rev 20803)
</span><span class="lines">@@ -1 +1 @@
</span><del>-if(typeof wp===&quot;undefined&quot;){var wp={}}(function(a,c){var b=wp.customize,d;d={supports:{history:!!(window.history&amp;&amp;history.pushState),hashchange:(&quot;onhashchange&quot; in window)&amp;&amp;(document.documentMode===undefined||document.documentMode&gt;7)},initialize:function(){this.body=c(document.body).addClass(&quot;customize-support&quot;);this.window=c(window);this.element=c('&lt;div id=&quot;customize-container&quot; class=&quot;wp-full-overlay&quot; /&gt;').appendTo(this.body);c(&quot;#wpbody&quot;).on(&quot;click&quot;,&quot;.load-customize&quot;,function(e){e.preventDefault();d.open(c(this).attr(&quot;href&quot;))});if(this.supports.history){this.window.on(&quot;popstate&quot;,d.popstate)}if(this.supports.hashchange){this.window.on(&quot;hashchange&quot;,d.hashchange)}},popstate:function(g){var f=g.originalEvent.state;if(f&amp;&amp;f.customize){d.open(f.customize)}else{if(d.active){d.close()}}},hashchange:function(g){var f=window.location
 .toString().split(&quot;#&quot;)[1];if(f&amp;&amp;0===f.indexOf(&quot;customize=on&quot;)){d.open(wpCustomizeLoaderL10n.url+&quot;?&quot;+f)}if(!f&amp;&amp;!d.supports.history){d.close()}},open:function(e){if(this.active){return}this.active=true;this.body.addClass(&quot;customize-loading&quot;);this.iframe=c(&quot;&lt;iframe /&gt;&quot;,{src:e}).appendTo(this.element);this.iframe.one(&quot;load&quot;,this.loaded);this.messenger=new b.Messenger(e,this.iframe[0].contentWindow);this.messenger.bind(&quot;ready&quot;,function(){d.messenger.send(&quot;back&quot;,wpCustomizeLoaderL10n.back)});this.messenger.bind(&quot;close&quot;,function(){if(d.supports.history){history.back()}else{if(d.supports.hashchange){window.location.hash=&quot;&quot;}else{d.close()}}});this.element.fadeIn(200,function(){var f=e.split(&quot;?&quot;)[1];d.body.addClass(&quot;customize-active full-overlay-active&quot;);if(d.supports.history&amp;&amp;window.location.href!==e){history.pushState({customize:e},&qu
 ot;&quot;,e)}else{if(!d.supports.history&amp;&amp;d.supports.hashchange&amp;&amp;f){window.location.hash=f}}})},close:function(){if(!this.active){return}this.active=false;this.element.fadeOut(200,function(){d.iframe.remove();d.messenger.destroy();d.iframe=null;d.messenger=null;d.body.removeClass(&quot;customize-active full-overlay-active&quot;).removeClass(&quot;customize-loading&quot;)})},loaded:function(){d.body.removeClass(&quot;customize-loading&quot;)}};c(function(){if(window.postMessage){d.initialize()}});b.Loader=d})(wp,jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+if(typeof wp===&quot;undefined&quot;){var wp={}}(function(a,c){var b=wp.customize,d;d=c.extend({},b.Events,{supports:{history:!!(window.history&amp;&amp;history.pushState),hashchange:(&quot;onhashchange&quot; in window)&amp;&amp;(document.documentMode===undefined||document.documentMode&gt;7)},initialize:function(){this.body=c(document.body).addClass(&quot;customize-support&quot;);this.window=c(window);this.element=c('&lt;div id=&quot;customize-container&quot; class=&quot;wp-full-overlay&quot; /&gt;').appendTo(this.body);this.bind(&quot;open&quot;,this.overlay.show);this.bind(&quot;close&quot;,this.overlay.hide);c(&quot;#wpbody&quot;).on(&quot;click&quot;,&quot;.load-customize&quot;,function(e){e.preventDefault();d.open(c(this).attr(&quot;href&quot;))});if(this.supports.history){this.window.on(&quot;popstate&quot;,d.popstate)}if(this.supports.hashchange){this.window.on(&quot;hashchange&quot;,d.hashchange)}},popstate:function(g){var f=g.originalEvent.state;if(f&amp
 ;&amp;f.customize){d.open(f.customize)}else{if(d.active){d.close()}}},hashchange:function(g){var f=window.location.toString().split(&quot;#&quot;)[1];if(f&amp;&amp;0===f.indexOf(&quot;customize=on&quot;)){d.open(wpCustomizeLoaderL10n.url+&quot;?&quot;+f)}if(!f&amp;&amp;!d.supports.history){d.close()}},open:function(f){var e;if(this.active){return}this.active=true;this.body.addClass(&quot;customize-loading&quot;);this.iframe=c(&quot;&lt;iframe /&gt;&quot;,{src:f}).appendTo(this.element);this.iframe.one(&quot;load&quot;,this.loaded);this.messenger=new b.Messenger(f,this.iframe[0].contentWindow);this.messenger.bind(&quot;ready&quot;,function(){d.messenger.send(&quot;back&quot;,wpCustomizeLoaderL10n.back||&quot;&quot;)});this.messenger.bind(&quot;close&quot;,function(){if(d.supports.history){history.back()}else{if(d.supports.hashchange){window.location.hash=&quot;&quot;}else{d.close()}}});e=f.split(&quot;?&quot;)[1];if(d.supports.history&amp;&amp;window.location.href!==f){histor
 y.pushState({customize:f},&quot;&quot;,f)}else{if(!d.supports.history&amp;&amp;d.supports.hashchange&amp;&amp;e){window.location.hash=e}}this.trigger(&quot;open&quot;)},opened:function(){d.body.addClass(&quot;customize-active full-overlay-active&quot;)},close:function(){if(!this.active){return}this.active=false;this.trigger(&quot;close&quot;)},closed:function(){d.iframe.remove();d.messenger.destroy();d.iframe=null;d.messenger=null;d.body.removeClass(&quot;customize-active full-overlay-active&quot;).removeClass(&quot;customize-loading&quot;)},loaded:function(){d.body.removeClass(&quot;customize-loading&quot;)},overlay:{show:function(){this.element.fadeIn(200,d.opened)},hide:function(){this.element.fadeOut(200,d.closed)}}});c(function(){if(window.postMessage){d.initialize()}});b.Loader=d})(wp,jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjscustomizepreviewjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/customize-preview.js (20802 => 20803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/customize-preview.js        2012-05-16 05:55:54 UTC (rev 20802)
+++ trunk/wp-includes/js/customize-preview.js        2012-05-16 05:58:24 UTC (rev 20803)
</span><span class="lines">@@ -1 +1 @@
</span><del>-(function(b,d){var c=wp.customize,a;a=function(g,e,f){var h;return function(){var i=arguments;f=f||this;clearTimeout(h);h=setTimeout(function(){h=null;g.apply(f,i)},e)}};c.Preview=c.Messenger.extend({initialize:function(g,f){var e=this;c.Messenger.prototype.initialize.call(this,g,null,f);this.body=d(document.body);this.body.on(&quot;click.preview&quot;,&quot;a&quot;,function(h){h.preventDefault();e.send(&quot;url&quot;,d(this).attr(&quot;href&quot;))});this.body.on(&quot;submit.preview&quot;,&quot;form&quot;,function(h){h.preventDefault()});this.window=d(window);this.window.on(&quot;scroll.preview&quot;,a(function(){e.send(&quot;scroll&quot;,e.window.scrollTop())},200));this.bind(&quot;scroll&quot;,function(h){e.window.scrollTop(h)})}});d(function(){c.settings=window._wpCustomizeSettings;if(!c.settings){return}var f,e;f=new c.Preview(window.location.href);d.each(c.settings.values,function(h,g){c.create(h,g)});f.bind(&quot;setting&quot;,function(g){var h=c(g.shift
 ());if(h){h.apply(h,g)}});e=d(document.body);c(&quot;background_color&quot;,function(g){g.bind(function(h){e.css(&quot;background-color&quot;,h?&quot;#&quot;+h:&quot;&quot;)})})})})(wp,jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(b,d){var c=wp.customize,a;a=function(g,e,f){var h;return function(){var i=arguments;f=f||this;clearTimeout(h);h=setTimeout(function(){h=null;g.apply(f,i)},e)}};c.Preview=c.Messenger.extend({initialize:function(g,f){var e=this;c.Messenger.prototype.initialize.call(this,g,null,f);this.body=d(document.body);this.body.on(&quot;click.preview&quot;,&quot;a&quot;,function(h){h.preventDefault();e.send(&quot;url&quot;,d(this).prop(&quot;href&quot;))});this.body.on(&quot;submit.preview&quot;,&quot;form&quot;,function(h){h.preventDefault()});this.window=d(window);this.window.on(&quot;scroll.preview&quot;,a(function(){e.send(&quot;scroll&quot;,e.window.scrollTop())},200));this.bind(&quot;scroll&quot;,function(h){e.window.scrollTop(h)})}});d(function(){c.settings=window._wpCustomizeSettings;if(!c.settings){return}var f,e;f=new c.Preview(window.location.href);d.each(c.settings.values,function(h,g){c.create(h,g)});f.bind(&quot;setting&quot;,function(g){var h=c(g.shift
 ());if(h){h.set.apply(h,g)}});e=d(document.body);c(&quot;background_color&quot;,function(g){g.bind(function(h){e.css(&quot;background-color&quot;,h?&quot;#&quot;+h:&quot;&quot;)})})})})(wp,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 (20802 => 20803)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/version.php        2012-05-16 05:55:54 UTC (rev 20802)
+++ trunk/wp-includes/version.php        2012-05-16 05:58:24 UTC (rev 20803)
</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.4-beta4-20800';
</del><ins>+$wp_version = '3.4-beta4-20803';
</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>