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/Introspect.js
[gnome.introspection-doc-generator]
/
JSDOC
/
Introspect.js
diff --git
a/JSDOC/Introspect.js
b/JSDOC/Introspect.js
index
4bbda6c
..
7777c94
100644
(file)
--- a/
JSDOC/Introspect.js
+++ b/
JSDOC/Introspect.js
@@
-42,10
+42,10
@@
Object.extend(Introspect, {
while (true) {
while (true) {
- var fn =
GLib.dir_read_name(gdir
);
+ var fn =
gdir.read_name(
);
// console.log('trying ' + fn);
if (!fn) {
// console.log('trying ' + fn);
if (!fn) {
-
GLib.dir_close(gdir
);
+
gdir.close(
);
return;;
}
if (!fn.match(/.typelib$/)) {
return;;
}
if (!fn.match(/.typelib$/)) {
@@
-236,6
+236,10
@@
Object.extend(Introspect, {
var n = getAttribute(element, 'name') ;
//console.log("WALK" + n);
var n = getAttribute(element, 'name') ;
//console.log("WALK" + n);
+ if (element.name == 'signal') {
+ path += '.signal';
+ }
+
if (n) {
path += path.length ? '.' : '';
path += n;
if (n) {
path += path.length ? '.' : '';
path += n;
@@
-243,9
+247,6
@@
Object.extend(Introspect, {
if (element.name == 'return-value') {
path += '.return-value';
}
if (element.name == 'return-value') {
path += '.return-value';
}
- if (element.name == 'signal') {
- path += '.signal';
- }
var d = getAttribute(element,'doc');
if (d) {
var d = getAttribute(element,'doc');
if (d) {