projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
fe4e84f
)
src/Palete/Palete.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 8 Jun 2016 09:57:52 +0000
(17:57 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 8 Jun 2016 09:57:52 +0000
(17:57 +0800)
src/Palete/Palete.vala
patch
|
blob
|
history
diff --git
a/src/Palete/Palete.vala
b/src/Palete/Palete.vala
index
1399a11
..
1ee5b41
100644
(file)
--- a/
src/Palete/Palete.vala
+++ b/
src/Palete/Palete.vala
@@
-415,14
+415,14
@@
namespace Palete
if (ptype == "file") {
if (ptype == "file") {
- this.validateJavascriptCompression(file, state, code);
+
return
this.validateJavascriptCompression(file, state, code);
}
print("no errors\n");
}
print("no errors\n");
- return
ret
;
+ return
false
;
}
}
- public
void
validateJavascriptCompression(JsRender.JsRender file, WindowState state, string code)
+ public
bool
validateJavascriptCompression(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.
{
// this uses the roojspacker code to try and compress the code.
// it should highlight errors before we actually push live the code.