Allow compilation by using cdn
This commit is contained in:
@@ -4,7 +4,7 @@ import {
|
||||
fillRect,
|
||||
} from "./window.ts";
|
||||
import { font } from "./font.ts";
|
||||
// import { keyDown, keyPressed, keyReleased } from "./keyboard.ts";
|
||||
import { keyDown, keyPressed, keyReleased } from "./keyboard.ts";
|
||||
import { addToContext, runCode } from "./runcode.ts";
|
||||
import { resetRepl } from "./repl.ts";
|
||||
import { COLOR } from "./colors.ts";
|
||||
@@ -51,9 +51,9 @@ const faux = {
|
||||
spr: drawSprite,
|
||||
txt: drawText,
|
||||
rect: fillRect,
|
||||
// key_down: keyDown,
|
||||
// key_pressed: keyPressed,
|
||||
// key_released: keyReleased,
|
||||
btn: keyDown,
|
||||
btnp: keyPressed,
|
||||
btnr: keyReleased,
|
||||
code: (n: number) => {
|
||||
return runCode(getCodeSheet(n));
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user