projects
/
app.Builder.js
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/Palete/Palete.vala
[app.Builder.js]
/
src
/
Palete
/
Palete.vala
diff --git
a/src/Palete/Palete.vala
b/src/Palete/Palete.vala
index
29eca25
..
9029a2a
100644
(file)
--- a/
src/Palete/Palete.vala
+++ b/
src/Palete/Palete.vala
@@
-399,11
+399,18
@@
namespace Palete
}
}
- public validateJavascriptCompression(string code)
+ public
Gee.HashMap<int,string>
validateJavascriptCompression(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.
+ var p = new JSDOC.Packer();
+ p.keepWhite = false;
+ p.skipScope = false;
+ p.dumpTokens = false;
+ p.cleanup = false;
+ var ret = new Gee.HashMap<int,string>();
+ return ret;
}
}