JsTemplate/Link.js
[gnome.introspection-doc-generator] / JsTemplate / Link.js
index fbed0b2..888f3a2 100644 (file)
@@ -16,7 +16,8 @@ Link = XObject.define(
     /*
     * constructor
     */ 
-    function () {
+    function (opts) {
+        XObject.extend(this,opts);
         
     }, 
     Object,
@@ -29,12 +30,7 @@ Link = XObject.define(
         innerName : "",
         classLink : false,
         targetName : "",
-        /**
-         * source Replacement
-         * eg. '/var/www/xxx:symbol'
-         */
-        srcReplace : false, 
-        
+    
         
         
         target : function(targetName) {
@@ -51,8 +47,6 @@ Link = XObject.define(
         },
         toSrc : function(filename) {
             if (typeof(filename) != 'undefined') this.src = filename;
-            if (this.srcReplace(
-            
             
             return this;
         },