From: Alan Knowles Date: Mon, 28 Jun 2010 10:42:33 +0000 (+0800) Subject: JsTemplate/Template.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=7eccd25393351fa55346f2c0e2c33a84d7f26252;hp=1fa4a848911fae3ad3cb79222f596a9d03f97bae JsTemplate/Template.js --- 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 )) + " " : "" ) +