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
Might work in IE<11... no promises
Changed
- added Advanced Usage section and info on isomorphic apps to README
Fixed
script.dataset
isundefined
in IE10 #67
Default to JSAPI 4.6 and bug fix for universal (server-rendered) apps
A Promise-ing future!
Added
- add promise-based functions to load the script and modules
Changed
- deprecate
bootstrap()
anddojoRequire()
- add code coverage
- add release script
A huge thanks to @nicksenger for inspiration, code, and insights on how to finally make the leap to a promise based API. 🎉
Handle script load errors
Added
- handle script load errors
Allow setting dojoConfig
Added
- set
window.dojoConfig
by passing as an option tobootstrap()
Changed
- no longer running tests in phantom
Default to JSAPI 4.5
Added
- default to version 4.5 of the ArcGIS API
Fixed
- don't throw an error when
bootstrap()
is called multiple times w/o a callback
Changed
- lint source before running build
Default to JSAPI 4.4
Thanks @ziveo!
Only works if script tag has `data-esri-loader` attribute
Now isLoaded()
only returns true if the script tag has the data-esri-loader
attribute.
This is a small, but breaking change, hence the major version bump
Thanks @kgs916!
Fixed no callback bug
Fixed
- fixed no callback bug
Support
- added unit tests
- add a minified build and source maps for published releases
Default export and output es5/umd (main) and es5/esm (module)
add default export
use rollup to create umd build w/ global ('esriLoader')
move source to src folder and rename to esri-loader
added CHANGELOG