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:
ededd23
)
JSDOC/Options.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Jun 2010 10:02:42 +0000
(18:02 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Jun 2010 10:02:42 +0000
(18:02 +0800)
JSDOC/Options.js
patch
|
blob
|
history
diff --git
a/JSDOC/Options.js
b/JSDOC/Options.js
index
448b6fe
..
1e0e99b
100644
(file)
--- a/
JSDOC/Options.js
+++ b/
JSDOC/Options.js
@@
-114,16
+114,19
@@
Options = {
}
// append full path to source directories.
var _this= this;
}
// append full path to source directories.
var _this= this;
- this.src.forEach(function(v, i) {
+ var src = this.src;
+ this.src = [];
+ src.forEach(function(v, i) {
if (!v.length || v[0] != '/') {
if (!v.length || v[0] != '/') {
-
_this.src[i]
= _this.baseDir + '/' + v;
+
v
= _this.baseDir + '/' + v;
}
}
- if (File.isDirectory(
_this.src[i]
)) {
+ if (File.isDirectory(
v
)) {
throw {
name: "ArgumentError",
message: "invalid Source Directory : " + v
};
}
throw {
name: "ArgumentError",
message: "invalid Source Directory : " + v
};
}
+ this.src.push(v);
});
});