less prototype, less bad code implementation of CCHM type theory
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

8 lines
330 B

import * as rts from "./rts.mjs";
import module from "./cubical.wasm.mjs";
import req from "./cubical.req.mjs";
document.addEventListener('DOMContentLoaded', async () => {
window.cubical = await module.then(m => rts.newAsteriusInstance(Object.assign(req, {module: m})))
document.dispatchEvent(new Event('cubicalLoaded'));
});