Skip to content

Commit

Permalink
Merge pull request #59 from sthiyaku/add-api-new-version
Browse files Browse the repository at this point in the history
Added new version to snippet
  • Loading branch information
hhkaos authored Oct 21, 2024
2 parents a53b633 + aaab48d commit d0aa40f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snippets/html.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"Get the API from the CDN": {
"prefix": "getApi",
"body": [
"<link rel=\"stylesheet\" href=\"https://js.arcgis.com/${1|4.28,4.27,4.26,4.25,4.24,4.23,4.22,4.21,4.20,4.19,4.18,4.17,4.16,1.15,4.14|}/esri/css/main.css\">",
"<script src=\"https://js.arcgis.com/${2|4.28,4.27,4.26,4.25,4.24,4.23,4.22,4.21,4.20,4.19,4.18,4.17,4.16,4.15,4.14|}\"></script>"
"<link rel=\"stylesheet\" href=\"https://js.arcgis.com/${1|4.30,4.29,4.28,4.27,4.26,4.25,4.24,4.23,4.22,4.21,4.20,4.19,4.18,4.17,4.16,1.15,4.14|}/esri/css/main.css\">",
"<script src=\"https://js.arcgis.com/${2|4.30,4.29,4.28,4.27,4.26,4.25,4.24,4.23,4.22,4.21,4.20,4.19,4.18,4.17,4.16,4.15,4.14|}\"></script>"
],
"description": "Add script and link tags for jsapi"
},
Expand All @@ -22,4 +22,4 @@
],
"description": "Sets /app folder to be able to load packages using require([\"app/your_file.js\"]);"
}
}
}

0 comments on commit d0aa40f

Please sign in to comment.