Skip to content

Commit

Permalink
v0.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
petersalomonsen committed May 24, 2024
1 parent 1154d59 commit 6288bd5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 32 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ libgit2-*
wasm-git-*.tgz
lg2.js
lg2.wasm
lg2_async.js
lg2_async.wasm
.DS_Store
.vscode
node_modules
Expand Down
25 changes: 2 additions & 23 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wasm-git",
"version": "0.0.12",
"version": "0.0.13",
"type": "module",
"author": {
"name": "Peter Salomonsen",
Expand Down
12 changes: 4 additions & 8 deletions test-browser/manycommits.worker.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
let stdout = [];
let stderr = [];

/*var Module = {
'print': function (text) {
globalThis.wasmGitModuleOverrides = {
'print': (text) => {
console.log(text);
stdout.push(text)
},
'printErr': function (text) {
'printErr': (text) => {
console.error(text);
stderr.push(text);
},
locateFile: function (s) {
return 'SCRIPTURLBASE/test-browser/' + s;
}
};*/

};

const lg2mod = await import(new URL('lg2.js', import.meta.url));
const lg2 = await lg2mod.default();
Expand Down

0 comments on commit 6288bd5

Please sign in to comment.