All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
fix build by not compiling @types
dojoConfig
setDefaultOptions()
to set default loadScript()
options at app startup (#192) - thanks @JoshCrozier!
updated README to emphasize setDefaultOptions()
and link to the new Framework Guides
added "Using Modules Synchronously" to the docs (README) - thanks @stdavis!
css: true
uses the correct URL the light theme (/esri/themes/light/main.css
) - thanks @stdavis
loadScript()
takes a new version
option to load a specific version from the CDNcss: true
to loadScript()
will load the styles for the CDN versionloadCss()
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
split source code into modules
tests are now written in TypeScript and loaded via karma-typescript
updated to recent versions of TypeScript, Karma, & Jasmine
insertCssBefore
option to insert CSS link before an existing elementdefault to JSAPI 4.7; update docs w/ latest version numbers
added Hyperapp example link to README
move CSS functions into own module
no longer publishing src folder b/c it is not needed
loadScript()
takes a css
option to load stylesheet by URL
added Choo and Riot example links to README
added loadCss(url) to inject a stylesheet link
added GitHub issue and pull request templates
added badges to README
added section on updating from previous versions to README
added reusable library sections for Angular and React
added links to ember-esri-loader examples and CanJS
changed npm scripts to rely on rimraf and mkdirp for Windows support
check in yarn.lockfile and use yarn
make getScript() a public API #44
Add link to esri-vue-cli-example to README
added Advanced Usage section and info on isomorphic apps to README
script.dataset
is undefined
in IE10 #67
default to version 4.6 of the ArcGIS API #63
remove remaining references to angular-esri-loader from README
update README w/ info on arcgis types and browser support #60
window undefined error in server-rendered apps #64
don't generate sourcemaps when compiling TypeScript
re-include umd at dist root to avoid breaking apps w/ hardcoded path
add promise-based functions to load the script and modules
deprecate bootstrap()
and dojoRequire()
add code coverage
add release script
window.dojoConfig
by passing as an option to bootstrap()
dojoRequire()
's callbackbootstrap()
is called multiple times w/o a callbackisLoaded()
only returns true if the script tag has the data-esri-loader
attribute