Login Register

Resource loader changes

The Dojo module resource loader no longer uses an algorithm that attempts to look "up" the filesystem if the first request for a module does not result in success. This brings Dojo's default loader in line with the behavior of the more recent cross-domain (xdomain) loader. Many internal functions have been renamed or removed, but since they did not have public names, these changes are not covered here. If you wrote or maintained code which depended upon the internal state or structure of the loader, please read the new code to determine how to upgrade your code.

API changes of note

  • dojo.hostenv.loadedUris is now moved to dojo._loadedUrls
  • dojo.requireIf() now only accepts boolean conditions for it's first argument. No strings aliases are allowed in Dojo 0.9.
  • Note: There seems to be an issue with using Opera 9 with BASE tags. Opera loads the module resources on the wrong path instead of obeying base tag.