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:
9313e84
)
tools/build_gtk_tree.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 1 Dec 2010 08:58:08 +0000
(16:58 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 1 Dec 2010 08:58:08 +0000
(16:58 +0800)
tools/build_gtk_tree.js
patch
|
blob
|
history
diff --git
a/tools/build_gtk_tree.js
b/tools/build_gtk_tree.js
index
a2bc73c
..
56b469f
100644
(file)
--- a/
tools/build_gtk_tree.js
+++ b/
tools/build_gtk_tree.js
@@
-37,6
+37,7
@@
ns_list.forEach(function(ns_name) {
print("Looping throught namespaces");
var ns_idx = [];
print("Looping throught namespaces");
var ns_idx = [];
+var implementations = {};
ns_list.forEach(function(ns_name)
{
ns_list.forEach(function(ns_name)
{
@@
-60,13
+61,15
@@
ns_list.forEach(function(ns_name)
print('NameSpace.factory(Class,'+ns_name+'.'+n+')');
var odata = NameSpace.factory('Class', ns_name, n);
print('NameSpace.factory(Class,'+ns_name+'.'+n+')');
var odata = NameSpace.factory('Class', ns_name, n);
- print(JSON.stringify(odata.childClasses,null,4));
+ implementations[odata.alias] = odata.childClasses;
+ //print(JSON.stringify(odata.childClasses,null,4));
});
ns['interfaces'].forEach( function(n) {
print('NameSpace.factory(Interface,'+ns_name+'.'+n+')');
var odata = NameSpace.factory('Interface', ns_name, n);
});
ns['interfaces'].forEach( function(n) {
print('NameSpace.factory(Interface,'+ns_name+'.'+n+')');
var odata = NameSpace.factory('Interface', ns_name, n);
- print(JSON.stringify(odata.implementedBy,null,4));
+ implementations[odata.alias] = odata.implementedBy;
+ //print(JSON.stringify(odata.implementedBy,null,4));
});
// what we are interested in..
});
// what we are interested in..
@@
-74,3
+77,4
@@
ns_list.forEach(function(ns_name)
});
});
+print(JSON.stringify(implementations,null,4));
\ No newline at end of file