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

@@ -8,13 +8,13 @@
*/
module.exports = async () => {
if (process.env['SYNC'] == true && process.env['WASM'] == true) {
if (process.env["SYNC"] == true && process.env["WASM"] == true) {
global.Yoga = require("./dist/entrypoint/wasm-sync");
} else if (process.env['SYNC'] == true) {
} else if (process.env["SYNC"] == true) {
global.Yoga = require("./dist/entrypoint/asmjs-sync");
} else if (process.env['WASM'] == true) {
} else if (process.env["WASM"] == true) {
global.Yoga = await require("./dist/entrypoint/wasm-async").loadYoga();
} else {
global.Yoga = await require("./dist/entrypoint/asmjs-async").loadYoga();
}
}
};