X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=blobdiff_plain;f=src%2FBuilder4%2FEditor.vala;h=3b4d09b35fc314225ef90606782422ebe4a4fda0;hp=ced4602e07c5f763743d1669cb8b00db1fa0d289;hb=fc49f865ff0b406b1fb2313e84cf3edb8536727b;hpb=ea4d320f55c1b91c945c2e635f096924ee40d7aa diff --git a/src/Builder4/Editor.vala b/src/Builder4/Editor.vala index ced4602e0..3b4d09b35 100644 --- a/src/Builder4/Editor.vala +++ b/src/Builder4/Editor.vala @@ -574,14 +574,17 @@ public class Editor : Object if (_this.file.language == "js") { this.check_running = false; print("calling validate javascript\n"); - return this.highlightErrors(p.validateJavascript( + Gee.HashMap errors; + p.javascriptHasErrors( _this.window.windowstate, str, _this.key, _this.ptype, _this.file, - _this.node - )); + + out errors + ); + return this.highlightErrors(errors); }