API Docs for: 1.5.0
Show:

extend Class

Defined in: src/utils/extend.js:4

Provides only the extend function.

Item Index

Methods

Methods

extend

(
  • target
  • [obj]
)
Object static

Extend the given object with properties of an arbitrary amount of other objects

Override priority is determined using the order the objects are given in Each further object has a higher priority then the one before it.

Only actual properties of the given objects will be used not the ones bubbling up through the prototype chain.

Parameters:

  • target Object
  • [obj] Object optional multiple

    Arbitrary amount of objects which will extend the first one

Returns:

Object:

the extended object