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/YGDisplayTest.html
test("display_none", function () {
test("display_none", () => {
const config = Yoga.Config.create();
let root;
@@ -66,7 +66,7 @@ test("display_none", function () {
config.free();
}
});
test("display_none_fixed_size", function () {
test("display_none_fixed_size", () => {
const config = Yoga.Config.create();
let root;
@@ -126,7 +126,7 @@ test("display_none_fixed_size", function () {
config.free();
}
});
test("display_none_with_margin", function () {
test("display_none_with_margin", () => {
const config = Yoga.Config.create();
let root;
@@ -190,7 +190,7 @@ test("display_none_with_margin", function () {
config.free();
}
});
test("display_none_with_child", function () {
test("display_none_with_child", () => {
const config = Yoga.Config.create();
let root;
@@ -286,7 +286,7 @@ test("display_none_with_child", function () {
config.free();
}
});
test("display_none_with_position", function () {
test("display_none_with_position", () => {
const config = Yoga.Config.create();
let root;
@@ -346,7 +346,7 @@ test("display_none_with_position", function () {
config.free();
}
});
test("display_none_with_position_absolute", function () {
test("display_none_with_position_absolute", () => {
const config = Yoga.Config.create();
let root;