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 object this way makes it much easier to use - you don't need to
remember the order of arguments, and can leave off unused arguments without
having to pass nulls, and you can easily extend it with new arguments without
needing to change lots of code.
--Mike
On Aug 5, 2011, at 4:04 AM, Froggy wrote:
> 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 works. Still not sure why but it works!
--
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
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.