diff options
Diffstat (limited to '_www/index.js')
| -rw-r--r-- | _www/index.js | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/_www/index.js b/_www/index.js index 0832d94..a900993 100644 --- a/_www/index.js +++ b/_www/index.js @@ -1,20 +1,8 @@ // SPDX-FileCopyrightText: 2021 M. Shulhan <ms@kilabit.info> // SPDX-License-Identifier: GPL-3.0-or-later -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; import { Trunks } from "./trunks.js"; -function main() { - return __awaiter(this, void 0, void 0, function* () { - let trunks = new Trunks(); - yield trunks.Init(); - }); +async function main() { + let trunks = new Trunks(); + await trunks.Init(); } main(); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw0REFBNEQ7QUFDNUQsNENBQTRDOzs7Ozs7Ozs7O0FBRTVDLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxhQUFhLENBQUE7QUFFcEMsU0FBZSxJQUFJOztRQUNsQixJQUFJLE1BQU0sR0FBRyxJQUFJLE1BQU0sRUFBRSxDQUFBO1FBRXpCLE1BQU0sTUFBTSxDQUFDLElBQUksRUFBRSxDQUFBO0lBQ3BCLENBQUM7Q0FBQTtBQUVELElBQUksRUFBRSxDQUFBIn0=
\ No newline at end of file |
