Question

I've been trying some things with ember and my latest test was to update a list based on external event. I have been given some other solutions but the one I came up with (which does not work - for reasons unknown to me) is:

jsBin

If anyone could tell me why this is not working It would be great.

Thanks, Jason

Était-ce utile?

La solution

You have a scoping issue, fixed at link:

http://jsbin.com/izunik/1/edit

You were referring to "this" inside of set interval which is not the same as "this" in the view.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top