Skip to content

Commit c320031

Browse files
committed
updated inheritance from eventemitter3
1 parent 416e764 commit c320031

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
language: node_js
22
node_js:
3-
- "0.11"
4-
- "0.10"
3+
- "0.12"
4+
- "0.10"
5+
- "iojs"

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
],
2020
"author": "Eric Florenzano <floguy@gmail.com> (eflorenzano.com)",
2121
"dependencies": {
22-
"jsonparse": "0.x.x",
23-
"debug": "1.x.x",
24-
"lodash": "2.x.x",
22+
"jsonparse": "1.x.x",
23+
"debug": "2.x.x",
24+
"lodash": "3.x.x",
2525
"es5class": "2.x.x",
2626
"faye-websocket": "0.x.x",
27-
"eventemitter3": "0.x.x"
27+
"eventemitter3": "1.x.x"
2828
},
2929
"engines": {
30-
"node": "0.10.x"
30+
"node": "0.10.x || 0.12.x"
3131
},
3232
"contributors": [
3333
"Bill Casarin <bill@casarin.ca> (jb55.com)",
@@ -39,7 +39,7 @@
3939
"url": "git://github.com/pocesar/node-jsonrpc2.git"
4040
},
4141
"devDependencies": {
42-
"mocha": "1.x.x",
42+
"mocha": "2.x.x",
4343
"expect.js": "0.x.x",
4444
"jshint": "2.x.x",
4545
"istanbul": "0.x.x"

src/event-emitter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = function (classes){
2525
(typeof(request['id']) === 'string') || (request['id'] === null)
2626
);
2727
}
28-
}).$inherit(require('eventemitter3').EventEmitter, []);
28+
}).$inherit(require('eventemitter3'), []);
2929

3030
return EventEmitter;
3131
};

test/mocha.opts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
--reporter list
22
--ui exports
33
--check-leaks
4-
--debug-brk
54
test/jsonrpc-test.js

0 commit comments

Comments
 (0)