Skip to content

Commit 3ad951f

Browse files
committed
Updated the extension file to include the new readme text
1 parent 9ed9885 commit 3ad951f

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ All notable changes to the "arcgis-jsapi-snippets" extension will be documented
44

55
## [Version 1.0.0]
66

7-
- Initial release
7+
- Initial release
8+
9+
## [Version 1.1.0]
10+
11+
- Added versions 4.13 and 4.14 to the list of versions for the getAPI snippet.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Read more about this feature in the official [VSCode documentation](https://code
1919

2020
### [HTML snippets](snippets/html.json)
2121

22-
| Prefix | Description |
23-
| ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
22+
| Prefix | Description |
23+
| ------ | ------------------------------------------------------------------------------------------------------------------------------ |
2424
| getApi | Add the css and javascript for the Esri ArcGIS API for JavaScript from the CDN. This snippet also stubs out the package paths. |
2525

2626
### [JavaScript snippets](snippets/javascript.json)

arcgis-jsapi-snippets-1.0.0.vsix

732 KB
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Code snippets for the ArcGIS API for JavaScript for 2D and 3D mapping and visualization.",
66
"license": "See license in License.txt",
77
"keywords": ["ArcGIS", "Esri", "GIS", "map", "mapping", "ArcGIS API for JavaScript", "TypeScript", "snippet", "JavaScript"],
8-
"version": "1.0.0",
8+
"version": "1.1.0",
99
"icon": "images/esri-logo-550.png",
1010
"engines": {
1111
"vscode": "^1.35.0"

snippets/html.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"Get the API": {
44
"prefix": "getApi",
55
"body": [
6-
"<link rel=\"stylesheet\" href=\"https://js.arcgis.com/${1|4.12,4.11|}/esri/css/main.css\">",
6+
"<link rel=\"stylesheet\" href=\"https://js.arcgis.com/${1|4.14,4.13,4.12,4.11|}/esri/css/main.css\">",
77
"<script>",
88
"\tvar locationPath = location.pathname.replace(/\\/[^\\/]+$/,\"\");",
99
"\twindow.dojoConfig = {",
@@ -15,7 +15,7 @@
1515
"\t]",
1616
"\t}",
1717
"</script>",
18-
"<script src=\"https://js.arcgis.com/${2|4.12,4.11|}\"></script>"
18+
"<script src=\"https://js.arcgis.com/${2|4.14,4.13,4.12,4.11|}\"></script>"
1919
],
2020
"description": "Add script and link tags for jsapi"
2121
}

0 commit comments

Comments
 (0)