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/Constant.js
[gnome.introspection-doc-generator]
/
xnew.js
diff --git
a/xnew.js
b/xnew.js
index
5096012
..
873c983
100644
(file)
--- a/
xnew.js
+++ b/
xnew.js
@@
-108,10
+108,10
@@
var xnew = {
while (true) {
while (true) {
- var fn = gdir.read_name
(
);
+ var fn = gdir.read_name
? gdir.read_name() : GLib.dir_read_name(gdir
);
//console.log('trying ' + path + '/' + fn);
if (!fn) {
//console.log('trying ' + path + '/' + fn);
if (!fn) {
- gdir.close
(
);
+ gdir.close
? gdir.close() : GLib.dir_close(gdir
);
return;
}
if (!fn.match(/.js$/)) {
return;
}
if (!fn.match(/.js$/)) {
@@
-325,4
+325,4
@@
var xnew = {
return o;
}
return o;
}
-};
\ No newline at end of file
+};