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:
0ea177e
)
src/Palete/Palete.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 8 Jun 2016 09:56:33 +0000
(17:56 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 8 Jun 2016 09:56:33 +0000
(17:56 +0800)
src/Palete/Palete.vala
patch
|
blob
|
history
diff --git
a/src/Palete/Palete.vala
b/src/Palete/Palete.vala
index
1ddd593
..
9b8ff74
100644
(file)
--- a/
src/Palete/Palete.vala
+++ b/
src/Palete/Palete.vala
@@
-360,7
+360,7
@@
namespace Palete
- public bool
validateJavascript
(
+ public bool
javascriptHasErrors
(
WindowState state,
string code,
string property,
@@
-375,10
+375,10
@@
namespace Palete
var errors = new Gee.HashMap<int,string>();
if (file.language != "js") {
- return
ret
;
+ return
false
;
}
if (ptype != "listener" && property.length > 0 && property[0] == '|') {
- return
ret
;
+ return
false
;
}
//var cd = new JSCore.ClassDefinitionEmpty();