Subject: | instance methods not invoked properly by Jemplate.js |
Instance methods are not invoked properly by Jemplate.js --- 'this' not
setup properly.
Regards,
Ben
Subject: | Jemplate.js.diff |
--- Jemplate.js.orig 2006-03-08 07:35:39.000000000 -0500
+++ Jemplate.js 2006-06-26 15:41:58.000767000 -0400
@@ -303,7 +303,7 @@
(typeof root[item] != 'undefined')) {
var value = root[item];
if (typeof value == 'function')
- value = value();
+ value = root[item]();
return value;
}