Closed malpaso closed 11 years ago
Prior to re-rendering the object you may want to call the tempo .clear() function. It should do this automatically, but this should guarantee it's cleared.
Here's the example from the tempojs.com site:
Tempo.prepare('marx-brothers').render( data ).clear();
Thx @difrnt I actually figured out the error. I had to use $.parseJSON() on my return string, apologies for the bother.
Thanks Matt for the help debugging - I really appreciate it!
Hi,
I have the following JSON data.
A simple Tempo.prepare(id).render(data) with this JSON renders correctly, however when the data is returned from the server via ajax, it iterates 163 times on the above data.
The data response from the server (in Chrome Dev Tools) looks like this: