Commit 3556e3a9 authored by Konstantin Schulz's avatar Konstantin Schulz
Browse files

disabled livereload and fixed a small translation for the exercise display

parent 4140cda8
......@@ -6,5 +6,5 @@
4. Run `npm install`
5. Run `sudo npm i -g ionic`
6. 1. Run `ionic serve` and enjoy!
2. To run it in the background, use: `ionic serve --no-interactive &`
2. To run it in the background, use: `ionic serve --no-livereload --no-interactive &`
......@@ -5,7 +5,7 @@ export class ConfigMC {
public static backendApiPath: string = "/mc/api/v1.0/";
public static backendApiRawtextPath: string = "rawtext";
public static backendApiValidReffPath: string = "validReff";
public static backendBaseUrl: string = location.protocol.concat("//").concat(window.location.hostname).concat("/mc-service/"); // :5000
public static backendBaseUrl: string = location.protocol.concat("//").concat(window.location.hostname).concat("/mc-service/"); // :5000 /mc-service/
public static callidusProjectUrl: string = "https://www.projekte.hu-berlin.de/de/callidus";
public static developerMailTo: string = "mailto:sulzkons@hu-berlin.de";
public static localStorageKeyCorpora: string = "mc/corpora";
......
......@@ -39,7 +39,10 @@ export class HomePage {
test() {
let c = ExerciseTypeTranslation[ExerciseTypeTranslation[ExerciseType.cloze]];
let e = ExerciseTypeTranslation[ExerciseType.cloze];
let f = location.protocol.concat("//").concat(window.location.hostname).concat(":5000");
let a = ExerciseTypeTranslation.cloze;
let b = ExerciseTypeTranslation.cloze.valueOf();
let f = ExerciseTypeTranslation.cloze.toString();
let g = ExerciseTypeTranslation[ExerciseType.cloze].toString();
let d = 0;
}
}
......@@ -25,7 +25,7 @@ export class PreviewPage {
private instructionsFillTheGapString: string;
FileType = FileType;
FeedBackPage = FeedbackPage;
ExerciseTypeTranslations = ExerciseTypeTranslation;
ExerciseTypeTranslation = ExerciseTypeTranslation;
constructor(public navCtrl: NavController, public navParams: NavParams,
public http: HttpClient,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment