JSDOC/Introspect/NameSpace.js
[gnome.introspection-doc-generator] / JSDOC / Introspect / NameSpace.js
index 5a367d3..9a06343 100644 (file)
@@ -21,7 +21,7 @@ console = imports.console.console;
 
 
 
-Introspect = {
+NameSpace = {
     
    
     references : { }, 
@@ -111,7 +111,7 @@ Introspect = {
                     ret.interfaces.push(GI.base_info_get_name(info));
                     continue;
                 case  GI.IInfoType.FUNCTION:
-                    new Introspect.Method(info, ret, 'functions', []);    
+                    new imports.Method.Method(info, ret, 'functions', []);    
                     continue;
                 
                 case  GI.IInfoType.CALLBACK:
@@ -133,7 +133,7 @@ Introspect = {
                     ret.unions.push(GI.base_info_get_name(info));
                     continue;
                 case  GI.IInfoType.CONSTANT:
-                    new Introspect.Constant(info, ret, 'values', []);
+                    new imports.Constant.Constant(info, ret, 'values', []);
                     
                     continue;
                 
@@ -291,7 +291,7 @@ Introspect = {
     registry : { },
     factory : function(type, ns, name) {
         if (typeof (this.registry[ns +'.' + name]) == 'undefined') {
-            this.registry[ns +'.' + name] = new Introspect[type](ns,name);
+            this.registry[ns +'.' + name] = new imports[type][type](ns,name);
             this.registry[ns +'.' + name].load();
         }