Ajile 1.2.1
Copyright (c) 2003-2008 Michael Lee, ajile.iSkitz.com
All rights reserved.
URL: http://ajile.iskitz.com/
AJILE, the Advanced JavaScript
Importing & Loading Extension brings
immediate support for
load,
import,
include and
namespace to a wide variety of
JavaScript-enabled browsers.
Ajile simplifies and enhances web development by supporting
efficient,
interoperable, and
unobtrusive JavaScript. Developers will also
find help protecting their code's
intellectual property
via Ajile's configurable
runtime source-code cloaking.
As the name implies, Ajile can be used to make web sites and applications
fast and responsive via highly interoperable scripts capable of loading and
importing functionality as needed.
Import | : Used to import JavaScript modules with full & shortened-name access. |
ImportAs | : Used to import JavaScript modules with aliased shortened-name or full-name access. |
Include | : Used to include JavaScript modules with full-name access only. |
Load | : Used to load JavaScript modules from a specific location. |
Namespace | : Used to define a JavaScript namespace. |
Ajile.AddImportListener() | : Allows adding an import event listener. |
Ajile.EnableCloak() | : Toggles on/off source code cloaking. |
Ajile.EnableDebug() | : Toggles on/off logging of Ajile's debug information. |
Ajile.EnableLegacy() | : Toggles on/off support for code using legacy releases (i.e. JSPackaging & Ajile 0.5.5 and earlier). |
Ajile.EnableOverride() | : Toggles on/off silently overriding similarly named modules. |
Ajile.EnableRefresh() | : Toggles on/off guaranteed refreshing of loaded scripts and imported modules. |
Ajile.GetVersion() | : Retrieves Ajile's version number. |
Ajile.RemoveImportListener() | : Allows removing an import event listener. |
Ajile.SetOption(<option name>, [true|false]) | : Toggles on/off the specified option (i.e. cloak, debug, legacy, mvc, mvcshare, override, refresh). |
Ajile.ShowLog() | : Displays Ajile's debug information. |
Ajile.Unload([moduleName|namespace]) | : Unloads the specified module, namespace, or Ajile and its resources from memory. |
The following options are used to enable/disable Ajile features at load time:
cloak | : Toggles on/off source code hiding. |
debug | : Toggles on/off logging of Ajile's debug information. |
legacy | : Toggles on/off support for code using legacy releases (i.e. JSPackaging & Ajile 0.5.5 and earlier). |
mvc | : Toggles on/off the auto-loading of a page's control module. |
mvcshare | : Toggles on/off the auto-loading of a site's shared control module. |
override | : Toggles on/off silently overriding similarly named modules. |
refresh | : Toggles on/off guaranteed refreshing of loaded scripts and imported modules. |