whitespace, comments

This commit is contained in:
Danny Yoo 2013-03-18 12:24:35 -06:00
parent 6a393c1fdb
commit 4aee8aabab

View File

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