Outside always returns -1. That means nothing to return. Inside the
loop you do your return. You have to think in terms of the callback.

On Jan 16, 2:33 pm, Micael Ribeiros <[email protected]> wrote:
> Even if I do that it wont return anything as the array is empty

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