API Docs for: 0.1.0
Show:

Cangaja Class

Module: CG

Item Index

Methods

CG._clone

(
  • obj
)
Object

Return a shallow copy of an object. Sub-objects (and sub-arrays) are not cloned. (uses extend internally)

Parameters:

Returns:

Object:

cloned object

CG._extend

(
  • dest
  • source
)
Object

Extends a destination object with a source object (modifies destination object)

Parameters:

  • dest Object
    • destination object
  • source Object
    • source object

Returns:

Object:

returns the dest object