Skip to content

Commit

Permalink
Remove CDN
Browse files Browse the repository at this point in the history
  • Loading branch information
yukikurage committed Nov 13, 2024
1 parent 5818f19 commit 498ff4a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
18 changes: 18 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"binaryen": "^120.0.0",
"esbuild": "^0.24.0",
"live-server": "^1.2.2",
"npm-run-all": "^4.1.5",
Expand Down
4 changes: 2 additions & 2 deletions src/Brainfk/System/Transpile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";

import binaryen from "https://cdn.jsdelivr.net/gh/AssemblyScript/binaryen[email protected]/index.js";
import binaryen from "binaryen";

const append = (op1, op2) => {
if (op1.type === "Add" && op2.type === "Add") {
Expand Down Expand Up @@ -32,7 +32,7 @@ export const transpileImpl =

module.setMemory(2, 2);
module.addMemoryExport("0", "memory");

const constE = (value) => module.i32.const(value);

const loadMemoryE = (n) => {
Expand Down
1 change: 0 additions & 1 deletion src/Brainfk/System/Transpile.purs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module Brainfk.System.Transpile

import Prelude


import Data.Int (toNumber)
import Effect (Effect)
import Effect.Aff (Aff)
Expand Down

0 comments on commit 498ff4a

Please sign in to comment.