Change let -> var, solves #838

pull/839/head
P 7 years ago
parent 4776c41c6f
commit 072f541855

@ -104,7 +104,7 @@ export function toNumber(value) {
export function timeRangesToArray(ranges) {
var array = [];
for (let i = 0; i < ranges.length; i += 1) {
for (var i = 0; i < ranges.length; i += 1) {
array.push({ start: ranges.start(i), end: ranges.end(i) });
}
return array;

@ -35,7 +35,7 @@ function removeListener(node, event, handler) {
function timeRangesToArray(ranges) {
var array = [];
for (let i = 0; i < ranges.length; i += 1) {
for (var i = 0; i < ranges.length; i += 1) {
array.push({ start: ranges.start(i), end: ranges.end(i) });
}
return array;

Loading…
Cancel
Save