mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-16 02:14:12 +03: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