Namespace fabric.util.object
fabric.util.object
Defined in: lang_object.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
fabric.util.object.clone(object)
Creates an empty object and copies all enumerable properties of another object to it
|
<static> |
fabric.util.object.extend(destination, source)
Copies all enumerable properties of one object to another
|
Method Detail
<static>
fabric.util.object.clone(object)
Creates an empty object and copies all enumerable properties of another object to it
- Parameters:
- {Object} object
- Object to clone
<static>
fabric.util.object.extend(destination, source)
Copies all enumerable properties of one object to another
- Parameters:
- {Object} destination
- Where to copy to
- {Object} source
- Where to copy from