From b576babcfe665ede212101d8f9c758d23e8e9656 Mon Sep 17 00:00:00 2001 From: bumpbot Date: Wed, 6 Jun 2012 20:58:20 +0000 Subject: [PATCH] Compress scripts/styles: 3.4-RC1-21011. git-svn-id: https://develop.svn.wordpress.org/trunk@21011 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/js/customize-loader.js | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/js/customize-loader.js b/wp-includes/js/customize-loader.js index 5a78ffd094..d48a670677 100644 --- a/wp-includes/js/customize-loader.js +++ b/wp-includes/js/customize-loader.js @@ -1 +1 @@ -if(typeof wp==="undefined"){var wp={}}(function(a,c){var b=wp.customize,d;c.extend(c.support,{history:!!(window.history&&history.pushState),hashchange:("onhashchange" in window)&&(document.documentMode===undefined||document.documentMode>7)});d=c.extend({},b.Events,{initialize:function(){this.body=c(document.body);if(!d.settings||!c.support.postMessage||(!c.support.cors&&d.settings.isCrossDomain)){this.body.removeClass("customize-support").addClass("no-customize-support");return}this.body.removeClass("no-customize-support").addClass("customize-support");this.window=c(window);this.element=c('
').appendTo(this.body);this.bind("open",this.overlay.show);this.bind("close",this.overlay.hide);c("#wpbody").on("click",".load-customize",function(e){e.preventDefault();d.open(c(this).attr("href"))});if(c.support.history){this.window.on("popstate",d.popstate)}if(c.support.hashchange){this.window.on("hashchange",d.hashchange);this.window.triggerHandler("hashchange")}},popstate:function(g){var f=g.originalEvent.state;if(f&&f.customize){d.open(f.customize)}else{if(d.active){d.close()}}},hashchange:function(g){var f=window.location.toString().split("#")[1];if(f&&0===f.indexOf("customize=on")){d.open(d.settings.url+"?"+f)}if(!f&&!c.support.history){d.close()}},open:function(f){var e;if(this.active){return}this.active=true;this.body.addClass("customize-loading");this.iframe=c("