modernize JS

This commit is contained in:
Nick Gerleman
2022-12-24 02:17:10 -08:00
parent c4fe4823a7
commit bf81d8e180
33 changed files with 371 additions and 369 deletions

View File

@@ -7,7 +7,7 @@
// @generated by gentest/gentest.rb from gentest/fixtures/YGGapTest.html
test("column_gap_flexible", function () {
test("column_gap_flexible", () => {
const config = Yoga.Config.create();
let root;
@@ -87,7 +87,7 @@ test("column_gap_flexible", function () {
config.free();
}
});
test("column_gap_inflexible", function () {
test("column_gap_inflexible", () => {
const config = Yoga.Config.create();
let root;
@@ -160,7 +160,7 @@ test("column_gap_inflexible", function () {
config.free();
}
});
test("column_gap_mixed_flexible", function () {
test("column_gap_mixed_flexible", () => {
const config = Yoga.Config.create();
let root;
@@ -235,7 +235,7 @@ test("column_gap_mixed_flexible", function () {
config.free();
}
});
test("column_gap_child_margins", function () {
test("column_gap_child_margins", () => {
const config = Yoga.Config.create();
let root;
@@ -320,7 +320,7 @@ test("column_gap_child_margins", function () {
config.free();
}
});
test("column_row_gap_wrapping", function () {
test("column_row_gap_wrapping", () => {
const config = Yoga.Config.create();
let root;
@@ -487,7 +487,7 @@ test("column_row_gap_wrapping", function () {
config.free();
}
});
test("column_gap_justify_flex_start", function () {
test("column_gap_justify_flex_start", () => {
const config = Yoga.Config.create();
let root;
@@ -560,7 +560,7 @@ test("column_gap_justify_flex_start", function () {
config.free();
}
});
test("column_gap_justify_center", function () {
test("column_gap_justify_center", () => {
const config = Yoga.Config.create();
let root;
@@ -634,7 +634,7 @@ test("column_gap_justify_center", function () {
config.free();
}
});
test("column_gap_justify_flex_end", function () {
test("column_gap_justify_flex_end", () => {
const config = Yoga.Config.create();
let root;
@@ -708,7 +708,7 @@ test("column_gap_justify_flex_end", function () {
config.free();
}
});
test("column_gap_justify_space_between", function () {
test("column_gap_justify_space_between", () => {
const config = Yoga.Config.create();
let root;
@@ -782,7 +782,7 @@ test("column_gap_justify_space_between", function () {
config.free();
}
});
test("column_gap_justify_space_around", function () {
test("column_gap_justify_space_around", () => {
const config = Yoga.Config.create();
let root;
@@ -856,7 +856,7 @@ test("column_gap_justify_space_around", function () {
config.free();
}
});
test("column_gap_justify_space_evenly", function () {
test("column_gap_justify_space_evenly", () => {
const config = Yoga.Config.create();
let root;
@@ -930,7 +930,7 @@ test("column_gap_justify_space_evenly", function () {
config.free();
}
});
test("column_gap_wrap_align_flex_start", function () {
test("column_gap_wrap_align_flex_start", () => {
const config = Yoga.Config.create();
let root;
@@ -1053,7 +1053,7 @@ test("column_gap_wrap_align_flex_start", function () {
config.free();
}
});
test("column_gap_wrap_align_center", function () {
test("column_gap_wrap_align_center", () => {
const config = Yoga.Config.create();
let root;
@@ -1177,7 +1177,7 @@ test("column_gap_wrap_align_center", function () {
config.free();
}
});
test("column_gap_wrap_align_flex_end", function () {
test("column_gap_wrap_align_flex_end", () => {
const config = Yoga.Config.create();
let root;
@@ -1301,7 +1301,7 @@ test("column_gap_wrap_align_flex_end", function () {
config.free();
}
});
test("column_gap_wrap_align_space_between", function () {
test("column_gap_wrap_align_space_between", () => {
const config = Yoga.Config.create();
let root;
@@ -1425,7 +1425,7 @@ test("column_gap_wrap_align_space_between", function () {
config.free();
}
});
test("column_gap_wrap_align_space_around", function () {
test("column_gap_wrap_align_space_around", () => {
const config = Yoga.Config.create();
let root;
@@ -1549,7 +1549,7 @@ test("column_gap_wrap_align_space_around", function () {
config.free();
}
});
test("column_gap_wrap_align_stretch", function () {
test("column_gap_wrap_align_stretch", () => {
const config = Yoga.Config.create();
let root;
@@ -1657,7 +1657,7 @@ test("column_gap_wrap_align_stretch", function () {
config.free();
}
});
test("column_gap_determines_parent_width", function () {
test("column_gap_determines_parent_width", () => {
const config = Yoga.Config.create();
let root;
@@ -1729,7 +1729,7 @@ test("column_gap_determines_parent_width", function () {
config.free();
}
});
test("row_gap_align_items_stretch", function () {
test("row_gap_align_items_stretch", () => {
const config = Yoga.Config.create();
let root;
@@ -1847,7 +1847,7 @@ test("row_gap_align_items_stretch", function () {
config.free();
}
});
test("row_gap_align_items_end", function () {
test("row_gap_align_items_end", () => {
const config = Yoga.Config.create();
let root;
@@ -1965,7 +1965,7 @@ test("row_gap_align_items_end", function () {
config.free();
}
});
test("row_gap_column_child_margins", function () {
test("row_gap_column_child_margins", () => {
const config = Yoga.Config.create();
let root;
@@ -2049,7 +2049,7 @@ test("row_gap_column_child_margins", function () {
config.free();
}
});
test("row_gap_row_wrap_child_margins", function () {
test("row_gap_row_wrap_child_margins", () => {
const config = Yoga.Config.create();
let root;
@@ -2129,7 +2129,7 @@ test("row_gap_row_wrap_child_margins", function () {
config.free();
}
});
test("row_gap_determines_parent_height", function () {
test("row_gap_determines_parent_height", () => {
const config = Yoga.Config.create();
let root;