In the initialize code of the chat demo, there are two addEvent for
'uniPipeCreate' is this a bug, feature, coded as designed, Will both
routines be called on the uniPipeCreate event?
I asked because I've put in some basic alert statments and I'm only
seeing the this.pipeCreate routine being called not the setPipeName.
initialize: function(options){
this.setOptions(options);
this.els = {};
this.currentPipe = null;
this.logging = true;
this.onRaw('data', this.rawData);
this.onCmd('send', this.cmdSend);
this.onError('004', this.reset);
this.onError('006', this.promptName);
this.onError('007', this.promptName);
this.addEvent('load', this.start);
this.addEvent('ready', this.createChat);
this.addEvent('uniPipeCreate', this.setPipeName);
this.addEvent('uniPipeCreate', this.createPipe);
this.addEvent('multiPipeCreate', this.createPipe);
this.addEvent('userJoin', this.createUser);
this.addEvent('userLeft', this.deleteUser);
},
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/