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:
9c57ce2
)
JSDOC/Options.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Jun 2010 10:01:23 +0000
(18:01 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Jun 2010 10:01:23 +0000
(18:01 +0800)
JSDOC/Options.js
patch
|
blob
|
history
diff --git
a/JSDOC/Options.js
b/JSDOC/Options.js
index
95e1656
..
84abc49
100644
(file)
--- a/
JSDOC/Options.js
+++ b/
JSDOC/Options.js
@@
-101,8
+101,7
@@
Options = {
// this is most likely to come from the command line..
if (this.conf) {
var conf = this.conf[0] == '/' ? this.conf : this.baseDir + '/' + this.conf;
// this is most likely to come from the command line..
if (this.conf) {
var conf = this.conf[0] == '/' ? this.conf : this.baseDir + '/' + this.conf;
- print("loading : " + conf);
- print(JSON.stringify(JSON.parse(File.read(conf)), null,4));
+
XObject.extend(this, JSON.parse(File.read(conf)));;
}
// help ?? -- usage..
XObject.extend(this, JSON.parse(File.read(conf)));;
}
// help ?? -- usage..
@@
-117,7
+116,7
@@
Options = {
var _this= this;
this.src.forEach(function(v, i) {
if (v[0] != '/') {
var _this= this;
this.src.forEach(function(v, i) {
if (v[0] != '/') {
- this.src[i] = _this.baseDir + '/' + v;
+
_
this.src[i] = _this.baseDir + '/' + v;
}
if (File.isDirectory(this.src[i])) {
throw {
}
if (File.isDirectory(this.src[i])) {
throw {