The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Class Index | File Index

Classes


Class orion.objects

Object-oriented helpers.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.core/web/orion/objects.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
orion.objects.clone(object)
Creates a shallow clone of the given object.
<static>  
orion.objects.mixin(target, source)
Mixes all source's own enumerable properties into target.
<static>  
orion.objects.toArray(obj)
Wraps an object into an Array if necessary.
Class Detail
orion.objects()
Method Detail
<static> {Object|Array} orion.objects.clone(object)
Creates a shallow clone of the given object.
Parameters:
{Object|Array} object
The object to clone. Must be a "normal" Object or Array. Other built-ins, host objects, primitives, etc, will not work.
Returns:
{Object|Array} A clone of object.

<static> orion.objects.mixin(target, source)
Mixes all source's own enumerable properties into target. Multiple source objects can be passed as varags.
Parameters:
{Object} target
{Object} source

<static> {Array} orion.objects.toArray(obj)
Wraps an object into an Array if necessary.
Parameters:
{Object} obj
An object.
Returns:
{Array} Returns obj unchanged, if obj is an Array. Otherwise returns a 1-element Array whose sole element is obj.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Apr 01 2014 22:58:24 GMT-0400 (EDT)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.