JsTemplate/Template.js
[gnome.introspection-doc-generator] / JsTemplate / Template.js
index 4cfbe8f..b4c3211 100644 (file)
@@ -201,7 +201,7 @@ Template = XObject.define(
 
         makeSignature : function(params) {
             if (!params) return "()";
-            var _this = this;
+            var Link = this.Link;
             var signature = "("        +
                 params.filter(
                     function($) {
@@ -214,7 +214,7 @@ Template = XObject.define(
                         return "" +
                             ($.isOptional ? "[" : "") +
                             (($.type) ? 
-                                (new _this.Link().toSymbol(
+                                (new Link().toSymbol(
                                     (typeof($.type) == 'object' ) ? 'Function' : $.type
                                 )) + " " :  ""
                             )   +