Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

redefine package name

  • Loading branch information...
commit b94cb5ba252e7a55dea46925f985eb783742ebc3 1 parent bc4ba71
@amccollum authored
Showing with 3 additions and 4 deletions.
  1. +2 −2 package.json
  2. +1 −2  src/index.coffee
View
4 package.json
@@ -1,7 +1,7 @@
{
"name": "ender-events",
- "version": "0.0.1",
- "description": "An implementation of the EventEmitter class for client-side use",
+ "version": "0.0.2",
+ "description": "An implementation of the node EventEmitter class for client-side use",
"keywords": ["ender", "events", "node-compat"],
"author": "Andrew McCollum <amccollum@gmail.com>",
"url": "http://github.com/amccollum/ender-events",
View
3  src/index.coffee
@@ -1,5 +1,4 @@
-# A basic implementation of the node.js EventEmitter class
-events = exports ? (@['events'] = {})
+events = exports ? if provide then provide('events') else (@['events'] = {})
class events.EventEmitter
emit: (type) ->
Please sign in to comment.
Something went wrong with that request. Please try again.