Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The BA-Server's client-side Javascript is making the transition from plain Javascript files to AMD-compatible script modules. loading using the This began with the 4.5 release and has continued in 4.8. We've also taken the opportunity to update to RequireJS 2.0 AMD compatible script loader. The following describes the system as it exists in 4.8.

What is AMD?

Asynchronous Module Definitions are JavaScript files that declare a module name and list their dependencies. These script files are not included directly in the HTML source, rather they're loaded using the RequireJS script. Once a call has be made to load a module, it's retrieved from the server based on the URL mappings, it's dependencies are computed and retrieved, and baring any unresolved dependencies it is finally loaded and returned to the requestor.

...