Skip to content

Commit 797e757

Browse files
author
e.bondarev
committed
build
1 parent 535ec9b commit 797e757

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/magic-grid.cjs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ var error = function (prop) {
5151
var getMin = function (cols) {
5252
var min = cols[0];
5353

54-
for (var col of cols) {
55-
if (col.height < min.height) { min = col; }
54+
for (var i = 0; i < cols.length; i++) {
55+
if (cols[i].height < min.height) { min = col; }
5656
}
5757

5858
return min;

dist/magic-grid.esm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ var error = function (prop) {
4949
var getMin = function (cols) {
5050
var min = cols[0];
5151

52-
for (var col of cols) {
53-
if (col.height < min.height) { min = col; }
52+
for (var i = 0; i < cols.length; i++) {
53+
if (cols[i].height < min.height) { min = col; }
5454
}
5555

5656
return min;

dist/magic-grid.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)