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/YGJustifyContentTest.html
test("justify_content_row_flex_start", function () {
test("justify_content_row_flex_start", () => {
const config = Yoga.Config.create();
let root;
@@ -79,7 +79,7 @@ test("justify_content_row_flex_start", function () {
config.free();
}
});
test("justify_content_row_flex_end", function () {
test("justify_content_row_flex_end", () => {
const config = Yoga.Config.create();
let root;
@@ -152,7 +152,7 @@ test("justify_content_row_flex_end", function () {
config.free();
}
});
test("justify_content_row_center", function () {
test("justify_content_row_center", () => {
const config = Yoga.Config.create();
let root;
@@ -225,7 +225,7 @@ test("justify_content_row_center", function () {
config.free();
}
});
test("justify_content_row_space_between", function () {
test("justify_content_row_space_between", () => {
const config = Yoga.Config.create();
let root;
@@ -298,7 +298,7 @@ test("justify_content_row_space_between", function () {
config.free();
}
});
test("justify_content_row_space_around", function () {
test("justify_content_row_space_around", () => {
const config = Yoga.Config.create();
let root;
@@ -371,7 +371,7 @@ test("justify_content_row_space_around", function () {
config.free();
}
});
test("justify_content_column_flex_start", function () {
test("justify_content_column_flex_start", () => {
const config = Yoga.Config.create();
let root;
@@ -442,7 +442,7 @@ test("justify_content_column_flex_start", function () {
config.free();
}
});
test("justify_content_column_flex_end", function () {
test("justify_content_column_flex_end", () => {
const config = Yoga.Config.create();
let root;
@@ -514,7 +514,7 @@ test("justify_content_column_flex_end", function () {
config.free();
}
});
test("justify_content_column_center", function () {
test("justify_content_column_center", () => {
const config = Yoga.Config.create();
let root;
@@ -586,7 +586,7 @@ test("justify_content_column_center", function () {
config.free();
}
});
test("justify_content_column_space_between", function () {
test("justify_content_column_space_between", () => {
const config = Yoga.Config.create();
let root;
@@ -658,7 +658,7 @@ test("justify_content_column_space_between", function () {
config.free();
}
});
test("justify_content_column_space_around", function () {
test("justify_content_column_space_around", () => {
const config = Yoga.Config.create();
let root;
@@ -730,7 +730,7 @@ test("justify_content_column_space_around", function () {
config.free();
}
});
test("justify_content_row_min_width_and_margin", function () {
test("justify_content_row_min_width_and_margin", () => {
const config = Yoga.Config.create();
let root;
@@ -776,7 +776,7 @@ test("justify_content_row_min_width_and_margin", function () {
config.free();
}
});
test("justify_content_row_max_width_and_margin", function () {
test("justify_content_row_max_width_and_margin", () => {
const config = Yoga.Config.create();
let root;
@@ -823,7 +823,7 @@ test("justify_content_row_max_width_and_margin", function () {
config.free();
}
});
test("justify_content_column_min_height_and_margin", function () {
test("justify_content_column_min_height_and_margin", () => {
const config = Yoga.Config.create();
let root;
@@ -868,7 +868,7 @@ test("justify_content_column_min_height_and_margin", function () {
config.free();
}
});
test("justify_content_colunn_max_height_and_margin", function () {
test("justify_content_colunn_max_height_and_margin", () => {
const config = Yoga.Config.create();
let root;
@@ -914,7 +914,7 @@ test("justify_content_colunn_max_height_and_margin", function () {
config.free();
}
});
test("justify_content_column_space_evenly", function () {
test("justify_content_column_space_evenly", () => {
const config = Yoga.Config.create();
let root;
@@ -986,7 +986,7 @@ test("justify_content_column_space_evenly", function () {
config.free();
}
});
test("justify_content_row_space_evenly", function () {
test("justify_content_row_space_evenly", () => {
const config = Yoga.Config.create();
let root;
@@ -1059,7 +1059,7 @@ test("justify_content_row_space_evenly", function () {
config.free();
}
});
test("justify_content_min_width_with_padding_child_width_greater_than_parent", function () {
test("justify_content_min_width_with_padding_child_width_greater_than_parent", () => {
const config = Yoga.Config.create();
let root;
@@ -1140,7 +1140,7 @@ test("justify_content_min_width_with_padding_child_width_greater_than_parent", f
config.free();
}
});
test("justify_content_min_width_with_padding_child_width_lower_than_parent", function () {
test("justify_content_min_width_with_padding_child_width_lower_than_parent", () => {
const config = Yoga.Config.create();
let root;