Introspect/Base.js
authorAlan Knowles <alan@akkbhome.com>
Tue, 23 Nov 2010 00:11:08 +0000 (08:11 +0800)
committerAlan Knowles <alan@akkbhome.com>
Tue, 23 Nov 2010 00:11:08 +0000 (08:11 +0800)
Introspect/Base.js

index 765c4a0..916ebda 100644 (file)
@@ -90,7 +90,7 @@ Base = XObject.define(
         getBI : function()  {
             
             var gi = GI.Repository.get_default();
-            return GI.Repository.find_by_name(gi ,this.ns, this.name);
+            return gi.find_by_name(this.ns, this.name);
         },
          // on, getwhat, simple list (name), variable to add to.
         genericBuildList : function( onwhat, type, keylist, saveto)