diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2017-01-07 21:48:04 -0800 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2017-01-09 11:41:05 -0800 |
commit | 07496597276b977057839a1cfb3cf15e751c5dab (patch) | |
tree | 61cc1897b35c2f41359db9cc7c5ea409c77301f1 /platform/darwin/scripts | |
parent | 2b61880b579b8ab0015bf15bf225f0807ed0306d (diff) | |
download | qtlocation-mapboxgl-07496597276b977057839a1cfb3cf15e751c5dab.tar.gz |
[ios, macos] Added MGLShape from GeoJSON example
Added an example of deserializing an MGLShape from a GeoJSON file.
Diffstat (limited to 'platform/darwin/scripts')
-rw-r--r-- | platform/darwin/scripts/update-examples.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/scripts/update-examples.js b/platform/darwin/scripts/update-examples.js index 2aeb80e139..6291326068 100644 --- a/platform/darwin/scripts/update-examples.js +++ b/platform/darwin/scripts/update-examples.js @@ -100,7 +100,7 @@ function completeExamples(os) { } // Get the contents of the test method whose name matches the symbol path. - let testMethodName = symbolPath.join('$').replace(/$[+-]/, '').replace(/:/g, '_'); + let testMethodName = symbolPath.join('$').replace(/\$[+-]/, '$').replace(/:/g, '_'); let example = examples[testMethodName]; if (!example) { console.error(`MGLDocumentationExampleTests.${testMethodName}() not found.`); |