Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[dist] removed crap

  • Loading branch information...
commit 4978b088a31d5b4891a68c66560aa938784d7432 1 parent 87abafa
hij1nx authored
Showing with 3 additions and 41 deletions.
  1. +0 −38 docs/protos
  2. +1 −1  lib/eventemitter2.js
  3. +2 −2 package.json
View
38 docs/protos
@@ -1,38 +0,0 @@
-//TODO doc this
- //Constructor
- EventEmitter2(conf)
- //functioned used by the constructor
- initializeEvents = function(conf)
- setEventDelimiter = function(delimiter)
- setEventCaseSensitive = function(caseSensative)
- setMaxListeners = function(n)
-
- //error helper function
- eventNameError = function(fn)
-
-//Listener related
- //Add Listener stub
- on = addListener;
- addListener = function(event, fn)
- //remove Listener stub
- un = removeListener;
- removeListener = function(event, fn)
- removeAllListeners = function()
-
- //Listen to ANY event
- onAny = function(fn)
- //remove Listener for onAny
- unAny = function(fn)
-
- //limited use listeners
- once = function(event, fn)
- many = function(event, ttl, fn)
-
- //get all listeners with this 'event'
- listeners = function(event)
- listenersAny = function ()
-
-//Emit related
- emit = function(event)
- //emit on All listeners
- emitAll = function()
View
2  lib/eventemitter2.js
@@ -1,4 +1,4 @@
-;!function(root) {
+;!function(root, undefined) {
var EventEmitter2 = root.EventEmitter2 = function EventEmitter2(conf) {
View
4 package.json
@@ -1,6 +1,6 @@
{
- "name": "EventEmitter2",
- "version": "0.2.0",
+ "name": "eventemitter2",
+ "version": "0.2.5",
"description": "A Node.js event emitter implementation with namespaces, wildcards, TTL and browser support.",
"keywords": ["event", "events", "emitter", "eventemitter"],
"author": "hij1nx <hij1nx@nodejitsu.com> http://twitter.com/hij1nx",
Please sign in to comment.
Something went wrong with that request. Please try again.