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:
cbeb259
)
tools/build_gtk_tree.js
author
Alan Knowles
<alan@roojs.com>
Fri, 10 Aug 2012 02:45:39 +0000
(10:45 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 10 Aug 2012 02:45:39 +0000
(10: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
1dd0a3b
..
d053dfa
100644
(file)
--- a/
tools/build_gtk_tree.js
+++ b/
tools/build_gtk_tree.js
@@
-290,14
+290,14
@@
function BuildLists () {
function verifyUsage(parent,child)
{
// find all the methods that child can be added to parent.
function verifyUsage(parent,child)
{
// find all the methods that child can be added to parent.
- var m
ethod
s = methods[parent].can_contain_using;
- for(var i =0;i<m
ethod
s.length;i++) {
- var m = m
ethod
s[i].split(':');
+ var m
t
s = methods[parent].can_contain_using;
+ for(var i =0;i<m
t
s.length;i++) {
+ var m = m
t
s[i].split(':');
if (!is_a(child,m[0])) {
continue;
}
if (!is_a(child,m[0])) {
continue;
}
- if (verifyUsageMethod(parent,child,m
ethod
s[i])) {
+ if (verifyUsageMethod(parent,child,m
t
s[i])) {
return true;
}
}
return true;
}
}