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:
eef0512
)
tools/build_gtk_tree.js
author
Alan Knowles
<alan@roojs.com>
Fri, 10 Aug 2012 10:45:31 +0000
(18:45 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 10 Aug 2012 10:45:31 +0000
(18:45 +0800)
tools/build_gtk_tree.js
patch
|
blob
|
history
diff --git
a/tools/build_gtk_tree.js
b/tools/build_gtk_tree.js
index
5627631
..
53b1767
100644
(file)
--- a/
tools/build_gtk_tree.js
+++ b/
tools/build_gtk_tree.js
@@
-393,6
+393,8
@@
right:
tops[cls].pushUnique(par);
}
}
+
+
function canTop(cls, rec) {
rec = rec || 0;
@@
-415,11
+417,20
@@
right:
}
}
return false;
-
}
-
-
-
+ var lefts = {};
+ for(var par in usage) {
+ var left = usange[par].join(',');
+ if (typeof(lefts[left]) == 'undefined') {
+ lefts[left] = [];
+ }
+ lefts.push(par);
+ }
+ print (JSON.stringify(lefts,null,4));
+
+
+
+
print (JSON.stringify(usage,null,4));
var nusage = {};
var usage_left = {};