projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1fa4a84
)
JsTemplate/Template.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 28 Jun 2010 10:42:33 +0000
(18:42 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 28 Jun 2010 10:42:33 +0000
(18:42 +0800)
JsTemplate/Template.js
patch
|
blob
|
history
diff --git
a/JsTemplate/Template.js
b/JsTemplate/Template.js
index
4cfbe8f
..
b4c3211
100644
(file)
--- 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
)) + " " : ""
) +