Commit graph

22 commits

Author SHA1 Message Date
tambien
ed71d8141b amd to es6 import/export
no longer using AMD (require.js) style imports, and beginning to move to es6 "import/export" statements everywhere.
2019-01-27 13:05:20 -05:00
Yotam Mann
a18ab72da0 pointing at correct helper/Test 2018-05-18 12:07:20 -04:00
Yotam Mann
836a173cf8 forEachBetween is exclusive of endTime 2018-02-25 15:08:43 -05:00
Yotam Mann
15229d7c7e linting 2017-12-30 11:26:29 -05:00
Yotam Mann
8dbaf71d89 forEachBetween iterator 2017-12-27 11:46:27 -05:00
Yotam Mann
5d86d72cfb handles events which are added during iteration in the same was as events which are removed during iteration 2017-09-04 16:04:16 -04:00
Yotam Mann
73adc20088 get an event before the given event 2017-05-28 13:57:47 -04:00
Yotam Mann
c5132d226c testing removing objects the timeline doesn't have
should do nothing
2017-05-02 20:47:08 -04:00
Yotam Mann
10d2224bfd timeline throws error with no time argument 2017-04-30 15:19:48 -04:00
Yotam Mann
9e4e091f33 test the forEach callback context 2017-04-24 23:01:45 -04:00
Yotam Mann
9c94b89eec renaming addEvent->add, removeEvent->remove, getEvent->get 2016-12-18 21:56:22 -05:00
Yotam Mann
2b7789b3a9 peek and shift methods
this allows the timeline to be used as a priority queue.
2016-12-02 18:59:12 -05:00
Yotam Mann
2020194a1c testing and handling edge cases 2016-03-03 13:00:59 -05:00
Yotam Mann
f7547217c8 Timeline has an optional memory length 2015-12-06 23:48:53 -05:00
Yotam Mann
a4f1bd4274 testing Timeline updates 2015-12-06 17:23:30 -05:00
Yotam Mann
6d746f5dea forEachFrom tests 2015-10-11 16:03:30 -04:00
Yotam Mann
1399922d02 testing getEventAfter and getEventBefore 2015-09-05 19:17:21 -04:00
Yotam Mann
7393a59410 cancel <-> clear
clear removes an ID and cancel cancels events after the given time. API
is now more consistent with the Web Audio’s cancelScheduledValues
2015-09-03 16:56:05 -04:00
Yotam Mann
375d60d2f1 testing that clear can handle times before the first event 2015-08-18 18:14:47 -04:00
Yotam Mann
775dca1037 test clearing items 2015-08-18 17:33:29 -04:00
Yotam Mann
12777aa7bb testing removing while iterating 2015-08-18 17:08:30 -04:00
Yotam Mann
dbefb9b3dc testing timeline classes 2015-08-18 16:31:12 -04:00