From: Alan Knowles Date: Mon, 28 Jun 2010 09:26:54 +0000 (+0800) Subject: JSDOC/Introspect/NameSpace.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=6ef7a210af03eacaa6ed8b8248f4fbfd97402893 JSDOC/Introspect/NameSpace.js --- diff --git a/JSDOC/Introspect/NameSpace.js b/JSDOC/Introspect/NameSpace.js index 49216e1..9a06343 100644 --- a/JSDOC/Introspect/NameSpace.js +++ b/JSDOC/Introspect/NameSpace.js @@ -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(); }