projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JSDOC/TokenReader.js
[gnome.introspection-doc-generator]
/
JSDOC
/
Options.js
diff --git
a/JSDOC/Options.js
b/JSDOC/Options.js
index
a840566
..
7b81f38
100644
(file)
--- a/
JSDOC/Options.js
+++ b/
JSDOC/Options.js
@@
-127,7
+127,7
@@
Options = {
if (!v.length || v[0] != '/') {
v = _this.baseDir + (v.length ? '/' + v : '');
}
if (!v.length || v[0] != '/') {
v = _this.baseDir + (v.length ? '/' + v : '');
}
- if (!File.
isDirectory
(v)) {
+ if (!File.
exists
(v)) {
throw {
name: "ArgumentError",
message: "invalid Source Directory : " + v
throw {
name: "ArgumentError",
message: "invalid Source Directory : " + v
@@
-215,12
+215,13
@@
Options = {
while(i < args.length)
{
if (args[i].substring(0,2) == '--'){
while(i < args.length)
{
if (args[i].substring(0,2) == '--'){
-
+ i--;
break;
}
this[a].push(args[i]);
break;
}
this[a].push(args[i]);
+ i++;
}
}
- i--;
+
continue;
}
throw {
continue;
}
throw {