[Simile-Widgets] Re: Weird Error While Manually Adding Event

2011-08-05 Thread Froggy
Hi Mike, I was using Timeline off simile-widgets.org. (http://simile.mit.edu/ timeline/api/timeline-api.js) I tried the code on the Cubism example. Worked. Back to my code I replaced the Timeline link to the same in the example (http://api.simile-widgets.org/timeline/2.3.1/timeline-api.js) Now it

Re: [Simile-Widgets] Re: Weird Error While Manually Adding Event

2011-08-05 Thread Michael Nosal
That's because the simile.mit.edu version of Timeline is out of date. The method signature to the Event constructor changed from: Timeline.DefaultEventSource.Event = function( start, end, latestStart, earliestEnd, { to Timeline.DefaultEventSource.Event = function(args) { Using an

[Simile-Widgets] Re: Weird Error While Manually Adding Event

2011-08-04 Thread Froggy
Thanks for pointing that out. I applied your exact recommendation but I still get the same error message. On Aug 3, 10:50 pm, Michael Nosal mno...@mitre.org wrote: The error message suggests that something that should be a Date object, actually isn't (there is no method 'getTime') In your

Re: [Simile-Widgets] Re: Weird Error While Manually Adding Event

2011-08-04 Thread Michael Nosal
Hmmm, I just tried it against Timeline 2.3.0, and it works as advertised. What version of Timeline are you using? Are you hosting it locally or off simile-widgets.org? In the JS console in your browser, try creating an event and see what it says. That's all that the Event constructor really