Permalink
Browse files

fix connectior component missing connection record bug

  • Loading branch information...
changchang committed Jan 30, 2013
1 parent 9b0b268 commit 08163ae3b401207f70d44ff28a48dbcc6409d130
Showing with 3 additions and 1 deletion.
  1. +2 −0 lib/components/connector.js
  2. +1 −1 package.json
@@ -21,13 +21,15 @@ var Component = function(app, opts) {
// component dependencies
this.server = null;
this.session = null;
this.connection = null;
};
Component.prototype.name = '__connector__';
Component.prototype.start = function(cb) {
this.server = this.app.components.__server__;
this.session = this.app.components.__session__;
this.connection = this.app.components.__connection__;
// check component dependencies
if(!this.server) {
View
@@ -12,7 +12,7 @@
"mkdirp": "0.3.3",
"pomelo-loader":"0.0.4",
"pomelo-rpc":"0.1.0",
"pomelo-protocol":"0.0.5",
"pomelo-protocol":"0.0.3",
"pomelo-admin":"0.0.19",
"pomelo-monitor":">=0.3.5",
"pomelo-logger": "0.0.2",

0 comments on commit 08163ae

Please sign in to comment.