sole/tween.js — pull request #93 by jonobr1 (2013-10-11 21:17:19+00:00)
Title: added preservation flag in TWEEN.update to be able to go backward in time

For the [timeline](https://dl.dropboxusercontent.com/u/1595444/experiments/DAT/timeline/sketches/drawing.html) I'm making with Tween.js I'm serving `TWEEN.update()` my own time variable. This can go forwards and backwards so I need to be able to preserve tweens and not splice them when I'm done with them. My use case is:

```javascript
var t = new TWEEN.Tween(myObject)
.to({ x: 5, y: 10 }, 750)
.start(0);

// first tick
TWEEN.update(0, true);

// ...

// second tick
TWEEN.update(1000, true);

// ...

// third tick
TWEEN.update(500, true);
```