From: Tom Hughes Date: Mon, 5 Aug 2019 19:39:24 +0000 (+0100) Subject: Patch broken polyfill feature test X-Git-Tag: live~3052 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/bc883cb9269c12cd9ccad0707e498daa2863ae27 Patch broken polyfill feature test https://github.com/Financial-Times/polyfill-service/issues/2006 --- diff --git a/vendor/assets/polyfill/es6.js b/vendor/assets/polyfill/es6.js index cb37ff6ad..70dae2d9a 100644 --- a/vendor/assets/polyfill/es6.js +++ b/vendor/assets/polyfill/es6.js @@ -3010,7 +3010,7 @@ CreateMethodProperty(Number, 'parseInt', parseInt); } -if (!("name"in Function.prototype&&"x"===function n(){}.name +if (!("name"in Function.prototype&&"x"===function x(){}.name )) { // Function.prototype.name