Frage

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

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top