From bc883cb9269c12cd9ccad0707e498daa2863ae27 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 5 Aug 2019 20:39:24 +0100 Subject: [PATCH 1/1] Patch broken polyfill feature test https://github.com/Financial-Times/polyfill-service/issues/2006 --- vendor/assets/polyfill/es6.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.2