projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a07013f
)
src/Palete/Palete.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 8 Jun 2016 09:43:51 +0000
(17:43 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 8 Jun 2016 09:43:51 +0000
(17:43 +0800)
src/Palete/Palete.vala
patch
|
blob
|
history
diff --git
a/src/Palete/Palete.vala
b/src/Palete/Palete.vala
index
bf25556
..
0eca605
100644
(file)
--- a/
src/Palete/Palete.vala
+++ b/
src/Palete/Palete.vala
@@
-403,25
+403,24
@@
namespace Palete
state.showCompileResult(err);
return ret;
}
state.showCompileResult(err);
return ret;
}
- ret.set(line, errmsg); // depricated - this is used by the editor currently -- but we are planning to switch from t
aht
.
+ ret.set(line, errmsg); // depricated - this is used by the editor currently -- but we are planning to switch from t
hat.
.
print("got errors\n");
return ret;
}
print("got errors\n");
return ret;
}
+ // now syntax is OK.. try the
- if (ptype == "file") {
- return this.validateJavascriptCompression(code);
- }
- print("no errors\n");
- return ret;
+
+
+ if (ptype == "file") {
+ this.validateJavascriptCompression(code);
}
}
- ret.set(line, errmsg);
- print("got errors\n");
+ print("no errors\n");
return ret;
}
return ret;
}
- public
Gee.HashMap<int,string>
validateJavascriptCompression(string code)
+ public
void
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.