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
7a7633e
..
3a6529b
100644
(file)
--- a/
JSDOC/BuildDocs.js
+++ b/
JSDOC/BuildDocs.js
@@
-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,13
+314,18
@@
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...
// a) props..
var cfgProperties = [];
publishJSON : function(file, data)
{
// what we need to output to be usefull...
// a) props..
var cfgProperties = [];
- if (!data.comment
|| !data.comment
.getTag('singleton').length) {
+ if (!data.comment.getTag('singleton').length) {
cfgProperties = data.configToArray();
cfgProperties = cfgProperties.sort(makeSortby("name"));
cfgProperties = data.configToArray();
cfgProperties = cfgProperties.sort(makeSortby("name"));