This repository was archived by the owner on Jun 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export default class LiveCode extends ActiveCode {
2929 }
3030 this . createErrorOutput ( ) ;
3131 }
32- outputfun ( a ) { }
32+ outputfun ( a ) { }
3333 createInputElement ( ) {
3434 var label = document . createElement ( "label" ) ;
3535 label . for = this . divid + "_stdin" ;
@@ -43,12 +43,20 @@ export default class LiveCode extends ActiveCode {
4343 this . outerDiv . appendChild ( input ) ;
4444 this . stdin_el = input ;
4545 }
46- createErrorOutput ( ) { }
46+ createErrorOutput ( ) { }
4747
4848 /* Main runProg method for livecode
4949 *
5050 */
51- async runProg ( ) {
51+ async runProg ( noUI , logResults ) {
52+ if ( typeof logResults === "undefined" ) {
53+ this . logResults = true ;
54+ } else {
55+ this . logResults = logResults ;
56+ }
57+ if ( typeof noUI !== "boolean" ) {
58+ noUI = false ;
59+ }
5260 await this . runSetup ( ) ;
5361 try {
5462 let res = await this . submitToJobe ( ) ;
@@ -197,9 +205,9 @@ export default class LiveCode extends ActiveCode {
197205 public static void main(String[] args) {
198206 CodeTestHelper.resetFinalResults();
199207 Result result = JUnitCore.runClasses(${ testdrivername . replace (
200- ".java" ,
201- ".class"
202- ) } );
208+ ".java" ,
209+ ".class"
210+ ) } );
203211 System.out.println(CodeTestHelper.getFinalResults());
204212
205213 int total = result.getRunCount();
Original file line number Diff line number Diff line change 1010with open ("requirements.txt" , "r" , encoding = "utf-8" ) as fh :
1111 dependencies = [l .strip () for l in fh ]
1212
13- VERSION = "5.10.1 "
13+ VERSION = "5.10.4 "
1414
1515# These pre-install hooks are useful to make sure any pre-requisite
1616# programs that are not pip installable are in place.
You can’t perform that action at this time.
0 commit comments