projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ec0c475
)
tools/build_gtk_tree.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 9 Aug 2012 15:28:20 +0000
(23:28 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 9 Aug 2012 15:28:20 +0000
(23:28 +0800)
tools/build_gtk_tree.js
patch
|
blob
|
history
diff --git
a/tools/build_gtk_tree.js
b/tools/build_gtk_tree.js
index
a98ec28
..
0906a83
100644
(file)
--- a/
tools/build_gtk_tree.js
+++ b/
tools/build_gtk_tree.js
@@
-357,18
+357,22
@@
right:
}
}
- print(JSON.stringify(nusage,null,4));
+ p
//
rint(JSON.stringify(nusage,null,4));
- print(JSON.stringify(methods['Gtk.Switch'],null,4));
+
//
print(JSON.stringify(methods['Gtk.Switch'],null,4));
var str = '';
for(var par in usage) {
str.push('left');
str.push(' ' + par);
if (typeof(usage_left[par]) != 'undefined') {
var str = '';
for(var par in usage) {
str.push('left');
str.push(' ' + par);
if (typeof(usage_left[par]) != 'undefined') {
-
+ usage_left[par].forEach(function(d) { str.push(' ' + d);});
}
}
-
+ str.push('right');
+ usage[par].forEach(function(d) { str.push(' ' + d);});
+ str.push('');
+ }
+ print(str.join("\n"));
//print(JSON.stringify(implementations ,null,4));
/*
methods is
//print(JSON.stringify(implementations ,null,4));
/*
methods is