]> git.openstreetmap.org Git - rails.git/commitdiff
Patch broken polyfill feature test
authorTom Hughes <tom@compton.nu>
Mon, 5 Aug 2019 19:39:24 +0000 (20:39 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 5 Aug 2019 19:39:24 +0000 (20:39 +0100)
https://github.com/Financial-Times/polyfill-service/issues/2006

vendor/assets/polyfill/es6.js

index cb37ff6ad7bb70560d44717c46f1b3057e3de387..70dae2d9a53550beb56f08aea7f1eb4fc58b2274 100644 (file)
@@ -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