Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions-bot committed Jan 20, 2024
1 parent 826b30d commit b330db8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/orderly/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/orderly/orderly.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>Orderly: Dictation-based book writing</title>
<script src="/orderly/coi-serviceworker.min.js"></script>
<script type="module" crossorigin src="/orderly/assets/index-BqNCLj2M.js"></script>
<link rel="stylesheet" crossorigin href="/orderly/assets/index-6WkGhJHF.css">
Expand All @@ -19,15 +19,11 @@

window.Module = {
print: function (message) {
console.log("Custom Print: ", message);

if (bracketRegex.test(message) && !blankAudioRegex.test(message)) {
recentResult.push(message.replace(bracketRegex, "").trim());
}
},
printErr: function (message) {
console.log("Custom PrintErr: ", message);

if (whisperTimingRegex.test(message) && recentResult.length > 0) {
window.dispatchEvent(
new CustomEvent("whisperResult", {
Expand Down

0 comments on commit b330db8

Please sign in to comment.