Drop outdated JavaScript code no longer used
This commit is contained in:
@ -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,
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user