Hello, Im trying to use the timeline for a project im working on but I have a small problem that I just cannot fix.
Iv basically copy and pasted the code from this example: http://simile.mit.edu/timeline/examples/cubism/cubism.html All the JS loads fine, and I can even see in the Chrome console that it is Ajax loading the JSON file just fine, except none of the data plots on the time line and I get this error: 1. SyntaxError: Unexpected token ; "XmlHttp: Error handling onReadyStateChange" simile-ajax-bundle.js:1542<http://localhost:3000/assets/targeted/timeline/timeline_ajax/simile-ajax-bundle.js> 1. Uncaught XmlHttp: Error handling onReadyStateChange When i step through the function calls, and look into the code, I can see a line in timeline-bundle.js that reads: var fDone=function(xmlhttp){try{f(eval("("+xmlhttp.responseText+")"),url); When I inspect the content of xmlhttp.responseText, I can see my JSON data, except there is a ; (colon) at the end of the file. I assume this is what the error is referring too. I can assure you this colon is definitely not in the file, its being added from somewhere else. When i remove all the content from the JSON file completely, it gives me the same error except it complains about an unexpected ( character .. Can anyone help me here? All the files seem to be loading fine, but this one small thing is a show stopper. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To view this discussion on the web visit https://groups.google.com/d/msg/simile-widgets/-/mw6b9khG4_oJ. 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/simile-widgets?hl=en.
