projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
944aa6b
)
JSDOC/Introspect/Property.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 28 Jun 2010 09:37:20 +0000
(17:37 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 28 Jun 2010 09:37:20 +0000
(17:37 +0800)
JSDOC/Introspect/Property.js
patch
|
blob
|
history
diff --git
a/JSDOC/Introspect/Property.js
b/JSDOC/Introspect/Property.js
index
6630106
..
832152f
100644
(file)
--- a/
JSDOC/Introspect/Property.js
+++ b/
JSDOC/Introspect/Property.js
@@
-2,21
+2,22
@@
//Gtk = imports.gi.Gtk;
GI = imports.gi.GIRepository;
//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
*/
-Property = Object.define(
+Property =
X
Object.define(
function(prop, memberOf, saveto, keylist) {
this.propertyType = 'Property';
var n_original = GI.base_info_get_name(prop);
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.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) {
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);
}
},
}
},