Skip to content

Release 2.0.0 Beta 1

Latest
Compare
Choose a tag to compare
@kitsonk kitsonk released this 04 Mar 17:01
· 124 commits to master since this release

This is the first beta release of the dojo/loader, we now anticipate the API to remain fairly consistent until the initial release of the loader v2.

New Features

  • Addition of require.on to listen for loader events. (see #42)
  • Addition of event type 'error' to receive more information when a module fails to load. (see #14, #42)

Changes

  • Updating to TypeScript 1.8 (see #45)
    • Note that the typings for the package now utilises a string literal, which was introduced in TypeScript 1.8, meaning the typings now require TypeScript 1.8+ to be used.
  • Aligning to the AMD specification, plugins now receive a configuration object (see #34)
  • Aligning to the AMD specification, configuration can no longer be passed as the first argument (see #48)

Fixes

  • The loader map now handles plugins properly which have a configuration (see #21)