src/Palete/Palete.vala
authorAlan Knowles <alan@roojs.com>
Wed, 8 Jun 2016 06:48:01 +0000 (14:48 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 8 Jun 2016 06:48:01 +0000 (14:48 +0800)
src/Palete/Palete.vala

index 06bf729..c788a23 100644 (file)
@@ -387,6 +387,9 @@ namespace Palete
                                                                  testcode, out errmsg);
 
                        if (line < 0) {
+                               if (ptype == "file") {
+                                       return this.validateJavascriptCompression(code);
+                               }
                                print("no errors\n");
                                return ret;
                        }