Compress scripts/styles: 3.4-beta2-20478.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
bumpbot 2012-04-16 14:58:23 +00:00
parent aab399efbc
commit 2884dc969d
7 changed files with 7 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
if(typeof wp==="undefined"){var wp={}}(function(a,b){var c={initialize:function(){this.body=b(document.body);this.element=b("#customize-container");this.base=b(".admin-url",this.element).val();this.element.on("click",".close-full-overlay",function(){c.close();return false});this.element.on("click",".collapse-sidebar",function(){c.element.toggleClass("collapsed");return false})},open:function(d){d.customize="on";this.iframe=b("<iframe />",{src:this.base+"?"+jQuery.param(d)}).appendTo(this.element);this.element.fadeIn(200,function(){c.body.addClass("customize-active full-overlay-active")})},close:function(){this.element.fadeOut(200,function(){c.iframe.remove();c.iframe=null;c.body.removeClass("customize-active full-overlay-active")})}};b(function(){c.initialize();b("#wpbody").on("click",".load-customize",function(d){var e=b(this);d.preventDefault();c.open({template:e.data("customizeTemplate"),stylesheet:e.data("customizeStylesheet")})})});a.CustomizeLoader=c})(wp,jQuery); if(typeof wp==="undefined"){var wp={}}(function(a,c){var b=wp.customize,d;d={initialize:function(){this.body=c(document.body).addClass("customize-support");this.element=c('<div id="customize-container" class="wp-full-overlay" />').appendTo(this.body);c("#wpbody").on("click",".load-customize",function(e){e.preventDefault();d.open(c(this).attr("href"))})},open:function(e){this.iframe=c("<iframe />",{src:e}).appendTo(this.element);this.messenger=new b.Messenger(e,this.iframe[0].contentWindow);this.messenger.bind("ready",function(){d.messenger.send("back",wpCustomizeLoaderL10n.back)});this.messenger.bind("close",function(){d.close()});this.element.fadeIn(200,function(){d.body.addClass("customize-active full-overlay-active")})},close:function(){this.element.fadeOut(200,function(){d.iframe.remove();d.iframe=null;d.messenger=null;d.body.removeClass("customize-active full-overlay-active")})}};c(function(){if(!!window.postMessage){d.initialize()}});b.Loader=d})(wp,jQuery);

View File

@ -1 +1 @@
(function(a,c){var b=wp.customize;b.Preview=b.Messenger.extend({initialize:function(f,e){var d=this;c.extend(this,e||{});b.Messenger.prototype.initialize.call(this,f);this.body=c(document.body);this.body.on("click.preview","a",function(g){g.preventDefault();d.send("url",c(this).attr("href"))});this.body.on("submit.preview","form",function(g){g.preventDefault()});this.bind("url",function(g){this.url(g);this.refresh()})},refresh:function(){this.submit({target:this.iframe.prop("name"),action:this.url()})},submit:function(d){if(d){this.form.prop(d)}this.form.submit();if(d){this.form.prop(this._formOriginalProps)}}});c(function(){if(!b.settings){return}var e,d;e=new b.Preview(b.settings.parent);c.each(b.settings.values,function(g,f){b.set(g,f)});e.bind("setting",function(f){b.set.apply(b,f)});d=c(document.body);b("background_color",function(f){f.bind(function(g){d.css("background-color","#"+g)})})})})(wp,jQuery); (function(a,c){var b=wp.customize;b.Preview=b.Messenger.extend({initialize:function(f,e){var d=this;b.Messenger.prototype.initialize.call(this,f,null,e);this.body=c(document.body);this.body.on("click.preview","a",function(g){g.preventDefault();d.send("url",c(this).attr("href"))});this.body.on("submit.preview","form",function(g){g.preventDefault()})}});c(function(){if(!b.settings){return}var e,d;e=new b.Preview(b.settings.parent);c.each(b.settings.values,function(g,f){b.set(g,f)});e.bind("setting",function(f){b.set.apply(b,f)});d=c(document.body);b("background_color",function(f){f.bind(function(g){d.css("background-color","#"+g)})})})})(wp,jQuery);

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '3.4-beta2-20468'; $wp_version = '3.4-beta2-20478';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.