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
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,
WindowState state,
string code,
string property,
@@
-375,10
+375,10
@@
namespace Palete
var errors = new Gee.HashMap<int,string>();
if (file.language != "js") {
var errors = new Gee.HashMap<int,string>();
if (file.language != "js") {
- return
ret
;
+ return
false
;
}
if (ptype != "listener" && property.length > 0 && property[0] == '|') {
}
if (ptype != "listener" && property.length > 0 && property[0] == '|') {
- return
ret
;
+ return
false
;
}
//var cd = new JSCore.ClassDefinitionEmpty();
}
//var cd = new JSCore.ClassDefinitionEmpty();