Yes there should be a '['

So how do you make the click event just fire once but pipes send info
to all 3 channels?

On Jan 24, 2:46 am, ma liang <[email protected]> wrote:
> client.load({'channel': 'ch1', 'ch2', 'ch3']});
>
> You missed '[' ?
>
> seems you joined three channels, so, multiPipeCreate fired 3 times.
>
> 2011/1/24 Youlin <[email protected]>
>
>
>
>
>
>
>
> > Initially a user joined 3 channels:
>
> > client = new APE.Client();
> > client.load({'channel': 'ch1', 'ch2', 'ch3']});
>
> > client.addEvent('load', function() {
> >    client.core.start({'name': new Date().getTime().toString()});
> > });
>
> > client.addEvent('multiPipeCreate', function(pipe) {
>
> >    $('#div').click(function {
> >        ...
> >        //then this click event seems fired 3 times every time it is
> > clicked. Why is that?
>
> >    });
>
> > })
>
> > --
> > 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]<ape-project%2Bunsubscribe@googlegr 
> > oups.com>
> > 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/

-- 
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/

Reply via email to