diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-06-20 09:07:01 +0300 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-08-13 13:32:56 +0300 |
commit | e6e751abd3cd785f02b3f691f52d1a4db00afdb8 (patch) | |
tree | bad7d4eef0442e2a66a516a0c235e02b4b9715a5 /platform/darwin/scripts/generate-style-code.js | |
parent | 603c02ccc21543473074787aaad7c89d282dddc9 (diff) | |
download | qtlocation-mapboxgl-e6e751abd3cd785f02b3f691f52d1a4db00afdb8.tar.gz |
[darwin] Update documentation text for enum array value
Diffstat (limited to 'platform/darwin/scripts/generate-style-code.js')
-rwxr-xr-x | platform/darwin/scripts/generate-style-code.js | 2 |
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 18afa561e5..38066c9f43 100755 --- a/platform/darwin/scripts/generate-style-code.js +++ b/platform/darwin/scripts/generate-style-code.js @@ -409,7 +409,7 @@ global.propertyDoc = function (propertyName, property, layerType, kind) { doc += '* Any of the following constant string values:\n'; doc += Object.keys(property.values).map(value => ' * `' + value + '`: ' + property.values[value].doc).join('\n') + '\n'; } else if (property.type === 'array' && property.value === 'enum') { - doc += '* Constant array, whose each element is any of the following constant string values:\n'; + doc += '* Constant array, in which each element is any of the following constant string values:\n'; doc += Object.keys(property.values).map(value => ' * `' + value + '`: ' + property.values[value].doc).join('\n') + '\n'; } if (property.type === 'formatted') { |