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:
7ab39a2
)
JSDOC/Options.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Jul 2010 10:30:04 +0000
(18:30 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Jul 2010 10:30:04 +0000
(18:30 +0800)
JSDOC/Options.js
patch
|
blob
|
history
diff --git
a/JSDOC/Options.js
b/JSDOC/Options.js
index
beaeb45
..
b01ea7e
100644
(file)
--- a/
JSDOC/Options.js
+++ b/
JSDOC/Options.js
@@
-24,7
+24,7
@@
Options = {
"--target" : 'Target Directory (where html files go)',
"--cacheDirectory": 'Cached Files Directory',
"--conf" : 'Read From a Configuration file', // was c. - configuration file.. - parsed with JSON.parse
"--target" : 'Target Directory (where html files go)',
"--cacheDirectory": 'Cached Files Directory',
"--conf" : 'Read From a Configuration file', // was c. - configuration file.. - parsed with JSON.parse
- "--template" : 'Template Directory', // was t.
+ "--template
Dir
" : 'Template Directory', // was t.
// "recurse": false, // was r. - not supported..
"--ext" : 'Extension of code files to read (normally js)', // was x.
"--publishExt" : 'Extension of html files to write (normally html)',
// "recurse": false, // was r. - not supported..
"--ext" : 'Extension of code files to read (normally js)', // was x.
"--publishExt" : 'Extension of html files to write (normally html)',
@@
-50,7
+50,7
@@
Options = {
"target" : '', // was d. ?? source directory (needed to put temporary files..)
"cacheDirectory" : '',
"conf" : '', // was c. - configuration file.. - parsed with JSON.parse
"target" : '', // was d. ?? source directory (needed to put temporary files..)
"cacheDirectory" : '',
"conf" : '', // was c. - configuration file.. - parsed with JSON.parse
- "template": '', // was t.
+ "template
Dir
": '', // was t.
// "recurse": false, // was r. - not supported..
"ext": 'js', // was x.
"publishExt" : 'html',
// "recurse": false, // was r. - not supported..
"ext": 'js', // was x.
"publishExt" : 'html',
@@
-132,14
+132,14
@@
Options = {
});
});
- if (!this.template) {
+ if (!this.template
Dir
) {
throw {
name: "ArgumentError",
message: "No template Directory specified"
};
}
throw {
name: "ArgumentError",
message: "No template Directory specified"
};
}
- if (this.template[0] !='/') {
- this.template = this.baseDir + '/' + this.template;
+ if (this.template
Dir
[0] !='/') {
+ this.template
Dir
= this.baseDir + '/' + this.template;
}
}