]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
wasm : fix typo in helper.js (#459)
authorTaisei Mima <redacted>
Sat, 4 Feb 2023 06:49:15 +0000 (15:49 +0900)
committerGitHub <redacted>
Sat, 4 Feb 2023 06:49:15 +0000 (08:49 +0200)
examples/helpers.js

index 8f224ec97b6be6c1a853eadb765dd79423853351..03b3a8576a04658e73bf57474deff36aad589e96 100644 (file)
@@ -8,7 +8,7 @@ function convertTypedArray(src, type) {
 
 var printTextarea = (function() {
     var element = document.getElementById('output');
-    if (element) element.alue = ''; // clear browser cache
+    if (element) element.value = ''; // clear browser cache
     return function(text) {
         if (arguments.length > 1) text = Array.prototype.slice.call(arguments).join(' ');
         console.log(text);