Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Releases: Esri/esri-loader

Default to JSAPI 4.15

09 Apr 20:01
Compare
Choose a tag to compare

Added

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

Default to JSAPI 4.14

22 Dec 16:41
Compare
Choose a tag to compare

Set script options once and forgetaboudit

24 Oct 18:47
Compare
Choose a tag to compare

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.

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

16 Oct 00:33
Compare
Choose a tag to compare

Added

  • default to JSAPI 4.13; update docs w/ latest version numbers - thanks @ziveo!
  • add support for next version of ArcGIS API - thanks @stdavis!

Use light theme & doc using modules synchronously

12 Oct 16:25
Compare
Choose a tag to compare

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

Better TS Support

27 Sep 23:44
Compare
Choose a tag to compare

Changed

  • Added generics for loadModules typings improvements. #183 - thanks @deskoh!

Default to JSAPI v4.12

04 Jul 06:12
Compare
Choose a tag to compare

Added

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

Thank you @ziveo!

v2.9.2

18 Apr 17:07
Compare
Choose a tag to compare

Fixed

  • window undefined in Node environments

Default to ArcGIS API 4.11

29 Mar 20:26
Compare
Choose a tag to compare

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

28 Mar 14:10
Compare
Choose a tag to compare

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