I'm using ECT as my template language. When I call formFor from my template I get the error Illegal access to a strict mode caller function. I looked into the code helper.js the line
var buf = arguments.callee.buf = arguments.callee.caller.buf;
is causing the issue. The second arguments.callee.caller is throwing this error. What is the purpose of having calee.caller in formFor? This buf is not even used in this method. If I change it to just arguments.callee.buf things are working. Not sure is this correct way of fixing or not.
Can you please shed some light on this?
I'm using ECT as my template language. When I call formFor from my template I get the error Illegal access to a strict mode caller function. I looked into the code helper.js the line
var buf = arguments.callee.buf = arguments.callee.caller.buf;
is causing the issue. The second arguments.callee.caller is throwing this error. What is the purpose of having calee.caller in formFor? This buf is not even used in this method. If I change it to just arguments.callee.buf things are working. Not sure is this correct way of fixing or not. Can you please shed some light on this?