X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=blobdiff_plain;f=src%2FPalete%2FPalete.vala;h=1f974fddaea305c00d245d0ab7cbe893e5513b6e;hp=1ee5b41f734152880d86703d2cbef72bc4cfb969;hb=acaa8d5fa6bdd6b4e007c89096ea4cde33871c4d;hpb=cfcfab85d5e8f387c7a2dc4c946eae42e9e2d36a diff --git a/src/Palete/Palete.vala b/src/Palete/Palete.vala index 1ee5b41f7..1f974fdda 100644 --- a/src/Palete/Palete.vala +++ b/src/Palete/Palete.vala @@ -415,14 +415,14 @@ namespace Palete if (ptype == "file") { - return this.validateJavascriptCompression(file, state, code); + return this.javascriptHasCompressionErrors(file, state, code); } print("no errors\n"); return false; } - public bool validateJavascriptCompression(JsRender.JsRender file, WindowState state, string code) + public bool javascriptHasCompressionErrors(JsRender.JsRender file, WindowState state, string code) { // this uses the roojspacker code to try and compress the code. // it should highlight errors before we actually push live the code.