Hello -

I'm the developer of TimeMap, a JavaScript library that relies on
Timeline. So far, I've been using the deprecated Timeline 1.2 API, but
I want to make the library compatible with newer versions as well.
This brings up a couple of questions and comments that I thought might
be appropriate for this list, and I'd love to get your thoughts.

Questions:

1. Is there any reliable way to determine what version of Timeline has
been loaded? I'd like the library to transparently work with v.1.2 and
v.2.2.0, without the end developer having to specify which version
they're using. I'm pretty sure I can do this in a messy way by
checking for specific objects or attributes (e.g. {if
("DurationEventPainter" in Timeline) ...} ), but I was hoping there
might be a more consistent way to check this. It's a little
hypocritical of me to ask, because I haven't provided this in my own
library (hmm... adding now...), but what I really want is to be able
to check a static var like Timeline.version that's consistently
accurate.

2. Is there any point in supporting 2.x versions earlier than 2.2.0?
Or is everyone who uses 2.x using 2.2.0 or the development version?

In case you're wondering why I want to support the 1.2 version at all,
there are several reasons. First, it seemed when I started this
project that the 1.2 version was the most stable; this may no longer
be the case. Second, I've been worried about the ballooning size of
the 2.x versions. According to Firebug, Timeline 2.2.0 is loading a
full 100K more script, even when bundled, than Timeline 1.2.

I especially have mixed feelings about the wholesale inclusion of
jQuery 1.2.3 - first, because my understanding is that 1.3.1 is the
latest stable version, and 1.2.6 is the latest 1.2.x version, so if I
want to use the latest stable releases I can't without double-loading
the library. It also seems like there's a ton of functionality in
jQuery that's duplicated in the SIMILE Ajax library - are you planning
to eventually move entirely to jQuery, or will you keep the duplicate
features?

Sorry if this comes on strong - I think Timeline is a great project; I
just wanted to voice a couple of comments as a developer who uses the
library a lot. Let me know what you think - thanks!

-Nick
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to