Add JS Linting

This commit is contained in:
Nick Gerleman
2022-12-24 01:46:20 -08:00
parent 014986e9da
commit 4d17e309d2
47 changed files with 1447 additions and 561 deletions

View File

@@ -9,9 +9,10 @@
test("wrap_child", function () {
const config = Yoga.Config.create();
let root;
try {
const root = Yoga.Node.create(config);
root = Yoga.Node.create(config);
const root_child0 = Yoga.Node.create(config);
root_child0.setWidth(100);
@@ -50,9 +51,10 @@ test("wrap_child", function () {
});
test("wrap_grandchild", function () {
const config = Yoga.Config.create();
let root;
try {
const root = Yoga.Node.create(config);
root = Yoga.Node.create(config);
const root_child0 = Yoga.Node.create(config);
root.insertChild(root_child0, 0);