This repository has been archived by the owner on Nov 6, 2024. It is now read-only.
Releases: Esri/esri-loader
Releases · Esri/esri-loader
Default to JSAPI 4.15
Added
- default to JSAPI 4.15; update docs w/ latest version numbers - @JoshCrozier
Default to JSAPI 4.14
Thanks @gpbmike!
Set script options once and forgetaboudit
Added
setDefaultOptions()
to set defaultloadScript()
options at app startup (#192) - thanks @JoshCrozier!
Changed
- updated README to emphasize
setDefaultOptions()
and link to the new Framework Guides
This is gonna be YUGE. See how this is used to set the version
option to understand how this should greatly simplify apps that call loadModules()
multiple times.
Default to JSAPI v4.13; add support "next" version
Use light theme & doc using modules synchronously
Better TS Support
Default to JSAPI v4.12
v2.9.2
Default to ArcGIS API 4.11
Added
- default to JSAPI 4.11; update docs w/ latest version numbers
Thanks again to @ziveo and to @jburka!
Also includes an @davewilton's info on using TypeScript's import()
. Thanks Dave!
Load script and CSS from CDN w/o having to use URLs
Added
loadScript()
takes a newversion
option to load a specific version from the CDN- passing
css: true
toloadScript()
will load the styles for the CDN version loadCss()
defaults to loading the latest 4.x styles if no arguments are passedloadCss()
can take a version as a string to load a version's styles from the CDN
Changed
- split source code into modules
- tests are now written in TypeScript and loaded via karma-typescript
- updated to recent versions of TypeScript, Karma, & Jasmine