Skip to content

Commit

Permalink
v2.4.1 June 16, 2014
Browse files Browse the repository at this point in the history
- Removed `events-browser` implied dep, as browserify shim now works
  • Loading branch information
balupton committed Jun 16, 2014
1 parent 74d1273 commit c074a1e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
3 changes: 3 additions & 0 deletions HISTORY.md
@@ -1,5 +1,8 @@
# History

## v2.4.1 June 16, 2014
- Removed `events-browser` implied dep, as browserify shim now works

## v2.4.0 June 16, 2014
- Updated dependencies

Expand Down
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -35,6 +35,15 @@ Emit events in serial or parallel with support for synchronous and asynchronous
- Use: `require('event-emitter-grouped')`
- Install: `npm install --save event-emitter-grouped`

### [Browserify](http://browserify.org/)
- Use: `require('event-emitter-grouped')`
- Install: `npm install --save event-emitter-grouped`
- CDN URL: `//wzrd.in/bundle/event-emitter-grouped@2.4.0`

### [Ender](http://ender.jit.su/)
- Use: `require('event-emitter-grouped')`
- Install: `ender add event-emitter-grouped`

<!-- /INSTALL -->


Expand Down
5 changes: 3 additions & 2 deletions package.json
@@ -1,7 +1,7 @@
{
"title": "Event Emitter Grouped",
"name": "event-emitter-grouped",
"version": "2.4.0",
"version": "2.4.1",
"description": "Emit events in serial or parallel with support for synchronous and asynchronous listeners",
"homepage": "https://github.com/bevry/event-emitter-grouped",
"license": {
Expand Down Expand Up @@ -30,6 +30,7 @@
"completion",
"callback"
],
"browsers": true,
"author": "2013+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me), 2011-2012 Benjamin Lupton <b@lupton.cc> (http://balupton.com)",
"maintainers": [
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)"
Expand All @@ -50,7 +51,7 @@
},
"dependencies": {
"ambi": "~2.2.0",
"taskgroup": "4"
"taskgroup": "^4.0.0"
},
"devDependencies": {
"coffee-script": "~1.7.1",
Expand Down
4 changes: 2 additions & 2 deletions src/lib/event-emitter-grouped.coffee
@@ -1,11 +1,11 @@
# Import
events = if window? then require('events-browser') else require('events')
{EventEmitter} = require('events')
ambi = require('ambi')
{TaskGroup} = require('taskgroup')

# Group
# Allows you to emit events in serial or parallel
class EventEmitterGrouped extends events.EventEmitter
class EventEmitterGrouped extends EventEmitter

# Get Listener Group
# Fetch the listeners for a particular event as a task group
Expand Down

0 comments on commit c074a1e

Please sign in to comment.