Merge branch 'main' into adding-unit-tests-and-language-switching

Signed-off-by: SinusFox <61253950+SinusFox@users.noreply.github.com>
This commit is contained in:
SinusFox
2024-10-11 16:03:43 +02:00
committed by GitHub
+1 -2
View File
@@ -108,7 +108,7 @@ export function isInputValidRegex(obj: string | undefined, subj: string | undefi
return true;
}
export function isInputFilled(obj: string | undefined, subj: string | undefined, bounds: string | undefined, vars: string | undefined) {
export function isInputFilled(obj: string | undefined, subj: string | undefined, bounds: string | undefined, vars: string | undefined): boolean {
// if empty input: fetching inputs
if (obj == "" || subj == "" || bounds == "" || vars == "") {
const objectiveElement = document.getElementById('objective');
@@ -280,7 +280,6 @@ export function downloadLPFormatting(objective: any, subject: any, bounds: any)
return lpFormat;
}
function downloadProblemDownload(content: string) {
customLog("downloadPrepFile");
customLog("");