OopJs Wiki
Native Java-like Script for Modern Browsers
Status: Abandoned
Brought to you by:
winstontamblyn
Packaging allows us to organize our classes, or modules, into namespaces.
Example:
$package(['path.to',] function packageDef($) { ... })
The first argument is optional and is a string representation of the namespace we are currently working in.
packageDef is a function that accepts one parameter to be dubbed the internal object. This object holds information relative to the package such as: