Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Dec 31, 2024
1 parent 5e4420e commit 032d759
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ const session = new Session("nudelsalat", {
});
window.session = session;

session.on("change", (...args) => console.log("change", ...args));
session.on("message", (msg) => console.log("message", msg));
/* session.on("change", (...args) => console.log("change", ...args));
session.on("message", (msg) => console.log("message", msg)); */
session.on("eval:hydra", handleEvalHydra);
session.on("eval:strudel", (msg) => strudel.eval(msg));

Expand Down
4 changes: 2 additions & 2 deletions src/strudel.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ export class StrudelSession {
if (!pattern) {
return;
}
console.log("evaluated patterns", this.pPatterns);
//console.log("evaluated patterns", this.pPatterns);
this.patterns[docId] = pattern.docId(docId); // docId is needed for highlighting
console.log("this.patterns", this.patterns);
//console.log("this.patterns", this.patterns);
const allPatterns = stack(...Object.values(this.patterns));

await this.repl.scheduler.setPattern(allPatterns, true);
Expand Down

0 comments on commit 032d759

Please sign in to comment.