Send hints when scoring

This commit is contained in:
Maximilian Grundke
2018-03-13 14:52:40 +01:00
parent ccdcc43431
commit 841a885711
3 changed files with 14 additions and 4 deletions

View File

@@ -30,6 +30,7 @@ CodeOceanEditorWebsocket = {
initializeSocketForScoring: function(url) {
this.initializeSocket(url);
this.websocket.on('default',this.handleScoringResponse.bind(this));
this.websocket.on('hint', this.showHint.bind(this));
this.websocket.on('exit', this.handleExitCommand.bind(this));
},