Skip to content

Commit 31ad01b

Browse files
Merge pull request #129 from vpython/Build_with_updated_winput
Build with updated winput
2 parents 5673f8f + c7c81cc commit 31ad01b

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

ForInstalledPython/glow.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/compiling/GScompiler.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,6 @@ where compile() was called, in untrusted/run.js.
901901
prog = program.slice(0,start)+prog
902902
prog = ';\n'+prog // so don't have to make special checks when searching backwards
903903

904-
905904
// ===================== Handle async and await issues =====================
906905

907906
// Must delete class statements of the form classname.prototype.RS_ls = "11";

package/glow.3.0.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

untrusted/run.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ var weblocs = [/^https:\/\/glowscript\.org$/, // put a couple of these explicitl
1111

1212
function checkTrustedHosts(aHost) { // go through the known trusted hosts
1313
let found = false;
14-
console.log("checking trusted hosts:" + aHost);
14+
//console.log("checking trusted hosts:" + aHost);
1515
for (let i = 0; i < weblocs.length; i++) {
1616
found = aHost.match(weblocs[i]);
1717
if (found) {
1818
break;
1919
}
2020
}
21-
console.log("Found =" + found);
21+
//console.log("Found =" + found);
2222
return !found; // return true to bail out.
2323
}
2424

@@ -197,7 +197,7 @@ function ideRun() {
197197
function receiveMessage(event) {
198198
event = event.originalEvent // originalEvent is a jquery entity
199199
trusted_origin = event.origin
200-
console.log("Setting trusted_origin:" + trusted_origin)
200+
//console.log("Setting trusted_origin:" + trusted_origin)
201201
if (checkTrustedHosts(trusted_origin)) { // ensure that message is from glowscript
202202
return;
203203
}

0 commit comments

Comments
 (0)