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:
430ac6b
)
JSDOC/Options.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 29 Jun 2010 06:41:07 +0000
(14:41 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 29 Jun 2010 06:41:07 +0000
(14:41 +0800)
JSDOC/Options.js
patch
|
blob
|
history
diff --git
a/JSDOC/Options.js
b/JSDOC/Options.js
index
a116ad3
..
fcd0bc9
100644
(file)
--- a/
JSDOC/Options.js
+++ b/
JSDOC/Options.js
@@
-11,7
+11,7
@@
Options = {
"directory" : '', // was d.
"conf" : '', // was c.
"template": '', // was t.
- "recurse":
''
, // was r.
+ "recurse":
false
, // was r.
"ext": '', // was x.
"private": '', // was p
"allfunctions": '', // was a
@@
-60,7
+60,12
@@
Options = {
message: "No template specified"
};
}
-
+ if (!this.directory) {
+ throw {
+ name: "ArgumentError",
+ message: "No directory specified"
+ };
+ }
}