// various loader methods..
this.map = [];
this.load();
-
+ this.proplist = {};
// no parent...
getPropertiesFor: function(ename, type)
{
-
+ if (typeof(this.proplist[ename]) != 'undefined' &&
+ typeof(this.proplist[ename][type]) != 'undefined' ) {
+ return this.proplist[ename][type];
+ }
// use introspection to get lists..
+ var gi = GI.IRepository.get_default();
this.loadProps();
typeof(this.proplist[ename][type]) == 'undefined' ) {
return [];
}
- return this.proplist[ename][type];
+
}