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:
c030138
)
tools/build_gtk_tree.js
author
Alan Knowles
<alan@roojs.com>
Thu, 9 Aug 2012 04:32:31 +0000
(12:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 9 Aug 2012 04:32:31 +0000
(12:32 +0800)
tools/build_gtk_tree.js
patch
|
blob
|
history
diff --git
a/tools/build_gtk_tree.js
b/tools/build_gtk_tree.js
index
7b33944
..
ff9ffd0
100644
(file)
--- a/
tools/build_gtk_tree.js
+++ b/
tools/build_gtk_tree.js
@@
-37,9
+37,16
@@
NameSpace = imports.Introspect.NameSpace.NameSpace;
Link = imports.Introspect.Link.Link;
+Array.prototype.pushUnique(v) {
+ if (this.indexOf(v) < 0) {
+ this.push(v);
+ }
+}
function BuildLists () {
+
+
var ns_list = [ 'Gtk' ] ; //NameSpace.namespaces();
@@
-127,6
+134,7
@@
function BuildLists () {
// methods[addable_type].can_be_added_to.push(cls);
//}
+
var add = m.memberOf '+:'+ m.name;
if (typeof(methods[addable_type].can_be_added_to_as[cls]) == 'undefined') {