From ddc3fe09d445aa81ece4ca90b0445e084650ffdc Mon Sep 17 00:00:00 2001 From: Eric Cornelissen Date: Thu, 25 Jul 2019 23:26:27 +0100 Subject: [PATCH] Fix name of "enumerable" property in Object.defineProperty As discussed in https://github.com/simple-icons/simple-icons/pull/1555 --- scripts/templates/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/templates/index.js b/scripts/templates/index.js index 58cf0f50..7a4d025a 100644 --- a/scripts/templates/index.js +++ b/scripts/templates/index.js @@ -1,7 +1,7 @@ var icons = {%s}; Object.defineProperty(icons, "get", { - enumerate: false, + enumerable: false, value: function(targetName) { if (icons[targetName]) { return icons[targetName];