Permalink
Browse files

Tabs → spaces -_-.

  • Loading branch information...
1 parent 8563431 commit 39f06ca28992652d70492572440f36775f430a22 @domenic committed Jan 27, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/emitter.js
View
@@ -43,7 +43,7 @@ module.exports = function emitter(normalListeners, oneTimeListeners, events) {
listeners.delete(eventName);
}
- function onImpl(eventNameOrHash, listener, listeners) {
+ function onImpl(eventNameOrHash, listener, listeners) {
if (listener === undefined) {
if (!isHash(eventNameOrHash)) {
throw new TypeError("hash argument must be a string-to-function hash.");
@@ -59,14 +59,14 @@ module.exports = function emitter(normalListeners, oneTimeListeners, events) {
}
subscribeSingleListener(eventNameOrHash, listener, listeners);
}
- }
+ }
return {
on: function (eventNameOrHash, listener) {
- onImpl(eventNameOrHash, listener, normalListeners);
+ onImpl(eventNameOrHash, listener, normalListeners);
},
onNext: function (eventNameOrHash, listener) {
- onImpl(eventNameOrHash, listener, oneTimeListeners);
+ onImpl(eventNameOrHash, listener, oneTimeListeners);
},
off: function (eventNameOrHash, listener) {
if (typeof eventNameOrHash === "string") {

0 comments on commit 39f06ca

Please sign in to comment.