Introspect/Property.js
authorAlan Knowles <alan@akkbhome.com>
Tue, 6 Jul 2010 13:39:10 +0000 (21:39 +0800)
committerAlan Knowles <alan@akkbhome.com>
Tue, 6 Jul 2010 13:39:10 +0000 (21:39 +0800)
Introspect/Property.js [deleted file]

diff --git a/Introspect/Property.js b/Introspect/Property.js
deleted file mode 100644 (file)
index 832152f..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-//<script type="text/javascript">
-//Gtk = imports.gi.Gtk;
-GI      = imports.gi.GIRepository;
-
-
-
-XObject     = imports.XObject.XObject;
-console     = imports.console.console;
-NameSpace   = imports.NameSpace.NameSpace;
-
-Basic        = imports.Basic.Basic;
-
-   
-
-
-/**
- * Property
- */
-
-Property = XObject.define(
-    function(prop, memberOf, saveto, keylist) {
-        this.propertyType = 'Property';
-        var n_original = GI.base_info_get_name(prop);
-        this.name  =  n_original.replace(/\-/g, '_') ,
-        this.type  = this.typeToName(GI.property_info_get_type(prop)),
-        this.flags =  GI.property_info_get_flags(prop),
-        this.memberOf = memberOf.alias
-        memberOf[saveto].push(this);
-        keylist.push(this.name);
-        this.desc = NameSpace.doc(this.memberOf + '.' + n_original);
-        
-
-        if (typeof(this.type) == 'string' && this.type.indexOf('.') > -1) {
-        
-            NameSpace.references[this.type] = NameSpace.references[this.type] || [];
-            NameSpace.references[this.type].push(this);
-        }
-        
-    },
-    Basic
-);