summaryrefslogtreecommitdiff
path: root/platform/darwin/scripts
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-10-05 03:25:04 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-10-11 15:30:16 -0700
commitc78b5b1d7e95f139ad667781bec0d67b5976809d (patch)
treee3f7f70b96687bd270acfe6db6349576d4602455 /platform/darwin/scripts
parentc1b05c8f5bd0c0a559dfa75443632fc3c48384f4 (diff)
downloadqtlocation-mapboxgl-c78b5b1d7e95f139ad667781bec0d67b5976809d.tar.gz
[ios, macos] Simplified style property enum names
The name of each enumeration type no longer refers to the layer type that uses it.
Diffstat (limited to 'platform/darwin/scripts')
-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 728a2902e9..0c8b704e91 100644
--- a/platform/darwin/scripts/generate-style-code.js
+++ b/platform/darwin/scripts/generate-style-code.js
@@ -25,7 +25,7 @@ global.objCName = function (property) {
}
global.objCType = function (layerType, propertyName) {
- return `${prefix}${camelize(layerType)}${suffix}${camelize(propertyName)}`;
+ return `${prefix}${camelize(propertyName)}`;
}
global.arrayType = function (property) {