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/YGFlexDirectionTest.html
test("flex_direction_column_no_height", function () {
test("flex_direction_column_no_height", () => {
const config = Yoga.Config.create();
let root;
@@ -77,7 +77,7 @@ test("flex_direction_column_no_height", function () {
config.free();
}
});
test("flex_direction_row_no_width", function () {
test("flex_direction_row_no_width", () => {
const config = Yoga.Config.create();
let root;
@@ -148,7 +148,7 @@ test("flex_direction_row_no_width", function () {
config.free();
}
});
test("flex_direction_column", function () {
test("flex_direction_column", () => {
const config = Yoga.Config.create();
let root;
@@ -219,7 +219,7 @@ test("flex_direction_column", function () {
config.free();
}
});
test("flex_direction_row", function () {
test("flex_direction_row", () => {
const config = Yoga.Config.create();
let root;
@@ -291,7 +291,7 @@ test("flex_direction_row", function () {
config.free();
}
});
test("flex_direction_column_reverse", function () {
test("flex_direction_column_reverse", () => {
const config = Yoga.Config.create();
let root;
@@ -363,7 +363,7 @@ test("flex_direction_column_reverse", function () {
config.free();
}
});
test("flex_direction_row_reverse", function () {
test("flex_direction_row_reverse", () => {
const config = Yoga.Config.create();
let root;