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/BuildDocs.js
[gnome.introspection-doc-generator]
/
JSDOC
/
BuildDocs.js
diff --git
a/JSDOC/BuildDocs.js
b/JSDOC/BuildDocs.js
index
f514e9f
..
3a6529b
100644
(file)
--- a/
JSDOC/BuildDocs.js
+++ b/
JSDOC/BuildDocs.js
@@
-137,7
+137,7
@@
BuildDocs = {
var txs = new TextStream(src);
var txs = new TextStream(src);
- var tr = new TokenReader({ keepComments : true, keepWhite : true , sepIdents:
true
});
+ var tr = new TokenReader({ keepComments : true, keepWhite : true , sepIdents:
false
});
var ts = new TokenStream(tr.tokenize(txs));
var ts = new TokenStream(tr.tokenize(txs));
@@
-271,7
+271,7
@@
BuildDocs = {
// dump out a
// dump out a
- this.publishJSON(Options.target+"/json/"
,
symbol.alias+'.json', symbol)
+ this.publishJSON(Options.target+"/json/"
+
symbol.alias+'.json', symbol)
@@
-314,7
+314,12
@@
BuildDocs = {
);
},
);
},
-
+ /**
+ * JSON files are lookup files for the documentation
+ * - can be used by IDE's or AJAX based doc tools
+ *
+ *
+ */
publishJSON : function(file, data)
{
// what we need to output to be usefull...
publishJSON : function(file, data)
{
// what we need to output to be usefull...