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:
ee1da27
)
Palete/Palete.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 8 Oct 2014 14:14:36 +0000
(22:14 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 8 Oct 2014 14:14:36 +0000
(22:14 +0800)
Palete/Palete.vala
patch
|
blob
|
history
diff --git
a/Palete/Palete.vala
b/Palete/Palete.vala
index
23c2184
..
d570208
100644
(file)
--- a/
Palete/Palete.vala
+++ b/
Palete/Palete.vala
@@
-414,11
+414,10
@@
namespace Palete
print("validate code (%s) %s\n", file.language, code);
- if (file.language == "js" &&
property[0] == '|'
) {
+ if (file.language == "js" &&
(ptype == "listener" || property[0] == '|')
) {
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);