mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-12-16 01:10:30 +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:
parent
d27c51ed4c
commit
ddc3fe09d4
@ -1,7 +1,7 @@
|
||||
var icons = {%s};
|
||||
|
||||
Object.defineProperty(icons, "get", {
|
||||
enumerate: false,
|
||||
enumerable: false,
|
||||
value: function(targetName) {
|
||||
if (icons[targetName]) {
|
||||
return icons[targetName];
|
||||
|
Loading…
Reference in New Issue
Block a user