Skip to content

Commit d75badd

Browse files
committed
build
1 parent 0b3ca74 commit d75badd

27 files changed

Lines changed: 72 additions & 70 deletions

‎v5-unity/build/composingprograms.bundle.js‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -940,8 +940,6 @@ var ExecutionVisualizer = (function () {
940940
base.find('#codeFooterDocs').hide(); // cut out extraneous docs
941941
}
942942
else {
943-
// also display credits:
944-
base.append('<div style="font-size: 9pt; margin-top: 5px; margin-bottom: 10px;">Created by <a href="https://twitter.com/pgbovine" target="_blank">@pgbovine</a></div>');
945943
}
946944
// not enough room for these extra buttons ...
947945
if (this.params.codeDivWidth &&
@@ -1179,7 +1177,7 @@ var ExecutionVisualizer = (function () {
11791177
// render error (if applicable):
11801178
if (myViz.curLineExceptionMsg) {
11811179
if (myViz.curLineExceptionMsg === "Unknown error") {
1182-
myViz.navControls.showError('Unknown error: <a href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">read this page for more info</a>');
1180+
myViz.navControls.showError('Unknown error: <a target="_blank" href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">read this page for more info</a>');
11831181
}
11841182
else {
11851183
myViz.navControls.showError(myViz.curLineExceptionMsg);
@@ -4957,6 +4955,10 @@ var OptFrontendSharedSessions = (function (_super) {
49574955
} while ($.inArray(newName, peerNames) >= 0); // i.e., is newName in peerNames?
49584956
p.Self.update({ name: newName }); // change our own name
49594957
}
4958+
if (!_this.meCreatedThisSession()) {
4959+
// 2019-03-26: display a more prominent warning here:
4960+
_this.chatbotPostMsg('Thanks for helping! This service is NOT being actively maintained, so it may crash at any time. Please do not contact the site owner for technical support or feature requests.');
4961+
}
49604962
});
49614963
// someone ELSE sent a chat
49624964
exports.TogetherJS.hub.on("togetherjs.chat", function (msg) {
@@ -5443,7 +5445,7 @@ var OptFrontendSharedSessions = (function (_super) {
54435445
this.appendTogetherJsFooter();
54445446
$("#requestHelpBtn").hide();
54455447
// 2019-03-26: display a more prominent warning here:
5446-
this.chatbotPostMsg('This service is NOT being actively maintained anymore, so it may crash at any time. It is available as-is for free with no technical support. Do not contact the owner to make any requests for new features.');
5448+
this.chatbotPostMsg('This service is NOT being actively maintained, so it may crash at any time. It is available for free with no technical support. Please do not contact the site owner to make any feature requests.');
54475449
}
54485450
else {
54495451
alert("ERROR in getting live help. This isn't working at the moment. Please try again later.");
@@ -24269,7 +24271,7 @@ var AbstractBaseFrontend = (function () {
2426924271
else {
2427024272
_this.setFronendError(["Server error! Your code might have an INFINITE LOOP or be running for too long.",
2427124273
"The server may also be OVERLOADED. Or you're behind a FIREWALL that blocks access.",
24272-
"Try again later, or <a href=\"https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md\">read this page for more info</a>."]);
24274+
"Try again later. This site is provided for free with no available technical support."]);
2427324275
}
2427424276
_this.doneExecutingCode();
2427524277
});
@@ -24287,7 +24289,7 @@ var AbstractBaseFrontend = (function () {
2428724289
AbstractBaseFrontend.prototype.setFronendError = function (lines, ignoreLog) {
2428824290
if (ignoreLog === void 0) { ignoreLog = false; }
2428924291
$("#frontendErrorOutput").html(lines.map(pytutor_1.htmlspecialchars).join('<br/>') +
24290-
(ignoreLog ? '' : '<p/>Here is a list of <a target="_blank" href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">UNSUPPORTED FEATURES</a>'));
24292+
(ignoreLog ? '' : '<p/>Read this list of <a target="_blank" href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">UNSUPPORTED FEATURES</a>'));
2429124293
// log it to the server as well (unless ignoreLog is on)
2429224294
if (!ignoreLog) {
2429324295
var errorStr = lines.join();
@@ -24404,7 +24406,7 @@ var AbstractBaseFrontend = (function () {
2440424406
else {
2440524407
_this.setFronendError(["Unknown error: The server may be OVERLOADED right now; try again later.",
2440624408
"Your code may also contain UNSUPPORTED FEATURES that this tool cannot handle.",
24407-
"Try again later, or <a href=\"https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md\">read this page for more info</a>. [#NullTrace]"]);
24409+
"Try again later. This site is provided for free with no available technical support. [#NullTrace]"]);
2440824410
}
2440924411
}
2441024412
else {

‎v5-unity/build/csc108h.bundle.js‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -940,8 +940,6 @@ var ExecutionVisualizer = (function () {
940940
base.find('#codeFooterDocs').hide(); // cut out extraneous docs
941941
}
942942
else {
943-
// also display credits:
944-
base.append('<div style="font-size: 9pt; margin-top: 5px; margin-bottom: 10px;">Created by <a href="https://twitter.com/pgbovine" target="_blank">@pgbovine</a></div>');
945943
}
946944
// not enough room for these extra buttons ...
947945
if (this.params.codeDivWidth &&
@@ -1179,7 +1177,7 @@ var ExecutionVisualizer = (function () {
11791177
// render error (if applicable):
11801178
if (myViz.curLineExceptionMsg) {
11811179
if (myViz.curLineExceptionMsg === "Unknown error") {
1182-
myViz.navControls.showError('Unknown error: <a href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">read this page for more info</a>');
1180+
myViz.navControls.showError('Unknown error: <a target="_blank" href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">read this page for more info</a>');
11831181
}
11841182
else {
11851183
myViz.navControls.showError(myViz.curLineExceptionMsg);
@@ -4957,6 +4955,10 @@ var OptFrontendSharedSessions = (function (_super) {
49574955
} while ($.inArray(newName, peerNames) >= 0); // i.e., is newName in peerNames?
49584956
p.Self.update({ name: newName }); // change our own name
49594957
}
4958+
if (!_this.meCreatedThisSession()) {
4959+
// 2019-03-26: display a more prominent warning here:
4960+
_this.chatbotPostMsg('Thanks for helping! This service is NOT being actively maintained, so it may crash at any time. Please do not contact the site owner for technical support or feature requests.');
4961+
}
49604962
});
49614963
// someone ELSE sent a chat
49624964
exports.TogetherJS.hub.on("togetherjs.chat", function (msg) {
@@ -5443,7 +5445,7 @@ var OptFrontendSharedSessions = (function (_super) {
54435445
this.appendTogetherJsFooter();
54445446
$("#requestHelpBtn").hide();
54455447
// 2019-03-26: display a more prominent warning here:
5446-
this.chatbotPostMsg('This service is NOT being actively maintained anymore, so it may crash at any time. It is available as-is for free with no technical support. Do not contact the owner to make any requests for new features.');
5448+
this.chatbotPostMsg('This service is NOT being actively maintained, so it may crash at any time. It is available for free with no technical support. Please do not contact the site owner to make any feature requests.');
54475449
}
54485450
else {
54495451
alert("ERROR in getting live help. This isn't working at the moment. Please try again later.");
@@ -24269,7 +24271,7 @@ var AbstractBaseFrontend = (function () {
2426924271
else {
2427024272
_this.setFronendError(["Server error! Your code might have an INFINITE LOOP or be running for too long.",
2427124273
"The server may also be OVERLOADED. Or you're behind a FIREWALL that blocks access.",
24272-
"Try again later, or <a href=\"https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md\">read this page for more info</a>."]);
24274+
"Try again later. This site is provided for free with no available technical support."]);
2427324275
}
2427424276
_this.doneExecutingCode();
2427524277
});
@@ -24287,7 +24289,7 @@ var AbstractBaseFrontend = (function () {
2428724289
AbstractBaseFrontend.prototype.setFronendError = function (lines, ignoreLog) {
2428824290
if (ignoreLog === void 0) { ignoreLog = false; }
2428924291
$("#frontendErrorOutput").html(lines.map(pytutor_1.htmlspecialchars).join('<br/>') +
24290-
(ignoreLog ? '' : '<p/>Here is a list of <a target="_blank" href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">UNSUPPORTED FEATURES</a>'));
24292+
(ignoreLog ? '' : '<p/>Read this list of <a target="_blank" href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">UNSUPPORTED FEATURES</a>'));
2429124293
// log it to the server as well (unless ignoreLog is on)
2429224294
if (!ignoreLog) {
2429324295
var errorStr = lines.join();
@@ -24404,7 +24406,7 @@ var AbstractBaseFrontend = (function () {
2440424406
else {
2440524407
_this.setFronendError(["Unknown error: The server may be OVERLOADED right now; try again later.",
2440624408
"Your code may also contain UNSUPPORTED FEATURES that this tool cannot handle.",
24407-
"Try again later, or <a href=\"https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md\">read this page for more info</a>. [#NullTrace]"]);
24409+
"Try again later. This site is provided for free with no available technical support. [#NullTrace]"]);
2440824410
}
2440924411
}
2441024412
else {

‎v5-unity/build/iframe-embed.bundle.js‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -908,8 +908,6 @@ var ExecutionVisualizer = (function () {
908908
base.find('#codeFooterDocs').hide(); // cut out extraneous docs
909909
}
910910
else {
911-
// also display credits:
912-
base.append('<div style="font-size: 9pt; margin-top: 5px; margin-bottom: 10px;">Created by <a href="https://twitter.com/pgbovine" target="_blank">@pgbovine</a></div>');
913911
}
914912
// not enough room for these extra buttons ...
915913
if (this.params.codeDivWidth &&
@@ -1147,7 +1145,7 @@ var ExecutionVisualizer = (function () {
11471145
// render error (if applicable):
11481146
if (myViz.curLineExceptionMsg) {
11491147
if (myViz.curLineExceptionMsg === "Unknown error") {
1150-
myViz.navControls.showError('Unknown error: <a href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">read this page for more info</a>');
1148+
myViz.navControls.showError('Unknown error: <a target="_blank" href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">read this page for more info</a>');
11511149
}
11521150
else {
11531151
myViz.navControls.showError(myViz.curLineExceptionMsg);
@@ -22338,7 +22336,7 @@ var AbstractBaseFrontend = (function () {
2233822336
else {
2233922337
_this.setFronendError(["Server error! Your code might have an INFINITE LOOP or be running for too long.",
2234022338
"The server may also be OVERLOADED. Or you're behind a FIREWALL that blocks access.",
22341-
"Try again later, or <a href=\"https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md\">read this page for more info</a>."]);
22339+
"Try again later. This site is provided for free with no available technical support."]);
2234222340
}
2234322341
_this.doneExecutingCode();
2234422342
});
@@ -22356,7 +22354,7 @@ var AbstractBaseFrontend = (function () {
2235622354
AbstractBaseFrontend.prototype.setFronendError = function (lines, ignoreLog) {
2235722355
if (ignoreLog === void 0) { ignoreLog = false; }
2235822356
$("#frontendErrorOutput").html(lines.map(pytutor_1.htmlspecialchars).join('<br/>') +
22359-
(ignoreLog ? '' : '<p/>Here is a list of <a target="_blank" href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">UNSUPPORTED FEATURES</a>'));
22357+
(ignoreLog ? '' : '<p/>Read this list of <a target="_blank" href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">UNSUPPORTED FEATURES</a>'));
2236022358
// log it to the server as well (unless ignoreLog is on)
2236122359
if (!ignoreLog) {
2236222360
var errorStr = lines.join();
@@ -22473,7 +22471,7 @@ var AbstractBaseFrontend = (function () {
2247322471
else {
2247422472
_this.setFronendError(["Unknown error: The server may be OVERLOADED right now; try again later.",
2247522473
"Your code may also contain UNSUPPORTED FEATURES that this tool cannot handle.",
22476-
"Try again later, or <a href=\"https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md\">read this page for more info</a>. [#NullTrace]"]);
22474+
"Try again later. This site is provided for free with no available technical support. [#NullTrace]"]);
2247722475
}
2247822476
}
2247922477
else {

‎v5-unity/build/index.bundle.js‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -908,8 +908,6 @@ var ExecutionVisualizer = (function () {
908908
base.find('#codeFooterDocs').hide(); // cut out extraneous docs
909909
}
910910
else {
911-
// also display credits:
912-
base.append('<div style="font-size: 9pt; margin-top: 5px; margin-bottom: 10px;">Created by <a href="https://twitter.com/pgbovine" target="_blank">@pgbovine</a></div>');
913911
}
914912
// not enough room for these extra buttons ...
915913
if (this.params.codeDivWidth &&
@@ -1147,7 +1145,7 @@ var ExecutionVisualizer = (function () {
11471145
// render error (if applicable):
11481146
if (myViz.curLineExceptionMsg) {
11491147
if (myViz.curLineExceptionMsg === "Unknown error") {
1150-
myViz.navControls.showError('Unknown error: <a href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">read this page for more info</a>');
1148+
myViz.navControls.showError('Unknown error: <a target="_blank" href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">read this page for more info</a>');
11511149
}
11521150
else {
11531151
myViz.navControls.showError(myViz.curLineExceptionMsg);

0 commit comments

Comments
 (0)