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/YGPaddingTest.html
test("padding_no_size", function () {
test("padding_no_size", () => {
const config = Yoga.Config.create();
let root;
@@ -38,7 +38,7 @@ test("padding_no_size", function () {
config.free();
}
});
test("padding_container_match_child", function () {
test("padding_container_match_child", () => {
const config = Yoga.Config.create();
let root;
@@ -84,7 +84,7 @@ test("padding_container_match_child", function () {
config.free();
}
});
test("padding_flex_child", function () {
test("padding_flex_child", () => {
const config = Yoga.Config.create();
let root;
@@ -132,7 +132,7 @@ test("padding_flex_child", function () {
config.free();
}
});
test("padding_stretch_child", function () {
test("padding_stretch_child", () => {
const config = Yoga.Config.create();
let root;
@@ -179,7 +179,7 @@ test("padding_stretch_child", function () {
config.free();
}
});
test("padding_center_child", function () {
test("padding_center_child", () => {
const config = Yoga.Config.create();
let root;
@@ -228,7 +228,7 @@ test("padding_center_child", function () {
config.free();
}
});
test("child_with_padding_align_end", function () {
test("child_with_padding_align_end", () => {
const config = Yoga.Config.create();
let root;