projects
/
app.Builder.js
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tools/build_gtk_tree.js
[app.Builder.js]
/
tools
/
build_gtk_tree.js
diff --git
a/tools/build_gtk_tree.js
b/tools/build_gtk_tree.js
index
9502cf0
..
7b8c579
100644
(file)
--- a/
tools/build_gtk_tree.js
+++ b/
tools/build_gtk_tree.js
@@
-298,9
+298,11
@@
right:
}
}
function canTop(cls, rec) {
}
}
function canTop(cls, rec) {
+
rec = rec || 0;
rec = rec || 0;
+ print('CANTOP: ' + cls + ' =' + rec);
if (rec > 5) {
if (rec > 5) {
- print(
"
SKIP : ' + cls);
+ print(
'
SKIP : ' + cls);
}
if (typeof(tops[cls]) == 'undefined') {
return false;
}
if (typeof(tops[cls]) == 'undefined') {
return false;
@@
-312,7
+314,7
@@
right:
if (cls == tops[cls][i]) {
continue;
}
if (cls == tops[cls][i]) {
continue;
}
- if (canTop(
cls
, rec+1)) {
+ if (canTop(
tops[cls][i]
, rec+1)) {
return true;
}
}
return true;
}
}