Class Index | File Index

Classes


Built-In Namespace Function

Method Summary
Method Attributes Method Name and Description
 
$extend(Parent)
Extends an Object by setting up the prototype chain.
<private>  
registerType(typeSpec)
Type Registration.
Method Detail
{Function} $extend(Parent)
Extends an Object by setting up the prototype chain.

This method can have a Function or Object passed in as an argument. If a Function is passed in, 'new' will be called on it to create an Object. The new Object will then be set on the target Function's prototype.
Defined in: sys.js.

Parameters:
{Function|Object} Parent
Returns:
{Function} the instance Function.

<private> {Object} registerType(typeSpec)
Type Registration.

Registers the Constructor with the given TypeSpec. This method is used to extend BajaScript and associate JavaScript Objects with Niagara Types.

This method also performs checks on the given Constructor to ensure it's suitable for the given Type.
Defined in: sys.js.

Parameters:
{String} typeSpec
the TypeSpec we want to register with.
Returns:
{Object} the Object (this).

Documentation generated by JsDoc Toolkit 2.3.2