Class AjxInclude
Object
|
+--AjxInclude
- class
AjxInclude
Defined in AjxInclude.js
Author: Mihai Bazon,
Constructor Summary |
AjxInclude
(includes, baseurl, callback, proxy)
Utility function (NOT object!) that loads external files in a specified
order (thus it'll work fine if scripts have dependencies, you just need to
pass them all in the includes array).
|
dwhack_scripts
<static> Object dwhack_scripts
eventName
<static> Object eventName
AjxInclude
AjxInclude(includes, baseurl, callback, proxy)
Utility function (NOT object!) that loads external files in a specified
order (thus it'll work fine if scripts have dependencies, you just need to
pass them all in the includes array). If a callback is given, it will be
called when all the scripts in the includes array (and possibly dependencies
generated by them using document.write) are loaded.
Note that scripts are loaded asynchronously -- this function returns
immediately, but there's no guarantee that scripts have finished loading by
that time. DO pass a callback if you want to execute code that rely on
those scripts.
Parameters:
includes
- [Array] -- an array of strings; each is the URL to some script
baseurl
- [String] -- URL that will be prepended to scripts with a relative address (not starting with http://, ftp:// or /)
callback
- [AjxCallback] -- will be called when all scripts were processed
_removeWriteln
<static> void _removeWriteln()
Documentation generated by
JSDoc on Thu Apr 27 13:58:40 2006