Comparing version 3.0.0 to 3.1.0
@@ -30,2 +30,3 @@ var copy = require('shallow-copy'), | ||
} | ||
eventuate.factory = mkEventuate | ||
@@ -32,0 +33,0 @@ if (monitored) { |
{ | ||
"name": "eventuate", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Handle events without emitters", | ||
@@ -33,4 +33,4 @@ "main": "index.js", | ||
"devDependencies": { | ||
"eslint": "~1.0.0-rc-3", | ||
"eslint-config-standard": "~4.0.0-2", | ||
"@jasonpincin/standard": "~5.0.0-6", | ||
"eventuate-once": "~1.0.1", | ||
"istanbul": "~0.3.17", | ||
@@ -37,0 +37,0 @@ "opn": "~1.0.2", |
@@ -36,3 +36,5 @@ # eventuate | ||
See [example/compare.js](https://github.com/jasonpincin/eventuate/blob/master/example/compare.js) for more compare/contrast between `eventuate` and `EventEmitter`. | ||
## api | ||
@@ -106,3 +108,9 @@ | ||
## supporting modules | ||
The following modules support and extend the functionality of eventuate: | ||
* [eventuate-once](https://github.com/jasonpincin/eventuate-once) - act once (via callback or promise) upon the next occurrence of an eventuate | ||
* [eventuate-filter](https://github.com/jasonpincin/eventuate-filter) - create filtered eventuate, acting as subset of broader eventuate | ||
## install | ||
@@ -109,0 +117,0 @@ |
@@ -5,3 +5,3 @@ var test = require('tape'), | ||
test('eventuate', function (t) { | ||
t.plan(7) | ||
t.plan(8) | ||
@@ -25,2 +25,4 @@ var event = eventuate() | ||
t.throws(event, 'requires a consuming function') | ||
t.equal(event.factory, eventuate, 'exposes factory as .factory') | ||
}) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
15615
15
205
135