esri-loader

A tiny library to help load ArcGIS API for JavaScript modules in non-Dojo applications

APACHE-2.0 License

Downloads
219.8K
Stars
457
Committers
32

Bot releases are visible (Hide)

esri-loader - Default to JSAPI 4.25 Latest Release

Published by tomwayson almost 2 years ago

Added

  • default to JS API 4.25; update docs w/ latest version numbers - @andygup

Changed

  • raise visibility of deprecation notice for frameworks that do not support async/await at runtime, e.g. Angular due to limitations in Zone.js
  • archive framework samples and various 3.x-related sections to archived-examples.md. Most of the samples haven't been updated in years
esri-loader - Default to JSAPI 4.24

Published by tomwayson over 2 years ago

Thanks @gavinr!

esri-loader - Default to JSAPI 4.23

Published by tomwayson over 2 years ago

Thanks @gavinr!

esri-loader - Default to JSAPI 4.22

Published by tomwayson almost 3 years ago

Added

  • default to JSAPI 4.22; update docs w/ latest version numbers - @gavinr
esri-loader - Default to JSAPI 4.21

Published by tomwayson about 3 years ago

Thanks @vannizhang!

esri-loader - Default to JSAPI 4.20

Published by tomwayson over 3 years ago

Added

  • default to JSAPI 4.20; update docs w/ latest version numbers - @gavinr
esri-loader - Default to JSAPI 4.19

Published by tomwayson over 3 years ago

Added

  • default to JSAPI 4.19; update docs w/ latest version numbers - @vannizhang
esri-loader - Default to JSAPI 4.18

Published by tomwayson almost 4 years ago

Added

  • default to JSAPI 4.18; update docs w/ latest version numbers - @gavinr

Breaking

  • default version of JSAPI no longer supports IE
  • remove option to set dojoConfig (just set window.dojoConfig prior to calling loadModules())
  • remove esri-loader default export
esri-loader - Default to JSAPI 4.17

Published by tomwayson about 4 years ago

Added

  • default to JSAPI 4.17; update docs w/ latest version numbers - @tgirgin23
esri-loader - Default to JSAPI 4.16

Published by tomwayson over 4 years ago

Added

  • default to JSAPI 4.16; update docs w/ latest version numbers - @JoshCrozier
esri-loader - Default to JSAPI 4.15

Published by tomwayson over 4 years ago

Added

  • default to JSAPI 4.15; update docs w/ latest version numbers - @JoshCrozier
esri-loader - Default to JSAPI 4.14

Published by tomwayson almost 5 years ago

Thanks @gpbmike!

esri-loader - Set script options once and forgetaboudit

Published by tomwayson almost 5 years ago

Added

  • setDefaultOptions() to set default loadScript() 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.

esri-loader - Default to JSAPI v4.13; add support "next" version

Published by tomwayson about 5 years ago

Added

  • default to JSAPI 4.13; update docs w/ latest version numbers - thanks @ziveo!
  • add support for next version of ArcGIS API - thanks @stdavis!
esri-loader - Use light theme & doc using modules synchronously

Published by tomwayson about 5 years ago

Changed

  • added "Using Modules Synchronously" to the docs (README) - thanks @stdavis!

Fixed

  • css: true uses the correct URL the light theme (/esri/themes/light/main.css) - thanks @stdavis
esri-loader - Better TS Support

Published by tomwayson about 5 years ago

Changed

  • Added generics for loadModules typings improvements. #183 - thanks @deskoh!
esri-loader - Default to JSAPI v4.12

Published by tomwayson over 5 years ago

Added

  • default to JSAPI 4.12; update docs w/ latest version numbers

Thank you @ziveo!

esri-loader -

Published by tomwayson over 5 years ago

Fixed

  • window undefined in Node environments
esri-loader - Default to ArcGIS API 4.11

Published by tomwayson over 5 years ago

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!

esri-loader - Load script and CSS from CDN w/o having to use URLs

Published by tomwayson over 5 years ago

Added

  • loadScript() takes a new version option to load a specific version from the CDN
  • passing css: true to loadScript() will load the styles for the CDN version
  • loadCss() defaults to loading the latest 4.x styles if no arguments are passed
  • loadCss() 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
Package Rankings
Top 1.54% on Npmjs.org
Top 9.63% on Proxy.golang.org
Badges
Extracted from project README
deprecated npm npm npm GitHub stars
Related Projects