From 7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 7 Jan 2020 13:06:14 +0100 Subject: Added wordpress --- srcs/wordpress/wp-includes/js/customize-loader.min.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 srcs/wordpress/wp-includes/js/customize-loader.min.js (limited to 'srcs/wordpress/wp-includes/js/customize-loader.min.js') diff --git a/srcs/wordpress/wp-includes/js/customize-loader.min.js b/srcs/wordpress/wp-includes/js/customize-loader.min.js new file mode 100644 index 0000000..3c41eef --- /dev/null +++ b/srcs/wordpress/wp-includes/js/customize-loader.min.js @@ -0,0 +1 @@ +window.wp=window.wp||{},function(e,i){var n,o=wp.customize;i.extend(i.support,{history:!(!window.history||!history.pushState),hashchange:"onhashchange"in window&&(void 0===document.documentMode||7').appendTo(this.body),this.bind("open",this.overlay.show),this.bind("close",this.overlay.hide),i("#wpbody").on("click",".load-customize",function(e){e.preventDefault(),n.link=i(this),n.open(n.link.attr("href"))}),i.support.history&&this.window.on("popstate",n.popstate),i.support.hashchange&&(this.window.on("hashchange",n.hashchange),this.window.triggerHandler("hashchange")))},popstate:function(e){var t=e.originalEvent.state;t&&t.customize?n.open(t.customize):n.active&&n.close()},hashchange:function(){var e=window.location.toString().split("#")[1];e&&0===e.indexOf("wp_customize=on")&&n.open(n.settings.url+"?"+e),e||i.support.history||n.close()},beforeunload:function(){if(!n.saved())return n.settings.l10n.saveAlert},open:function(e){if(!this.active){if(n.settings.browser.mobile)return window.location=e;this.originalDocumentTitle=document.title,this.active=!0,this.body.addClass("customize-loading"),this.saved=new o.Value(!0),this.iframe=i("