fixed qa_api binding, changed formatting ...

This commit is contained in:
Ralf Teusner
2016-09-01 11:01:44 +02:00
parent aec7c593d8
commit 81fca2b8c7
2 changed files with 5 additions and 3 deletions

View File

@@ -204,7 +204,7 @@ var CodeOceanEditor = {
if (this.qa_api) {
editor.getSession().on("change", function (deltaObject) {
this.qa_api.executeCommand('syncEditor', [this.active_file, deltaObject]);
});
}.bind(this));
}
var document = editor.getSession().getDocument();