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:
a31d2e7
)
Palete/Palete.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 8 Oct 2014 14:13:59 +0000
(22:13 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 8 Oct 2014 14:13:59 +0000
(22:13 +0800)
Palete/Palete.vala
patch
|
blob
|
history
diff --git
a/Palete/Palete.vala
b/Palete/Palete.vala
index
65109b8
..
23c2184
100644
(file)
--- a/
Palete/Palete.vala
+++ b/
Palete/Palete.vala
@@
-405,7
+405,7
@@
namespace Palete
public Gee.HashMap<int,string> validateCode(
string code,
string property,
-
+ string ptype,
JsRender.JsRender file,
JsRender.Node node
)
@@
-418,7
+418,7
@@
namespace Palete
var ret = new Gee.HashMap<int,string>();
//var cd = new JSCore.ClassDefinitionEmpty();
-
+ _this.ptype == "listener" ? "| function " :
string errmsg;
var line = Javascript.singleton().validate(
"var __aaa___ = " + code, out errmsg);