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/wp-custom-header.min.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 srcs/wordpress/wp-includes/js/wp-custom-header.min.js (limited to 'srcs/wordpress/wp-includes/js/wp-custom-header.min.js') diff --git a/srcs/wordpress/wp-includes/js/wp-custom-header.min.js b/srcs/wordpress/wp-includes/js/wp-custom-header.min.js new file mode 100644 index 0000000..b4149d8 --- /dev/null +++ b/srcs/wordpress/wp-includes/js/wp-custom-header.min.js @@ -0,0 +1 @@ +!function(n,i){var e,t;function a(e,t){var i;"function"==typeof n.Event?i=new Event(t):(i=document.createEvent("Event")).initEvent(t,!0,!0),e.dispatchEvent(i)}function o(){this.handlers={nativeVideo:new e,youtube:new t}}function s(){}n.wp=n.wp||{},"addEventListener"in n&&(o.prototype={initialize:function(){if(this.supportsVideo())for(var e in this.handlers){var t=this.handlers[e];if("test"in t&&t.test(i)){this.activeHandler=t.initialize.call(t,i),a(document,"wp-custom-header-video-loaded");break}}},supportsVideo:function(){return!(n.innerWidth