From 7eccd25393351fa55346f2c0e2c33a84d7f26252 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 28 Jun 2010 18:42:33 +0800 Subject: [PATCH 1/1] JsTemplate/Template.js --- JsTemplate/Template.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 )) + " " : "" ) + -- 2.39.2