zz85 / timeliner

simple javascript timeline library for animation and prototyping
https://twitter.com/blurspline
MIT License
705 stars 123 forks source link

Remove load dependency #11

Closed cocoademon closed 7 years ago

cocoademon commented 7 years ago

The current release requires a timeliner.load() call to be made before the timeline can be used. This update creates a default set of ui params in the DataStore.blank() function, allowing the first example in test.html to work again.

That is, this change re-enables the following paradigm:

var timeliner = new Timeliner(target);
timeliner.addLayer('x');
timeliner.addLayer('y');
timeliner.addLayer('rotate');
zz85 commented 7 years ago

Thanks!