summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/generate-style-code.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/generate-style-code.js b/scripts/generate-style-code.js
index 443f0c7cc9..dbca4216ad 100644
--- a/scripts/generate-style-code.js
+++ b/scripts/generate-style-code.js
@@ -111,6 +111,10 @@ global.defaultValue = function (property) {
return '{}';
}
+ if (property.name === 'heatmap-color') {
+ return '{}';
+ }
+
switch (property.type) {
case 'number':
return property.default;