|
@@ -1,25 +1,40 @@
|
|
|
-import { runner } from './runner';
|
|
|
-import { initVisualUI, addFunctionChangeListener,
|
|
|
- addGlobalChangeListener, removeFunctionListener,
|
|
|
- removeGlobalListener, getTestCases } from './visualUI/functions';
|
|
|
-import * as LocalizedStringsService from './services/localizedStringsService';
|
|
|
+import { runner } from "./runner";
|
|
|
+import {
|
|
|
+ initVisualUI,
|
|
|
+ addFunctionChangeListener,
|
|
|
+ addGlobalChangeListener,
|
|
|
+ removeFunctionListener,
|
|
|
+ removeGlobalListener,
|
|
|
+ getTestCases,
|
|
|
+} from "./visualUI/functions";
|
|
|
+import * as LocalizedStringsService from "./services/localizedStringsService";
|
|
|
import { i18nHelper } from "./services/i18nHelper";
|
|
|
-import { ActionTypes, getLogs, getLogsAsString, registerClick, registerUserEvent, parseLogs } from "./services/userLog";
|
|
|
-import { prepareActivityToStudentHelper, autoEval } from "./util/iassignHelpers";
|
|
|
+import {
|
|
|
+ ActionTypes,
|
|
|
+ getLogs,
|
|
|
+ getLogsAsString,
|
|
|
+ registerClick,
|
|
|
+ registerUserEvent,
|
|
|
+ parseLogs,
|
|
|
+} from "./services/userLog";
|
|
|
+import {
|
|
|
+ prepareActivityToStudentHelper,
|
|
|
+ autoEval,
|
|
|
+} from "./util/iassignHelpers";
|
|
|
import { openAssessmentDetail } from "./util/utils";
|
|
|
-import { Config } from './util/config';
|
|
|
+import { Config } from "./util/config";
|
|
|
import * as CodeEditorAll from "./visualUI/text_editor";
|
|
|
-import {autoGenerateTestCaseOutput} from './util/auto_gen_output';
|
|
|
+import { autoGenerateTestCaseOutput } from "./util/auto_gen_output";
|
|
|
|
|
|
const CodeEditor = {
|
|
|
initTextEditor: CodeEditorAll.initTextEditor,
|
|
|
setCode: CodeEditorAll.setCode,
|
|
|
getCode: CodeEditorAll.getCode,
|
|
|
updateEditor: CodeEditorAll.updateEditor,
|
|
|
- disable: CodeEditorAll.disable
|
|
|
+ disable: CodeEditorAll.disable,
|
|
|
};
|
|
|
|
|
|
-const i18n = i18nHelper.i18n
|
|
|
+const i18n = i18nHelper.i18n;
|
|
|
const LocalizedStrings = LocalizedStringsService.getInstance();
|
|
|
|
|
|
export {
|
|
@@ -43,5 +58,6 @@ export {
|
|
|
CodeEditor,
|
|
|
openAssessmentDetail,
|
|
|
autoGenerateTestCaseOutput,
|
|
|
- Config
|
|
|
-}
|
|
|
+ Config,
|
|
|
+};
|
|
|
+
|