Skip to content

Commit

Permalink
update test runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
christianp committed Dec 3, 2024
1 parent 1c8472e commit d017e81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/jme-runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -20296,7 +20296,7 @@ jme.variables.note_script_constructor = function(construct_scope, process_result
*/
function Script(source, base, scope) {
this.source = source;
scope = construct_scope(scope);
scope = construct_scope(scope || Numbas.jme.builtinScope);
try {
var notes = source.split(/\n(\s*\n)+/);
var ntodo = {};
Expand Down
2 changes: 1 addition & 1 deletion tests/numbas-runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -19887,7 +19887,7 @@ jme.variables.note_script_constructor = function(construct_scope, process_result
*/
function Script(source, base, scope) {
this.source = source;
scope = construct_scope(scope);
scope = construct_scope(scope || Numbas.jme.builtinScope);
try {
var notes = source.split(/\n(\s*\n)+/);
var ntodo = {};
Expand Down

0 comments on commit d017e81

Please sign in to comment.