xml = imports.libxml;
//GObject = imports.gi.GObject;
-imports['Object.js'].load(Object);
+XObject = imports.XObject.XObject;
+console = imports.console.console;
-console = imports['console.js'].console;
-
-Introspect = imports['JSDOC/Introspect.js'].Introspect;
-Basic = imports['JSDOC/Introspect/Basic.js'].Basic;
+NameSpace = imports.NameSpace.NameSpace;
+Basic = imports.Basic.Basic;
-Base = Object.define(
+Base = XObject.define(
function(ns, name) {
// fake should not happen?
this.implementedBy = []; // interface - which object uses it.
this.extendsClasses = []; // what it extends...
this.childClasses = []; // what
- this.desc = Introspect.doc(this.alias );
+ this.desc = NameSpace.doc(this.alias );
var gi = GI.IRepository.get_default();
var bb = this.getBI();
var _this = this;
//console.log("ADD " + type[0].toUpperCase() + type.substring(1));
- var cls = Introspect[type[0].toUpperCase() + type.substring(1)]; // ucfirst.
+ var clname = type[0].toUpperCase() + type.substring(1);
+ var cls = imports[clname][clname];
if (!cls) {
console.log("COULD NOT FIND Introspect: " + type[0].toUpperCase() + type.substring(1));
}