Sorry my bad:
myPipe.request.send('objectPush', {
'params': {
'raw': 'objectPushed',
'channel': 'testchannel',
'data': {
'content': 'Heyyyy',
'more': 'you!'
}
}
});
- Louis
Le 2014-05-18 à 03:38, michael <[email protected]> a écrit :
> Wow, thank you that is a lot of good information, but for the objectPush.js i
> added it as include("utils/objectPush.js") and put the file inside that
> directory but when I try to implement it into my chat code with this
>
> myPipe.request.send('objectPush',
> 'params': {
> 'raw': 'objectPushed',
> 'channel': 'testchannel',
> 'data': {
> 'content': 'Heyyyy',
> 'more' : 'you!'
> }
> }
> );
>
>
> i get this error message : SyntaxError: missing ) after argument list
> this error is pointing to the line with 'params': {
> It should work as I just copied and pasted it into the file.
> Thanks again for all your help!
>
> --
> --
> 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/
>
> ---
> You received this message because you are subscribed to the Google Groups
> "APE Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
--
--
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/
---
You received this message because you are subscribed to the Google Groups "APE
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.