projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
02ac5d4
)
JSDOC/Options.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Jun 2010 09:49:17 +0000
(17:49 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Jun 2010 09:49:17 +0000
(17:49 +0800)
JSDOC/Options.js
patch
|
blob
|
history
diff --git
a/JSDOC/Options.js
b/JSDOC/Options.js
index
378bd6d
..
70a94ee
100644
(file)
--- a/
JSDOC/Options.js
+++ b/
JSDOC/Options.js
@@
-91,17
+91,19
@@
Options = {
this.LOG.verbose = this.verbose;
this.LOG.verbose = this.verbose;
- // this is most likely to come from the command line..
- if (this.conf) {
- XObject.extend(this, JSON.parse(File.read(this.conf)));;
- }
- // help ?? -- usage..
- if (!this.baseDir) {
+ if (!this.baseDir) { // should we set this to cwd?
throw {
name: "ArgumentError",
message: "No baseDir specified"
};
}
throw {
name: "ArgumentError",
message: "No baseDir specified"
};
}
+
+ // this is most likely to come from the command line..
+ if (this.conf) {
+ XObject.extend(this, JSON.parse(File.read(this.conf)));;
+ }
+ // help ?? -- usage..
+
if (!this.src.length) {
throw {
name: "ArgumentError",
if (!this.src.length) {
throw {
name: "ArgumentError",