Not sure If I can get this to work, This seems to be a "Declarative" approach to solving the problem, I need a programmatic approach, this is being embedded as a template inside of a Backbonejs app using Underscore templates. This is a single page webapp, so the page is loaded only once, and then various templates are hidden and show, and XHR requests are made as views change or time passes.
There is a chance that this will work inside the templates, but I am a bit unclear exactly how to code It I will look further. But I would prefer to see if I could do this with programmatic techniques as I am just more comfortable with that. Thanks On Friday, March 8, 2013 2:10:26 PM UTC-6, David wrote: > > Try using > > <link rel="exhibit/data" type="application/jsonp" ex:converter="convert" > href="URLofJSONP" jsonp-callback="jsonpCallback" /> > > See http://www.swingingsammy.com/myerstimeline/myerstimeline20A.html for the > use of this code. > > > > On Thursday, March 7, 2013 12:50:43 PM UTC-5, qboiler wrote: >> >> I have a requirement where I need to use JSONP as a datasource for a >> timeline view. >> >> I am taking the default example and trying to modify it to fit my >> conditions see code: >> >> tl.loadJSON("http://[NOT THIS SERVER]/src/main/webapp/sampleData.json", >> >> function(json, url) { eventSource.loadJSON(json, >> url); } ); >> >> >> Is there a way to load JSONP, even if I have to use DOJO or JQuery to >> load the JSONP, and then stuff that result in this Timeline some how? >> >> >> > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/simile-widgets?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
