No errors but no running of the listener.next() either. I tried to put the function declaration above the {{extend...}} statement as per the book but still no go.
I get up to subscribing to the channel just fine (but that's from controller and passed to the view) verified via telnet to Redis but can't seem to tell the listener to wait for new messages without mucking everything up. Thank you for your help anyway Farsheed. I'll fiddle with it a bit more but if I cannot produce meaningful results I'll be doomed to poll. Not the end of the world but less than ideal. So it goes. -David On Oct 5, 1:52 pm, Farsheed Ashouri <farsheed.asho...@gmail.com> wrote: > Put something like this at the end of your page: > > <div id="jsrun"></div> > <script> > ajax('../response_url', [''], 'jsrun'); > </script> > > create a function that returns data: > > def response_url(): > return ''' > YOUR DATA OR EVEN JSSCRIPT HERE > '''