<!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>[21030] trunk: Compress scripts/styles: 3.4-RC2-21030.</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/21030">21030</a></dd>
<dt>Author</dt> <dd>bumpbot</dd>
<dt>Date</dt> <dd>2012-06-08 18:58:24 +0000 (Fri, 08 Jun 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Compress scripts/styles: 3.4-RC2-21030.</pre>

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

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminjscustomizecontrolsjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/customize-controls.js (21029 => 21030)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/customize-controls.js        2012-06-08 18:52:44 UTC (rev 21029)
+++ trunk/wp-admin/js/customize-controls.js        2012-06-08 18:58:24 UTC (rev 21030)
</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 g=this,f,e,d,h,i;f=/^#([A-Fa-f0-9]{3}){0,2}$/;e=this.container.find(&quot;.dropdown-content&quot;);d=new b.Element(this.container.find(&quot;.color-picker-hex&quot;));i=function(j){e.css(&quot;background&q
 uot;,j);g.farbtastic.setColor(j)};this.farbtastic=c.farbtastic(this.container.find(&quot;.farbtastic-placeholder&quot;),g.setting.set);d.sync(this.setting).validate=function(j){return f.test(j)?j:null};this.setting.bind(i);i(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||{});if(this.uploader.supported){if(d.params.context){d.uploader.param(&quot;post_data[context]&quot;,this.params.context)}d.uploader.param(&quot;post_data[theme]&quot;,b.settings.theme.stylesheet)}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())},success:function(d){this.setting.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={init:function(f){var h,g;if(this.supports.dragdrop){return}h=e.container.find(&quot;.upload-fallback&quot;);g=h.children().detach();this.browser.detach().empty().append(g);h.append(this.browser).show()}};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;c
 ustomizeTab&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&quot;,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.PreviewFrame=b.Messenger.extend({sensitivity:2000,initialize:function(i,g){var f=false,h=false,e=c.Deferred(),d=this;e.promise(this);this.previewer=i.previewer;c.extend(i,{channel:b.PreviewFrame.uuid()});b.Messenger.prototype.initialize.call(this,i,g);this.bind(&quot;ready&quot;,function(){h=true;if(f){e.resolveWith(d)}});i.query=c.extend(i.query||{},{customize_messenger_channel:thi
 s.channel()});this.request=c.ajax(this.url(),{type:&quot;POST&quot;,data:i.query,xhrFields:{withCredentials:true}});this.request.fail(function(){e.rejectWith(d,[&quot;request failure&quot;])});this.request.done(function(l){var k=d.request.getResponseHeader(&quot;Location&quot;),j=&quot;WP_CUSTOMIZER_SIGNATURE&quot;,m;if(k&amp;&amp;k!=d.url()){e.rejectWith(d,[&quot;redirect&quot;,k]);return}m=l.lastIndexOf(j);if(-1===m||m&lt;l.lastIndexOf(&quot;&lt;/html&gt;&quot;)){e.rejectWith(d,[&quot;unsigned&quot;]);return}l=l.slice(0,m)+l.slice(m+j.length);l=l.slice(0,m)+l.slice(m+j.length);d.iframe=c(&quot;&lt;iframe /&gt;&quot;).appendTo(d.previewer.container);d.iframe.one(&quot;load&quot;,function(){f=true;if(h){e.resolveWith(d)}else{setTimeout(function(){e.rejectWith(d,[&quot;ready timeout&quot;])},d.sensitivity)}});d.targetWindow(d.iframe[0].contentWindow);d.targetWindow().document.open();d.targetWindow().document.write(l);d.targetWindow().document.close()})},destroy:function(){b.M
 essenger.prototype.destroy.call(this);this.request.abort();if(this.iframe){this.iframe.remove()}delete this.request;delete this.iframe;delete this.targetWindow}});(function(){var d=0;b.PreviewFrame.uuid=function(){return&quot;preview-&quot;+d++}}());b.Previewer=b.Messenger.extend({refreshBuffer:250,initialize:function(g,e){var d=this,f=/^https?/;c.extend(this,e||{});this.refresh=(function(h){var i=h.refresh,k=function(){j=null;i.call(h)},j;return function(){if(typeof j!==&quot;number&quot;){if(h.loading){h.abort()}else{return k()}}clearTimeout(j);j=setTimeout(k,h.refreshBuffer)}})(this);this.container=b.ensure(g.container);this.allowedUrls=g.allowedUrls;b.Messenger.prototype.initialize.call(this,g);this.origin.unlink(this.url).set(window.location.href);this.add(&quot;scheme&quot;,this.origin()).link(this.origin).setter(function(i){var h=i.match(f);return h?h[0]:&quot;&quot;});this.url.setter(function(i){var h;if(/\/wp-admin(\/|$)/.test(i.replace(/[#?].*$/,&quot;&quot;))){ret
 urn null}c.each([i.replace(f,d.scheme()),i],function(k,j){c.each(d.allowedUrls,function(l,m){if(0===j.indexOf(m)){h=j;return false}});if(h){return false}});return h?h:null});this.url.bind(this.refresh);this.scroll=0;this.bind(&quot;scroll&quot;,function(h){this.scroll=h});this.bind(&quot;url&quot;,this.url)},query:function(){},abort:function(){if(this.loading){this.loading.destroy();delete this.loading}},refresh:function(){var d=this;this.abort();this.loading=new b.PreviewFrame({url:this.url(),query:this.query()||{},previewer:this});this.loading.done(function(){this.bind(&quot;synced&quot;,function(){if(d.iframe){d.iframe.destroy()}d.iframe=this;delete d.loading;d.targetWindow(this.targetWindow());d.channel(this.channel())});this.send(&quot;sync&quot;,{scroll:d.scroll,settings:b.get()})});this.loading.fail(function(f,e){if(&quot;redirect&quot;===f&amp;&amp;e){d.url(e)}})}});b.controlConstructor={color:b.ColorControl,upload:b.UploadControl,image:b.ImageControl};c(function(){b
 .settings=window._wpCustomizeSettings;b.l10n=window._wpCustomizeControlsL10n;if(!b.settings){return}if(!c.support.postMessage||(!c.support.cors&amp;&amp;b.settings.isCrossDomain)){return window.location=b.settings.url.fallback}var d=c(document.body),e=d.children(&quot;.wp-full-overlay&quot;),g,h,f;c(&quot;#customize-controls&quot;).on(&quot;keydown&quot;,function(i){if(c(i.target).is(&quot;textarea&quot;)){return}if(13===i.which){i.preventDefault()}});h=new b.Previewer({container:&quot;#customize-preview&quot;,form:&quot;#customize-controls&quot;,url:b.settings.url.preview,allowedUrls:b.settings.url.allowed},{query:function(){return{wp_customize:&quot;on&quot;,theme:b.settings.theme.stylesheet,customized:JSON.stringify(b.get())}},nonce:c(&quot;#_wpnonce&quot;).val(),save:function(){var j=c.extend(this.query(),{action:&quot;customize_save&quot;,nonce:this.nonce}),i=c.post(b.settings.url.ajax,j);b.trigger(&quot;save&quot;,i);d.addClass(&quot;saving&quot;);i.always(function(){d
 .removeClass(&quot;saving&quot;)});i.done(function(){b.trigger(&quot;saved&quot;)})}});c.each(b.settings.settings,function(j,i){b.create(j,j,i.value,{transport:i.transport,previewer:h})});c.each(b.settings.controls,function(l,j){var i=b.controlConstructor[j.type]||b.Control,k;k=b.control.add(l,new i(l,{params:j,previewer:h}))});h.refresh();(function(){var k=new b.Values(),j=k.create(&quot;saved&quot;),i=k.create(&quot;activated&quot;);k.bind(&quot;change&quot;,function(){var m=c(&quot;#save&quot;),l=c(&quot;.back&quot;);if(!i()){m.val(b.l10n.activate).prop(&quot;disabled&quot;,false);l.text(b.l10n.cancel)}else{if(j()){m.val(b.l10n.saved).prop(&quot;disabled&quot;,true);l.text(b.l10n.close)}else{m.val(b.l10n.save).prop(&quot;disabled&quot;,false);l.text(b.l10n.cancel)}}});j(true);i(b.settings.theme.active);b.bind(&quot;change&quot;,function(){k(&quot;saved&quot;).set(false)});b.bind(&quot;saved&quot;,function(){k(&quot;saved&quot;).set(true);k(&quot;activated&quot;).set(true)
 });i.bind(function(l){if(l){b.trigger(&quot;activated&quot;)}});b.state=k}());b.bind(&quot;activated&quot;,function(){if(b.settings.url.activated){window.location=b.settings.url.activated}});c(&quot;.customize-section-title&quot;).click(function(j){var i=c(this).parents(&quot;.customize-section&quot;);if(i.hasClass(&quot;cannot-expand&quot;)){return}c(&quot;.customize-section&quot;).not(i).removeClass(&quot;open&quot;);i.toggleClass(&quot;open&quot;);j.preventDefault()});c(&quot;#save&quot;).click(function(i){h.save();i.preventDefault()});c(&quot;.collapse-sidebar&quot;).click(function(i){e.toggleClass(&quot;collapsed&quot;).toggleClass(&quot;expanded&quot;);i.preventDefault()});f=new b.Messenger({url:b.settings.url.parent,channel:&quot;loader&quot;});f.bind(&quot;back&quot;,function(){c(&quot;.back&quot;).on(&quot;click.back&quot;,function(i){i.preventDefault();f.send(&quot;close&quot;)})});c.each([&quot;saved&quot;,&quot;activated&quot;],function(j,k){b.bind(k,function(){f
 .send(k)})});f.send(&quot;ready&quot;);c.each({background_image:{controls:[&quot;background_repeat&quot;,&quot;background_position_x&quot;,&quot;background_attachment&quot;],callback:function(i){return !!i}},show_on_front:{controls:[&quot;page_on_front&quot;,&quot;page_for_posts&quot;],callback:function(i){return&quot;page&quot;===i}},header_textcolor:{controls:[&quot;header_textcolor&quot;],callback:function(i){return&quot;blank&quot;!==i}}},function(i,j){b(i,function(k){c.each(j.controls,function(l,m){b.control(m,function(o){var n=function(p){o.container.toggle(j.callback(p))};n(k.get());k.bind(n)})})})});b.control(&quot;display_header_text&quot;,function(j){var i=&quot;&quot;;j.elements[0].unsync(b(&quot;header_textcolor&quot;));j.element=new b.Element(j.container.find(&quot;input&quot;));j.element.set(&quot;blank&quot;!==j.setting());j.element.bind(function(k){if(!k){i=b(&quot;header_textcolor&quot;).get()}j.setting.set(k?i:&quot;blank&quot;)});j.setting.bind(function(k)
 {j.element.set(&quot;blank&quot;!==k)})});b.trigger(&quot;ready&quot;)})})(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 g=this,f,e,d,h,i;f=/^#([A-Fa-f0-9]{3}){0,2}$/;e=this.container.find(&quot;.dropdown-content&quot;);d=new b.Element(this.container.find(&quot;.color-picker-hex&quot;));i=function(j){e.css(&quot;background&q
 uot;,j);g.farbtastic.setColor(j)};this.farbtastic=c.farbtastic(this.container.find(&quot;.farbtastic-placeholder&quot;),g.setting.set);d.sync(this.setting).validate=function(j){return f.test(j)?j:null};this.setting.bind(i);i(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||{});if(this.uploader.supported){if(d.params.context){d.uploader.param(&quot;post_data[context]&quot;,this.params.context)}d.uploader.param(&quot;post_data[theme]&quot;,b.settings.theme.stylesheet)}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())},success:function(d){this.setting.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={init:function(f){var h,g;if(this.supports.dragdrop){return}h=e.container.find(&quot;.upload-fallback&quot;);g=h.children().detach();this.browser.detach().empty().append(g);h.append(this.browser).show()}};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;c
 ustomizeTab&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&quot;,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.PreviewFrame=b.Messenger.extend({sensitivity:2000,initialize:function(i,g){var f=false,h=false,e=c.Deferred(),d=this;e.promise(this);this.previewer=i.previewer;c.extend(i,{channel:b.PreviewFrame.uuid()});b.Messenger.prototype.initialize.call(this,i,g);this.bind(&quot;ready&quot;,function(){h=true;if(f){e.resolveWith(d)}});i.query=c.extend(i.query||{},{customize_messenger_channel:thi
 s.channel()});this.request=c.ajax(this.url(),{type:&quot;POST&quot;,data:i.query,xhrFields:{withCredentials:true}});this.request.fail(function(){e.rejectWith(d,[&quot;request failure&quot;])});this.request.done(function(l){var k=d.request.getResponseHeader(&quot;Location&quot;),j=&quot;WP_CUSTOMIZER_SIGNATURE&quot;,m;if(k&amp;&amp;k!=d.url()){e.rejectWith(d,[&quot;redirect&quot;,k]);return}m=l.lastIndexOf(j);if(-1===m||m&lt;l.lastIndexOf(&quot;&lt;/html&gt;&quot;)){e.rejectWith(d,[&quot;unsigned&quot;]);return}l=l.slice(0,m)+l.slice(m+j.length);l=l.slice(0,m)+l.slice(m+j.length);d.iframe=c(&quot;&lt;iframe /&gt;&quot;).appendTo(d.previewer.container);d.iframe.one(&quot;load&quot;,function(){f=true;if(h){e.resolveWith(d)}else{setTimeout(function(){e.rejectWith(d,[&quot;ready timeout&quot;])},d.sensitivity)}});d.targetWindow(d.iframe[0].contentWindow);d.targetWindow().document.open();d.targetWindow().document.write(l);d.targetWindow().document.close()})},destroy:function(){b.M
 essenger.prototype.destroy.call(this);this.request.abort();if(this.iframe){this.iframe.remove()}delete this.request;delete this.iframe;delete this.targetWindow}});(function(){var d=0;b.PreviewFrame.uuid=function(){return&quot;preview-&quot;+d++}}());b.Previewer=b.Messenger.extend({refreshBuffer:250,initialize:function(h,f){var d=this,g=/^https?/,e;c.extend(this,f||{});this.refresh=(function(i){var j=i.refresh,l=function(){k=null;j.call(i)},k;return function(){if(typeof k!==&quot;number&quot;){if(i.loading){i.abort()}else{return l()}}clearTimeout(k);k=setTimeout(l,i.refreshBuffer)}})(this);this.container=b.ensure(h.container);this.allowedUrls=h.allowedUrls;e=h.url;delete h.url;b.Messenger.prototype.initialize.call(this,h);this.origin.unlink(this.url).set(window.location.href);this.add(&quot;scheme&quot;,this.origin()).link(this.origin).setter(function(j){var i=j.match(g);return i?i[0]:&quot;&quot;});this.url.setter(function(j){var i;if(/\/wp-admin(\/|$)/.test(j.replace(/[#?].
 *$/,&quot;&quot;))){return null}c.each([j.replace(g,d.scheme()),j],function(l,k){c.each(d.allowedUrls,function(m,n){if(0===k.indexOf(n)){i=k;return false}});if(i){return false}});return i?i:null});this.url(e);this.url.bind(this.refresh);this.scroll=0;this.bind(&quot;scroll&quot;,function(i){this.scroll=i});this.bind(&quot;url&quot;,this.url)},query:function(){},abort:function(){if(this.loading){this.loading.destroy();delete this.loading}},refresh:function(){var d=this;this.abort();this.loading=new b.PreviewFrame({url:this.url(),query:this.query()||{},previewer:this});this.loading.done(function(){this.bind(&quot;synced&quot;,function(){if(d.iframe){d.iframe.destroy()}d.iframe=this;delete d.loading;d.targetWindow(this.targetWindow());d.channel(this.channel())});this.send(&quot;sync&quot;,{scroll:d.scroll,settings:b.get()})});this.loading.fail(function(f,e){if(&quot;redirect&quot;===f&amp;&amp;e){d.url(e)}})}});b.controlConstructor={color:b.ColorControl,upload:b.UploadControl,i
 mage:b.ImageControl};c(function(){b.settings=window._wpCustomizeSettings;b.l10n=window._wpCustomizeControlsL10n;if(!b.settings){return}if(!c.support.postMessage||(!c.support.cors&amp;&amp;b.settings.isCrossDomain)){return window.location=b.settings.url.fallback}var d=c(document.body),e=d.children(&quot;.wp-full-overlay&quot;),g,h,f;c(&quot;#customize-controls&quot;).on(&quot;keydown&quot;,function(i){if(c(i.target).is(&quot;textarea&quot;)){return}if(13===i.which){i.preventDefault()}});h=new b.Previewer({container:&quot;#customize-preview&quot;,form:&quot;#customize-controls&quot;,url:b.settings.url.preview,allowedUrls:b.settings.url.allowed},{query:function(){return{wp_customize:&quot;on&quot;,theme:b.settings.theme.stylesheet,customized:JSON.stringify(b.get())}},nonce:c(&quot;#_wpnonce&quot;).val(),save:function(){var j=c.extend(this.query(),{action:&quot;customize_save&quot;,nonce:this.nonce}),i=c.post(b.settings.url.ajax,j);b.trigger(&quot;save&quot;,i);d.addClass(&quot;
 saving&quot;);i.always(function(){d.removeClass(&quot;saving&quot;)});i.done(function(){b.trigger(&quot;saved&quot;)})}});c.each(b.settings.settings,function(j,i){b.create(j,j,i.value,{transport:i.transport,previewer:h})});c.each(b.settings.controls,function(l,j){var i=b.controlConstructor[j.type]||b.Control,k;k=b.control.add(l,new i(l,{params:j,previewer:h}))});if(h.url()){h.refresh()}else{h.url(b.settings.url.home)}(function(){var k=new b.Values(),j=k.create(&quot;saved&quot;),i=k.create(&quot;activated&quot;);k.bind(&quot;change&quot;,function(){var m=c(&quot;#save&quot;),l=c(&quot;.back&quot;);if(!i()){m.val(b.l10n.activate).prop(&quot;disabled&quot;,false);l.text(b.l10n.cancel)}else{if(j()){m.val(b.l10n.saved).prop(&quot;disabled&quot;,true);l.text(b.l10n.close)}else{m.val(b.l10n.save).prop(&quot;disabled&quot;,false);l.text(b.l10n.cancel)}}});j(true);i(b.settings.theme.active);b.bind(&quot;change&quot;,function(){k(&quot;saved&quot;).set(false)});b.bind(&quot;saved&quo
 t;,function(){k(&quot;saved&quot;).set(true);k(&quot;activated&quot;).set(true)});i.bind(function(l){if(l){b.trigger(&quot;activated&quot;)}});b.state=k}());c(&quot;.customize-section-title&quot;).click(function(j){var i=c(this).parents(&quot;.customize-section&quot;);if(i.hasClass(&quot;cannot-expand&quot;)){return}c(&quot;.customize-section&quot;).not(i).removeClass(&quot;open&quot;);i.toggleClass(&quot;open&quot;);j.preventDefault()});c(&quot;#save&quot;).click(function(i){h.save();i.preventDefault()});c(&quot;.collapse-sidebar&quot;).click(function(i){e.toggleClass(&quot;collapsed&quot;).toggleClass(&quot;expanded&quot;);i.preventDefault()});f=new b.Messenger({url:b.settings.url.parent,channel:&quot;loader&quot;});f.bind(&quot;back&quot;,function(){c(&quot;.back&quot;).on(&quot;click.back&quot;,function(i){i.preventDefault();f.send(&quot;close&quot;)})});b.bind(&quot;saved&quot;,function(){f.send(&quot;saved&quot;)});b.bind(&quot;activated&quot;,function(){if(f.targetWin
 dow()){f.send(&quot;activated&quot;,b.settings.url.activated)}else{if(b.settings.url.activated){window.location=b.settings.url.activated}}});f.send(&quot;ready&quot;);c.each({background_image:{controls:[&quot;background_repeat&quot;,&quot;background_position_x&quot;,&quot;background_attachment&quot;],callback:function(i){return !!i}},show_on_front:{controls:[&quot;page_on_front&quot;,&quot;page_for_posts&quot;],callback:function(i){return&quot;page&quot;===i}},header_textcolor:{controls:[&quot;header_textcolor&quot;],callback:function(i){return&quot;blank&quot;!==i}}},function(i,j){b(i,function(k){c.each(j.controls,function(l,m){b.control(m,function(o){var n=function(p){o.container.toggle(j.callback(p))};n(k.get());k.bind(n)})})})});b.control(&quot;display_header_text&quot;,function(j){var i=&quot;&quot;;j.elements[0].unsync(b(&quot;header_textcolor&quot;));j.element=new b.Element(j.container.find(&quot;input&quot;));j.element.set(&quot;blank&quot;!==j.setting());j.element.b
 ind(function(k){if(!k){i=b(&quot;header_textcolor&quot;).get()}j.setting.set(k?i:&quot;blank&quot;)});j.setting.bind(function(k){j.element.set(&quot;blank&quot;!==k)})});b.trigger(&quot;ready&quot;)})})(wp,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 (21029 => 21030)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/customize-base.js        2012-06-08 18:52:44 UTC (rev 21029)
+++ trunk/wp-includes/js/customize-base.js        2012-06-08 18:58:24 UTC (rev 21030)
</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))}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)))},each:function(i,h){h=typeof h===&quot;undefined&quot;?this:h;d.each(this._value,function(j,k){i.call(h,k,j)})},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._d
 eferreds[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;}}else{if(this.element.is(&quot;textarea&quot;)){this.events+=&quot; keyup&quot;}}}b.Value.prototype.initial
 ize.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(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()}};d.support.postMessage=!!window.postMessage;b.Messenger=b.Class.ext
 end({add:function(j,i,h){return this[j]=new b.Value(i,h)},initialize:function(j,h){var i=window.parent==window?null:window.parent;d.extend(this,h||{});this.add(&quot;channel&quot;,j.channel);this.add(&quot;url&quot;,j.url);this.add(&quot;targetWindow&quot;,j.targetWindow||i);this.add(&quot;origin&quot;,this.url()).link(this.url).setter(function(k){return k.replace(/([^:]+:\/\/[^\/]+).*/,&quot;$1&quot;)});this.receive=d.proxy(this.receive,this);this.receive.guid=d.guid++;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.targetWindow()){return}if(this.origin()&amp;&amp;i.origin!==this.origin()){return}h=JSON.parse(i.data);if(!h||!h.id||typeof h.data===&quot;undefined&quot;){return}if((h.channel||this.channel())&amp;&amp;this.channel()!==h.channel){return}this.trigger(h.id,h.data)},send:function(j,i){var h;i=typeof i===&quot;undefined&quot;?{}:i;if(!this.url()|
 |!this.targetWindow()){return}h={id:j,data:i};if(this.channel()){h.channel=this.channel()}this.targetWindow().postMessage(JSON.stringify(h),this.origin())}});d.extend(b.Messenger.prototype,b.Events);b=d.extend(new b.Values(),b);b.get=function(){var h={};this.each(function(j,i){h[i]=j.get()});return h};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)))},each:function(i,h){h=typeof h===&quot;undefined&quot;?this:h;d.each(this._value,function(j,k){i.call(h,k,j)})},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._d
 eferreds[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;}}else{if(this.element.is(&quot;textarea&quot;)){this.events+=&quot; keyup&quot;}}}b.Value.prototype.initial
 ize.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(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()}};d.support.postMessage=!!window.postMessage;b.Messenger=b.Class.ext
 end({add:function(j,i,h){return this[j]=new b.Value(i,h)},initialize:function(j,h){var i=window.parent==window?null:window.parent;d.extend(this,h||{});this.add(&quot;channel&quot;,j.channel);this.add(&quot;url&quot;,j.url||&quot;&quot;);this.add(&quot;targetWindow&quot;,j.targetWindow||i);this.add(&quot;origin&quot;,this.url()).link(this.url).setter(function(k){return k.replace(/([^:]+:\/\/[^\/]+).*/,&quot;$1&quot;)});this.receive=d.proxy(this.receive,this);this.receive.guid=d.guid++;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.targetWindow()){return}if(this.origin()&amp;&amp;i.origin!==this.origin()){return}h=JSON.parse(i.data);if(!h||!h.id||typeof h.data===&quot;undefined&quot;){return}if((h.channel||this.channel())&amp;&amp;this.channel()!==h.channel){return}this.trigger(h.id,h.data)},send:function(j,i){var h;i=typeof i===&quot;undefined&quot;?null:i
 ;if(!this.url()||!this.targetWindow()){return}h={id:j,data:i};if(this.channel()){h.channel=this.channel()}this.targetWindow().postMessage(JSON.stringify(h),this.origin())}});d.extend(b.Messenger.prototype,b.Events);b=d.extend(new b.Values(),b);b.get=function(){var h={};this.each(function(j,i){h[i]=j.get()});return h};a.customize=b})(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 (21029 => 21030)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/customize-loader.js        2012-06-08 18:52:44 UTC (rev 21029)
+++ trunk/wp-includes/js/customize-loader.js        2012-06-08 18:58:24 UTC (rev 21030)
</span><span class="lines">@@ -1 +1 @@
</span><del>-if(typeof wp===&quot;undefined&quot;){var wp={}}(function(a,c){var b=wp.customize,d;c.extend(c.support,{history:!!(window.history&amp;&amp;history.pushState),hashchange:(&quot;onhashchange&quot; in window)&amp;&amp;(document.documentMode===undefined||document.documentMode&gt;7)});d=c.extend({},b.Events,{initialize:function(){this.body=c(document.body);if(!d.settings||!c.support.postMessage||(!c.support.cors&amp;&amp;d.settings.isCrossDomain)){return}this.window=c(window);this.element=c('&lt;div id=&quot;customize-container&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(c.support.history){this.window.on(&quot;popstate&quot;,d.popstate)}if(c.support.hashchange){this.window.on(&quot;hashchange&quot;,d.hashchange);this.window.triggerHandler(&qu
 ot;hashchange&quot;)}},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;wp_customize=on&quot;)){d.open(d.settings.url+&quot;?&quot;+f)}if(!f&amp;&amp;!c.support.history){d.close()}},open:function(f){var e;if(this.active){return}if(d.settings.browser.mobile){return window.location=f}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({url:f,channel:&quot;loader&quot;,targetWindow:this.iframe[0].contentWindow});this.messenger.bind(&quot;ready&quot;,function(){d.messenger.send(&quot;back&quot;)});this.messenger.bind(&quot;close&quot;,function(){if(c.support.history){history.back()}else{if(c.support.hashchange){window.location
 .hash=&quot;&quot;}else{d.close()}}});e=f.split(&quot;?&quot;)[1];if(c.support.history&amp;&amp;window.location.href!==f){history.pushState({customize:f},&quot;&quot;,f)}else{if(!c.support.history&amp;&amp;c.support.hashchange&amp;&amp;e){window.location.hash=&quot;wp_customize=on&amp;&quot;+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(){d.settings=_wpCustomizeLoaderSettings;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;c.extend(c.support,{history:!!(window.history&amp;&amp;history.pushState),hashchange:(&quot;onhashchange&quot; in window)&amp;&amp;(document.documentMode===undefined||document.documentMode&gt;7)});d=c.extend({},b.Events,{initialize:function(){this.body=c(document.body);if(!d.settings||!c.support.postMessage||(!c.support.cors&amp;&amp;d.settings.isCrossDomain)){return}this.window=c(window);this.element=c('&lt;div id=&quot;customize-container&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(c.support.history){this.window.on(&quot;popstate&quot;,d.popstate)}if(c.support.hashchange){this.window.on(&quot;hashchange&quot;,d.hashchange);this.window.triggerHandler(&qu
 ot;hashchange&quot;)}},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;wp_customize=on&quot;)){d.open(d.settings.url+&quot;?&quot;+f)}if(!f&amp;&amp;!c.support.history){d.close()}},open:function(f){var e;if(this.active){return}if(d.settings.browser.mobile){return window.location=f}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({url:f,channel:&quot;loader&quot;,targetWindow:this.iframe[0].contentWindow});this.messenger.bind(&quot;ready&quot;,function(){d.messenger.send(&quot;back&quot;)});this.messenger.bind(&quot;close&quot;,function(){if(c.support.history){history.back()}else{if(c.support.hashchange){window.location
 .hash=&quot;&quot;}else{d.close()}}});this.messenger.bind(&quot;activated&quot;,function(g){if(g){window.location=g}});e=f.split(&quot;?&quot;)[1];if(c.support.history&amp;&amp;window.location.href!==f){history.pushState({customize:f},&quot;&quot;,f)}else{if(!c.support.history&amp;&amp;c.support.hashchange&amp;&amp;e){window.location.hash=&quot;wp_customize=on&amp;&quot;+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(){d.se
 ttings=_wpCustomizeLoaderSettings;d.initialize()});b.Loader=d})(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 (21029 => 21030)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/version.php        2012-06-08 18:52:44 UTC (rev 21029)
+++ trunk/wp-includes/version.php        2012-06-08 18:58:24 UTC (rev 21030)
</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-RC2-21026';
</del><ins>+$wp_version = '3.4-RC2-21030';
</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>