Home Identifier Source Test Repository

Test

Description Identifier Count

should expose MiniSignal and MiniSignalBinding

-

emits with context

-

should expose MiniSignal and MiniSignalBinding

-

emits with context

-

should only remove the specific listener

-

should remove from front

-

should remove from middle

-

emits to all event listeners after removing

-

can remove previous node in dispatch

-

can remove next node in dispatch

-

can remove node in dispatch

-

can remove current node in dispatch

-

inherits when used with require(util).inherits

-

should return false when there are not events to dispatch

-

should return false when there are not events to dispatch

-

should return false when there are not events to dispatch

-

emits with context

-

emits with context, multiple arguments (force apply)

-

can dispatch the function with multiple arguments

-

can dispatch the function with multiple arguments, multiple listeners

-

can dispatch many listeners

-

emits with context, multiple listeners (force loop)

-

emits with different contexts

-

should return true when there are events to dispatch

-

should return false when there are no events to dispatch

-

receives the emitted events

-

emits to all event listeners

-

emits to all event listeners

-

emits to all event listeners, removes once

-

returns an empty array if no handlers are added

-

returns an array of MiniSignalBinding

-

is not vulnerable to modifications

-

can return a boolean as indication if handlers exist

-

should throw an error if not a SignalBinding

-

should only remove the event with the specified function

-

should remove from front

-

should remove from middle

-

emits to all event listeners after removing

-

can remove previous node in dispatch

-

can remove next node in dispatch

-

can remove node in dispatch

-

can remove current node in dispatch

-

removes all events

-

should not thow an error if no listerners are set

-

Example Usage

-

Another Example

-

Function#bind example

-

Function#bind example with parameters

-