From 67bd5676fdec2d457d97a9e5c4b4a55b50b87bd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=BA=C5=A1=20Juraj=20Koby=C4=BEan?= Date: Fri, 22 Nov 2024 19:40:51 +0100 Subject: [PATCH] moved files, renamed .html, fixed links --- .../stranka.html => index.html | 8 ++++---- .../kontrola_api.js | 14 +++++++------- .../speech_recognition.js | 0 .../videoplayer.js | 0 {Script_Speech_recognition => styles}/style.css | 0 5 files changed, 11 insertions(+), 11 deletions(-) rename Script_Speech_recognition/stranka.html => index.html (86%) rename {Script_Speech_recognition => scripts}/kontrola_api.js (97%) rename {Script_Speech_recognition => scripts}/speech_recognition.js (100%) rename {Script_Speech_recognition => scripts}/videoplayer.js (100%) rename {Script_Speech_recognition => styles}/style.css (100%) diff --git a/Script_Speech_recognition/stranka.html b/index.html similarity index 86% rename from Script_Speech_recognition/stranka.html rename to index.html index 851304d..e2d6153 100644 --- a/Script_Speech_recognition/stranka.html +++ b/index.html @@ -5,7 +5,7 @@ Jednoduchý Prekladač - + @@ -41,9 +41,9 @@ - - - + + + diff --git a/Script_Speech_recognition/kontrola_api.js b/scripts/kontrola_api.js similarity index 97% rename from Script_Speech_recognition/kontrola_api.js rename to scripts/kontrola_api.js index 35bfbbc..adf5292 100644 --- a/Script_Speech_recognition/kontrola_api.js +++ b/scripts/kontrola_api.js @@ -1,8 +1,8 @@ -// Skontroluj podporu Web Speech API -window.SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition; - -if (!window.SpeechRecognition) { - console.error('Tento prehliadač nepodporuje Web Speech API'); -} else { - console.log('Web Speech API je podporované'); +// Skontroluj podporu Web Speech API +window.SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition; + +if (!window.SpeechRecognition) { + console.error('Tento prehliadač nepodporuje Web Speech API'); +} else { + console.log('Web Speech API je podporované'); } \ No newline at end of file diff --git a/Script_Speech_recognition/speech_recognition.js b/scripts/speech_recognition.js similarity index 100% rename from Script_Speech_recognition/speech_recognition.js rename to scripts/speech_recognition.js diff --git a/Script_Speech_recognition/videoplayer.js b/scripts/videoplayer.js similarity index 100% rename from Script_Speech_recognition/videoplayer.js rename to scripts/videoplayer.js diff --git a/Script_Speech_recognition/style.css b/styles/style.css similarity index 100% rename from Script_Speech_recognition/style.css rename to styles/style.css -- 2.45.2