UNPKG

nflow

Version:
24 lines (22 loc) 898 B
# 0.2.15 - emitter performance fixes - initial jsdocs # 0.2.12 - event name caching # 0.2.5 - added `.stats()` API - fixed bug where `flow.dispose()` was not called on child nodes - the default node name is now an empty string(rather than the guid) # 0.2.0 - `.call()` is now called with the current node as `this` - `.call()`: `this.target` is now referring to `this`, to make `.on` and `.call` handlers consistent - Added `.stopPropagation` variants for all flow directions, eg.: - `.stopPropagation.upstream()` - `.stopPropagation('upstream')` - `.stopPropagation('UPSTREAM')` - `.stopPropagation(flow.direction.UPSTREAM)` - `.version` API now exposes npm version - `flow.childRemoved` internal event is now deprecated. - `flow.childAdded` internal event is now deprecated. - `flow.parent` internal event has been added - `flow.parented` internal event has been added