1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-11-16 00:59:07 +02:00

Fix name of "enumerable" property in Object.defineProperty

As discussed in https://github.com/simple-icons/simple-icons/pull/1555
This commit is contained in:
Eric Cornelissen 2019-07-25 23:26:27 +01:00
parent d27c51ed4c
commit ddc3fe09d4

View File

@ -1,7 +1,7 @@
var icons = {%s};
Object.defineProperty(icons, "get", {
enumerate: false,
enumerable: false,
value: function(targetName) {
if (icons[targetName]) {
return icons[targetName];