Comparing version 0.9.3 to 0.9.4
@@ -56,3 +56,11 @@ var EventEmitter = require('events').EventEmitter; | ||
var sock = io.listen(webserver, ioOptions); | ||
sock.set('logger', { | ||
error : function () {}, | ||
warn : function () {}, | ||
info : function () {}, | ||
debug : function () {} | ||
}); | ||
var server = new EventEmitter; | ||
server.socket = sock; | ||
@@ -59,0 +67,0 @@ if (mount && webserver.use) { |
{ | ||
"name" : "dnode", | ||
"version" : "0.9.3", | ||
"version" : "0.9.4", | ||
"description" : "freestyle RPC", | ||
@@ -5,0 +5,0 @@ "main" : "./index.js", |
var test = require('testling'); | ||
var host = process.argv[2]; | ||
var port = process.argv[3]; | ||
var port = parseInt(process.argv[3], 10); | ||
test('cats and dogs', function (t) { | ||
t.log([ host, port ]); | ||
t.log(typeof DNode); | ||
t.end(); | ||
/* | ||
DNode.connect(host, port, function (remote) { | ||
t.log('connected'); | ||
t.end(); | ||
/* | ||
remote.cat(function (theCatSays, dog) { | ||
@@ -19,4 +19,4 @@ t.equal(theCatSays, 'meow'); | ||
}); | ||
*/ | ||
}); | ||
*/ | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
146567
1757