Adding MPS Export #49

Merged
SinusFox merged 61 commits from adding-unit-tests-and-language-switching into main 2024-10-11 14:08:24 +00:00
Showing only changes of commit 43e8bcc988 - Show all commits
+1 -2
View File
@@ -108,7 +108,7 @@ export function isInputValidRegex(obj: string | undefined, subj: string | undefi
return true; 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 empty input: fetching inputs
if (obj == "" || subj == "" || bounds == "" || vars == "") { if (obj == "" || subj == "" || bounds == "" || vars == "") {
const objectiveElement = document.getElementById('objective'); const objectiveElement = document.getElementById('objective');
@@ -280,7 +280,6 @@ export function downloadLPFormatting(objective: any, subject: any, bounds: any)
return lpFormat; return lpFormat;
} }
function downloadProblemDownload(content: string) { function downloadProblemDownload(content: string) {
customLog("downloadPrepFile"); customLog("downloadPrepFile");
customLog(""); customLog("");