Skip to content

Commit

Permalink
Merge pull request #839 from vp2177/master
Browse files Browse the repository at this point in the history
Change let -> var, solves #838
  • Loading branch information
Rich-Harris authored Sep 12, 2017
2 parents 4776c41 + 072f541 commit f3eeaa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/shared/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion test/js/samples/media-bindings/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f3eeaa9

Please sign in to comment.