This is the mixin object, this will help with mixing in the objects.

Defined in: lib/mixin/mixin.js:3

Methods

has (target)

This method checks if the target has mixins defined or not.

Parameters

Name Type Description
target Object The object to be checked.

Returned Value

Boolean: The value of the hasMixin property.


mix (target, source)

Mix the mixableMethods of the source into the target. This will also set the hasMixins property on the target.

Parameters

Name Type Description
target Object The object receiving the methods
source Object The object giving the methods