diff --git a/whalesong/repl-prototype/htdocs/repl.js b/whalesong/repl-prototype/htdocs/repl.js index 54de387..a1450c0 100644 --- a/whalesong/repl-prototype/htdocs/repl.js +++ b/whalesong/repl-prototype/htdocs/repl.js @@ -9,11 +9,9 @@ jQuery(document).ready(function() { var resetButton = jQuery("#reset"); - // The machine. var M; - var interactionsCount = 0; var sendOutputToBottom = function() { @@ -185,6 +183,7 @@ jQuery(document).ready(function() { var compiledCodes = compiledResult.compiledCodes; forEachK(compiledCodes, function(code, k) { + // Indirect eval usage here is deliberate. var codeFunction = (0,eval)(code); var onGoodEvaluation = function() { var resultList = M.v; @@ -229,7 +228,6 @@ jQuery(document).ready(function() { // Test: compile a module. // - breakButton.hide(); breakButton.click(onBreak); resetButton.click(onReset);