From ce3cd1cd91b91359932bec2d49d3f19f9018ac18 Mon Sep 17 00:00:00 2001 From: jorgefilipecosta Date: Mon, 17 Feb 2020 12:32:05 +0000 Subject: [PATCH] Block Editor: Add missing package to the default export array. Follow up on https://core.trac.wordpress.org/ticket/49358#comment:12. We should add "warning" to the array of packages with default export to avoid the need for developers to use wp.warning.default. Props gziolo, aduth. Fixes #49436. Built from https://develop.svn.wordpress.org/trunk@47301 git-svn-id: http://core.svn.wordpress.org/trunk@47101 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/dist/warning.js | 2 +- wp-includes/js/dist/warning.min.js | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/js/dist/warning.js b/wp-includes/js/dist/warning.js index 1633c1b919..ff7e93eed1 100644 --- a/wp-includes/js/dist/warning.js +++ b/wp-includes/js/dist/warning.js @@ -326,4 +326,4 @@ function warning(message) { /***/ }) -/******/ }); \ No newline at end of file +/******/ })["default"]; \ No newline at end of file diff --git a/wp-includes/js/dist/warning.min.js b/wp-includes/js/dist/warning.min.js index 050d08e788..6e8f3eb6ca 100644 --- a/wp-includes/js/dist/warning.min.js +++ b/wp-includes/js/dist/warning.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.warning=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=417)}({102:function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(t){r=u}}();var f,l=[],a=!1,s=-1;function p(){a&&f&&(a=!1,f.length?l=f.concat(l):s=-1,l.length&&d())}function d(){if(!a){var t=c(p);a=!0;for(var e=l.length;e;){for(f=l,l=[];++s1)for(var n=1;n1)for(var n=1;n