projects
/
roojspacker
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9333bbc
)
src/jsdoc/Packer.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 8 Jun 2016 08:25:25 +0000
(16:25 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 8 Jun 2016 08:25:25 +0000
(16:25 +0800)
src/jsdoc/Packer.vala
patch
|
blob
|
history
diff --git
a/src/jsdoc/Packer.vala
b/src/jsdoc/Packer.vala
index
9e9a72a
..
98e78e6
100644
(file)
--- a/
src/jsdoc/Packer.vala
+++ b/
src/jsdoc/Packer.vala
@@
-146,6
+146,8
@@
namespace JSDOC
}
+ // this could be another class really..
+
public enum ResultType { err , warn }
/**
* result of complication - a JSON object containing warnings / errors etc..
@@
-190,6
+192,17
@@
namespace JSDOC
}
+ public bool hasErrors()
+ {
+ if (this.result.has_member(ResultType.err.to_string())) {
+ return true;
+ }
+
+ }
+
+
+
+
public void loadSourceIndexes(Gee.ArrayList<string> indexes)