summaryrefslogtreecommitdiff
path: root/platform/darwin/scripts/generate-style-code.js
diff options
context:
space:
mode:
authorFredrik Karlsson <bjorn.fredrik.karlsson@gmail.com>2016-12-06 17:08:32 +0100
committerFredrik Karlsson <bjorn.fredrik.karlsson@gmail.com>2016-12-06 22:18:03 +0100
commit903246b25647fe224f6f81684aa6456f45654dbb (patch)
treee2eafc8523050fd3809ff740cbc0a08329e91259 /platform/darwin/scripts/generate-style-code.js
parentdc2dc31c0bdd4f0b27412125032bfa694ade26b9 (diff)
downloadqtlocation-mapboxgl-903246b25647fe224f6f81684aa6456f45654dbb.tar.gz
[ios, macos] renamed dasharray and icon size
Diffstat (limited to 'platform/darwin/scripts/generate-style-code.js')
-rw-r--r--platform/darwin/scripts/generate-style-code.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/scripts/generate-style-code.js b/platform/darwin/scripts/generate-style-code.js
index b5689dca3a..015bb19a78 100644
--- a/platform/darwin/scripts/generate-style-code.js
+++ b/platform/darwin/scripts/generate-style-code.js
@@ -39,7 +39,7 @@ global.objCType = function (layerType, propertyName) {
}
global.arrayType = function (property) {
- return property.type === 'array' ? property.name.split('-').pop() : false;
+ return property.type === 'array' ? originalPropertyName(property).split('-').pop() : false;
};
global.testImplementation = function (property, layerType, isFunction) {