- util
Namespace: util
- Module
- Global
- Defined In
- libs/util.js
Public Methods
| Method | Defined By | |
|---|---|---|
| Expand beget |
beget (o:*)
:
void
<static>
Arguments
Returns
|
util |
| Expand callback |
callback (target:*,method:*)
:
void
<static>
Arguments
Returns
|
util |
| Expand copy |
copy (obj:Object)
:
Object
<static>
Creates a deep copy of an object
|
util |
| Expand domReady |
domReady ()
:
void
<static>
Returns
|
util |
| Expand each |
each (arr:Array,func:Function)
:
Array
<static>
Iterates over an array and calls a function for each item.
Arguments
Returns
|
util |
| Expand extend |
extend (target:*,ext:*)
:
void
<static>
Arguments
Returns
|
util |
| Expand isArray |
isArray (ar:Array)
:
Boolean
<static>
Tests if a given object is an Array
Arguments
Returns
|
util |
| Expand isDate |
isDate (ar:Date)
:
Boolean
<static>
Tests if a given object is a Date
Arguments
Returns
|
util |
| Expand isRegExp |
isRegExp (ar:RegExp)
:
Boolean
<static>
Tests if a given object is a RegExp
Arguments
Returns
|
util |
| Expand map |
map (arr:Array,func:Function)
:
Array
<static>
Iterates over an array, calls a function for each item and returns the results.
Arguments
Returns
|
util |
| Expand merge |
merge (firstObject:Object,secondObject:Object)
:
Object
<static>
Merge two or more objects and return the result.
|
util |
| Expand populateIndex |
populateIndex (parent:Object,modules:String)
:
Object
<static>
Utility to populate a namespace's index with its modules
|
util |
| Expand ready |
ready (func:*)
:
void
<static>
Arguments
Returns
|
util |
Private Members
This namespace has no private members.