Add color maps

This commit is contained in:
2023-09-22 14:44:58 +00:00
parent a8eb444991
commit 721abd6a8f
7 changed files with 126 additions and 51 deletions

View File

@@ -42,10 +42,8 @@ var descriptors = {};
Object.deepfreeze = function(obj)
{
for (var key in obj) {
if (typeof obj[key] === 'object') {
Object.freeze(obj[key]);
if (typeof obj[key] === 'object')
Object.deepfreeze(obj[key]);
}
}
Object.freeze(obj);
}