summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYoung Hahn <young@mapbox.com>2016-06-15 11:38:22 -0400
committerGitHub <noreply@github.com>2016-06-15 11:38:22 -0400
commit24b66bc8cdd40a52e08d198c063daa3e1f6be92a (patch)
tree6d98a5e1216a83f7d6d4c78422c8306d4a4cb157 /scripts
parentfe64238b4cd5a7da403a4f29a62b14234ecba569 (diff)
downloadqtlocation-mapboxgl-24b66bc8cdd40a52e08d198c063daa3e1f6be92a.tar.gz
Color class (#5361)
* Color class * Switch to list initialization
Diffstat (limited to 'scripts')
-rw-r--r--scripts/generate-style-code.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate-style-code.js b/scripts/generate-style-code.js
index 6469cf55fd..7859c65a0e 100644
--- a/scripts/generate-style-code.js
+++ b/scripts/generate-style-code.js
@@ -63,7 +63,7 @@ global.defaultValue = function (property) {
return `${propertyType(property)}::${camelize(property.default)}`;
}
case 'color':
- return `{{ ${parseCSSColor(property.default).join(', ')} }}`
+ return `{ ${parseCSSColor(property.default).join(', ')} }`
case 'array':
const defaults = (property.default || []).map((e) => defaultValue({ type: property.value, default: e }));
if (property.length) {