mayyangtaiwan / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

TIMELINE. Standalone (non-Internet) plus -moz-grabbing cursor #251

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Apologies: this patch is a little messy and contains 2 issues plus unknown
spurious unrelated tinkering. Hopefully its not too hard to distill the
relevant diffs from the irrelevant ones.

The relevant changes are fairly obvious and minor.

1. Standalone: I needed to deploy Timeline in a standalone environment
(e.g. disconnected laptop or intranet environment with no access to public
Internet).
This environment has all script downloaded locally (as obtained from svn
repository).
It does not require a local web-server running to provide for
http://localhost/ (that's unnecessary if everything required can be
accessed locally via file://)
My changes simply replace all http:// URI references with local relative paths.

  A standalone version provides some advantages over the current
internet-dependent implementation:
   a. Code base is static, therefore developers do not worry about API
changes or introduced bugs breaking their app. Developer can be in full
control over testing and deployment of new versions of Simile library
components to their app.
   b. file:// access to components is invariably both faster and more
robust that remote http:// access (although the browser cache can narrow
the gap here). Bundle feature is not as necessary in the file-local
scenario. Removal or disabling of bundle feature may be preferred here.
   c. Encapsulation of the app into a self-contained system enables it to
be deployed more reliably in a wider range of scenarios, e.g. mobile
devices, CD-rom, MIME encoded HTML emails, etc.

2. -moz-grabbing Simply implements the grabbing hand cursor while dragging.

standalone, i.e. no internet connection required 

[Submitted by Greg Bowering on simile.mit.edu] 

Greg Bowering - 02/Apr/08 09:56 PM
I could not see an option to attach the patch file. So here it is below.
Note that I manually edited the bundle files here.

Comment is too long Google Code doesn't accept patch. See TIMELINE 192

Original issue reported on code.google.com by GabrielR...@googlemail.com on 14 Apr 2009 at 9:58