I've updated the http://timeline.kusog.org demo with my latest efforts, which removed the detailed and compact painters and more unused code. The results are now that the minified file is 111kb and the gzipped filed is 32kb. This is significantly smaller than the original code base, plus all the code is in one file rather than multiple files and multiple network requests.
Somethings to consider: 1. I am only including the EN text. The files are small and can be added separately as needed. However, the way the code automatically added the language JS files is removed and you'd have to do that by hand. That is, if you actually need the other languages. 2. It appears from one users reports that the Mac laptop track pad gestures dont work like they do in the original code. I'll try to follow up on that. 3. I am removing methods from the Ajax library of classes when I see they are not used in timeline. I'm sure for people using the full library, this would be a problem. I don't use exhibit or any other library that may use those, and I want timeline as lean as possible. 4. When I am done with this, it will only be possible to create the timeline widget via the jquery plugin method. Right now, older code that calls Timeline.create will still work, but soon that method will go away and become a part of the jQuery plugin directly. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
