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
..
2016-01-04 23:00:12 +01:00
2016-01-08 19:42:56 +01:00
2015-11-29 21:01:57 +03:00
2015-11-29 21:01:57 +03:00
2016-01-08 19:42:56 +01:00
2015-11-29 21:01:57 +03:00
2016-01-08 19:42:56 +01:00
2015-11-29 21:01:57 +03:00
2016-01-04 22:58:32 +01:00