Skip to content

Commit 891a353

Browse files
committed
bam
1 parent 20fac19 commit 891a353

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎v3/js/opt-frontend-common.js‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,7 +1662,6 @@ function executeCodeAndCreateViz(codeToExec,
16621662
options_json: JSON.stringify(backendOptionsObj),
16631663
user_uuid: supports_html5_storage() ? localStorage.getItem('opt_uuid') : undefined,
16641664
session_uuid: sessionUUID,
1665-
exeTime: new Date().getTime(),
16661665
diffs_json: deltaObjStringified},
16671666
function(dat) {} /* don't do anything since this is a dummy call */, "text");
16681667

@@ -1686,7 +1685,6 @@ function executeCodeAndCreateViz(codeToExec,
16861685
options_json: JSON.stringify(backendOptionsObj),
16871686
user_uuid: supports_html5_storage() ? localStorage.getItem('opt_uuid') : undefined,
16881687
session_uuid: sessionUUID,
1689-
exeTime: new Date().getTime(),
16901688
diffs_json: deltaObjStringified},
16911689
execCallback, "json");
16921690
}

‎v3/js/opt-live.js‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,10 +440,11 @@ function optliveExecuteCodeAndCreateViz(codeToExec,
440440
// don't bother if we're currently on a syntax error since the
441441
// displayed visualization is no longer relevant
442442
var prevUpdateHistoryJSON = undefined;
443-
if (myVisualizer && !hasSyntaxError) {
443+
if (hasSyntaxError) {
444+
prevUpdateHistoryJSON = 'hasSyntaxError'; // hacky
445+
} else if (myVisualizer) {
444446
var encodedUh = compressUpdateHistoryList(myVisualizer);
445447
prevUpdateHistoryJSON = JSON.stringify(encodedUh);
446-
console.log('prevUpdateHistoryJSON', prevUpdateHistoryJSON);
447448
}
448449

449450
if (backendScript === js_backend_script ||

0 commit comments

Comments
 (0)