Skip to content

Commit

Permalink
chore: upgrade and rename wasmRabbit
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheeg committed Oct 9, 2024
1 parent 64f1007 commit ff5f619
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 3,270 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
public/ocr/opencv.js
public/js/BinaryFrame.js
public/vendor/*
public/views/stackrabbit/wasmRabbit.js
docs
*.md
4 changes: 3 additions & 1 deletion public/views/Player.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,9 @@ export default class Player extends EventTarget {
});

if (QueryString.get('srabbit') === '1') {
this.stackRabbitWorker = new Worker('/views/stackrabbit/worker.js');
this.stackRabbitWorker = new Worker(
'/views/stackrabbit/wasmRabbit-worker.js'
);

this.stackRabbitWorker.rpc = (...command) => {
return new Promise((resolve, reject) => {
Expand Down
Loading

0 comments on commit ff5f619

Please sign in to comment.