Sébastien Lerique e1cc8b8829 Use a promise to gather the recorded data
`click` is when we know if we should use the recorded data or discard
it, but `click` fires after `touchend`. So to avoid stopping the
recording and registering `ondataavailable` afterwards, register a
promise on `ondataavailable`, and gather the data if needed in `click`.
2016-01-08 19:42:56 +01:00
..
2014-12-28 20:54:42 +01:00
2015-10-22 23:02:12 +02:00
2016-01-08 19:42:56 +01:00
2014-10-26 21:04:08 +03:00
2016-01-08 19:42:56 +01:00
2015-10-05 22:52:16 +03:00
2014-12-31 18:07:27 +01:00
2015-09-29 17:45:02 +03:00
2015-11-29 21:01:57 +03:00
2015-09-29 17:45:02 +03:00