JSDOC/Introspect/NameSpace.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 28 Jun 2010 09:26:54 +0000 (17:26 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 28 Jun 2010 09:26:54 +0000 (17:26 +0800)
JSDOC/Introspect/NameSpace.js

index 49216e1..9a06343 100644 (file)
@@ -111,7 +111,7 @@ NameSpace = {
                     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 @@ NameSpace = {
                     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 @@ NameSpace = {
     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();
         }