From da1c57900a430ab599be84fa035ec4973a89c5ed Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 28 Jun 2010 17:37:20 +0800 Subject: [PATCH] JSDOC/Introspect/Property.js --- JSDOC/Introspect/Property.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/JSDOC/Introspect/Property.js b/JSDOC/Introspect/Property.js index 6630106..832152f 100644 --- a/JSDOC/Introspect/Property.js +++ b/JSDOC/Introspect/Property.js @@ -2,21 +2,22 @@ //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); @@ -26,13 +27,13 @@ Property = Object.define( 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); } }, -- 2.39.2