One more try :)
Try it with an empty callback function like
return request.getContent(function(){})
On Jan 23, 2012 3:49 PM, "utan" <[email protected]> wrote:
> Pablo,
>
> your last suggestion was to return request.getContent();
> after your code fix this is what I've got Http.js:185:TypeError:
> callback is unde fined
> ;(
>
>
> On Jan 23, 12:10 pm, Pablo Tejada <[email protected]> wrote:
> > So edited a few lines and attach the file. If it does what I think it
> will
> > do my last solution should work. What i think it will do now is that
> > besides the getContent method passing the result to the given callback it
> > will also return it so you could have the result value outside the
> callback
> > scope.
> >
> > Remember to backup your existing Http.js file.
> >
> > If still doesn't work I'll keep working on this to make it work as is
> > something I could use In a future project I have in mind.
> >
> > Http.js
> > 6KViewDownload
>
> --
> 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 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/