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:
2027ec4
)
JSDOC/Options.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Jun 2010 09:28:12 +0000
(17:28 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Jun 2010 09:28:12 +0000
(17:28 +0800)
JSDOC/Options.js
patch
|
blob
|
history
diff --git
a/JSDOC/Options.js
b/JSDOC/Options.js
index
69f8669
..
85981d4
100644
(file)
--- a/
JSDOC/Options.js
+++ b/
JSDOC/Options.js
@@
-105,6
+105,12
@@
Options = {
if (v[0] != '/') {
this.src[i] = _this.baseDir + '/' + v;
}
if (v[0] != '/') {
this.src[i] = _this.baseDir + '/' + v;
}
+ if (File.isDirectory(this.src[i])) {
+ throw {
+ name: "ArgumentError",
+ message: "invalid Source Directory : " + v;
+ };
+ }
}
}