X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JsTemplate%2FTemplate.js;h=b4c32113d1e1bfb6d363b97dc815c95152771e61;hp=4cfbe8f7194361f47263b194e6b6a6ba8739b147;hb=7eccd25393351fa55346f2c0e2c33a84d7f26252;hpb=7df69dffc97bc385bfb7617fdac6beea1fb1b7c6 diff --git a/JsTemplate/Template.js b/JsTemplate/Template.js index 4cfbe8f..b4c3211 100644 --- a/JsTemplate/Template.js +++ b/JsTemplate/Template.js @@ -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 )) + " " : "" ) +