Drop outdated JavaScript code no longer used

This commit is contained in:
Sebastian Serth
2023-05-09 21:16:36 +02:00
parent 240fbc5a3b
commit 15583ec552
2 changed files with 0 additions and 10 deletions

View File

@ -1,5 +1,4 @@
CodeOceanEditorEvaluation = {
chunkBuffer: [{streamedResponse: true}],
// A list of non-printable characters that are not allowed in the code output.
// Taken from https://stackoverflow.com/a/69024306
nonPrintableRegEx: /[\u0000-\u0008\u000B\u000C\u000F-\u001F\u007F-\u009F\u2000-\u200F\u2028-\u202F\u205F-\u206F\u3000\uFEFF]/g,

View File

@ -184,15 +184,6 @@ CodeOceanEditorSubmissions = {
this.initializeSocketForRunning(url);
},
saveCode: function(event) {
event.preventDefault();
this.createSubmission('#save', null, function() {
$.flash.success({
text: $('#save').data('message-success')
});
});
},
testCode: function(event) {
const cause = $('#test');
this.startSentryTransaction(cause);