Skip to content

Commit 6291643

Browse files
author
Philip Guo
committed
sorry imran ... after almost three years, your suggestion gets canned
1 parent c3b02d5 commit 6291643

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎v3/js/pytutor.js‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -304,12 +304,6 @@ ExecutionVisualizer.prototype.render = function() {
304304
myViz.domRoot.find("#errorOutput").html(htmlspecialchars(warningMsg));
305305
myViz.domRoot.find("#errorOutput").show();
306306
}
307-
// as imran suggests, for a (non-error) one-liner, SNIP off the
308-
// first instruction so that we start after the FIRST instruction
309-
// has been executed ...
310-
else if (this.curTrace.length == 2) {
311-
this.curTrace.shift();
312-
}
313307

314308
// set up slider after postprocessing curTrace
315309

0 commit comments

Comments
 (0)