projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More commits to sync working copy
[gnome.introspection-doc-generator]
/
JSDOC
/
Introspect
/
Union.js
diff --git
a/JSDOC/Introspect/Union.js
b/JSDOC/Introspect/Union.js
index
fd6f37a
..
c178f87
100644
(file)
--- a/
JSDOC/Introspect/Union.js
+++ b/
JSDOC/Introspect/Union.js
@@
-1,13
+1,13
@@
//<script type="text/javascript">
//<script type="text/javascript">
-//Gtk = imports.gi.Gtk;
+
GI = imports.gi.GIRepository;
GI = imports.gi.GIRepository;
-GLib = imports.gi.GLib;
-
xml = imports.libxml
;
-//GObject = imports.gi.GObject;
+
+
imports['Object.js'].load(Object)
;
+
console = imports['console.js'].console;
JSDOC = imports['JSDOC.js'].JSDOC;
console = imports['console.js'].console;
JSDOC = imports['JSDOC.js'].JSDOC;
-Roo = imports['Roo.js'].Roo;
+
Introspect = imports['JSDOC/Introspect.js'].Introspect;
Base = imports['JSDOC/Introspect/Base.js'].Base;
Introspect = imports['JSDOC/Introspect.js'].Introspect;
Base = imports['JSDOC/Introspect/Base.js'].Base;
@@
-15,42
+15,44
@@
Base = imports['JSDOC/Introspect/Base.js'].Base;
/**
* Union
*/
/**
* Union
*/
-
-Union = function(ns, name) {
- Base.call(this, ns, name);
-
-}
-
-Roo.extend(Union, Base, {
- titleType: 'Union',
- _loaded : false,
- load : function()
+
+Union = Object.define(
+ function(ns, name) {
+ Base.call(this, ns, name);
+
+ },
+ Base,
{
{
- if (this._loaded) {
- return; // already loaded..
- }
- // my props..
- var props = [];
- this.genericBuildList('union', 'field', props, 'properties');
-
- if (GI.union_info_get_size (this.getBI()) > 0 ) {
+ titleType: 'Union',
+ _loaded : false,
+ load : function()
+ {
+ if (this._loaded) {
+ return; // already loaded..
+ }
+ // my props..
+ var props = [];
+ this.genericBuildList('union', 'field', props, 'properties');
- this.constructors.push({
- name : '',
- params: [],
- returns : [],
- isConstructor : true,
- isStatic : false,
- memberOf : this.alias,
- exceptions : [],
- desc : ''
- });
+ if (GI.union_info_get_size (this.getBI()) > 0 ) {
+
+ this.constructors.push({
+ name : '',
+ params: [],
+ returns : [],
+ isConstructor : true,
+ isStatic : false,
+ memberOf : this.alias,
+ exceptions : [],
+ desc : ''
+ });
+ }
+ var methods = [];
+ this.genericBuildList('union', 'method', methods, 'methods');
+
+ this._loaded = true;
}
}
- var methods = [];
- this.genericBuildList('union', 'method', methods, 'methods');
-
- this._loaded = true;
- },
-
-
-});
\ No newline at end of file
+
+
+});
+
\ No newline at end of file