Cleaned up code.
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
$(function() {
|
||||
|
||||
//Merge all editor components. OOP for the win. O rly.
|
||||
//TODO CHange this. Otherwise it will fuck people up,
|
||||
//TODO Change this. Otherwise it will fuck people up,
|
||||
//because it's really confusing if the variables and the code are
|
||||
//split over 6 files.
|
||||
$.extend(CodeOceanEditor, CodeOceanEditorAJAX);
|
||||
$.extend(CodeOceanEditor, CodeOceanEditorEvaluation);
|
||||
$.extend(CodeOceanEditor, CodeOceanEditorFlowr);
|
||||
$.extend(CodeOceanEditor, CodeOceanEditorSubmissions);
|
||||
$.extend(CodeOceanEditor, CodeOceanEditorTurtle);
|
||||
$.extend(CodeOceanEditor, CodeOceanEditorWebsocket);
|
||||
$.extend(CodeOceanEditor,
|
||||
CodeOceanEditorAJAX,
|
||||
CodeOceanEditorEvaluation,
|
||||
CodeOceanEditorFlowr,
|
||||
CodeOceanEditorSubmissions,
|
||||
CodeOceanEditorTurtle,
|
||||
CodeOceanEditorWebsocket);
|
||||
|
||||
if ($('#editor').isPresent() && CodeOceanEditor) {
|
||||
if (CodeOceanEditor.isBrowserSupported()) {
|
||||
|
Reference in New Issue
Block a user