print("Loading for " + ename);
if (typeof(this.proplist[ename]) != 'undefined') {
- print("Using cache");
+
return this.proplist[ename][type];
}
// use introspection to get lists..
if (etype == GIRepository.IInfoType.INTERFACE ) {
- print("SKIPPING PARENT - it's an interface?!?!");
+ // print("SKIPPING PARENT - it's an interface?!?!");
return;
}
ilist.push(pname);
ilist.push.apply(ilist,this.proplist[pname]['inherits']);
- this.overrides(this.proplist[pname]['methods'], mlist);
+ this.overrides(mlist, this.proplist[pname]['methods']);
} else {
elist.push.apply(elist,this.proplist[iface]['events']);
plist.push.apply(plist,this.proplist[iface]['props']);
- this.overrides(this.proplist[pname]['methods'], mlist);
+ this.overrides(mlist, this.proplist[pname]['methods']);
}
function sfunc(a,b) {
if (a.name == b.name) return 0;