var str = cls+'.prototype = new '+pcls+'();';
str += cls+'.prototype.constructor = '+cls+';';
str += cls+'.baseClass = '+pcls+'.prototype.constructor;';
- str += cls+'.prototype.super = '+pcls+'.prototype;';
+ str += cls+'.prototype["super"] = '+pcls+'.prototype;';
eval(str);
}
message = new osrfMessage({
'threadTrace' : this.reqid,
- 'type' : OSRF_MESSAGE_TYPE_CONNECT,
+ 'type' : OSRF_MESSAGE_TYPE_CONNECT
});
this.send(message, {'timeout' : this.timeout});
this.send(
new osrfMessage({
'threadTrace' : this.reqid,
- 'type' : OSRF_MESSAGE_TYPE_DISCONNECT,
+ 'type' : OSRF_MESSAGE_TYPE_DISCONNECT
})
);
this.remote_id = null;