//Gtk = imports.gi.Gtk;
GI = imports.gi.GIRepository;
-imports['Object.js'].load(Object);
-console = imports['console.js'].console;
+XObject = imports.XObject.XObject;
+console = imports.console.console;
+NameSpace = imports.NameSpace.NameSpace;
+Basic = imports.Basic.Basic;
-Introspect = imports['JSDOC/Introspect.js'].Introspect;
-Basic = imports['JSDOC/Introspect/Basic.js'].Basic;
+
/**
* Property
*/
-Property = Object.define(
+Property = XObject.define(
function(prop, memberOf, saveto, keylist) {
this.propertyType = 'Property';
var n_original = GI.base_info_get_name(prop);
this.memberOf = memberOf.alias
memberOf[saveto].push(this);
keylist.push(this.name);
- this.desc = Introspect.doc(this.memberOf + '.' + n_original);
+ this.desc = NameSpace.doc(this.memberOf + '.' + n_original);
if (typeof(this.type) == 'string' && this.type.indexOf('.') > -1) {
- Introspect.references[this.type] = Introspect.references[this.type] || [];
- Introspect.references[this.type].push(this);
+ NameSpace.references[this.type] = NameSpace.references[this.type] || [];
+ NameSpace.references[this.type].push(this);
}
},