Open cristiandouce opened 10 years ago
eval/new Function lead to new context like this one
Maybe null
should be special cased. What I recommend in this case tho is to invoke a view function that returns a string formatted as you like.
The thing is I'm inside an each
iteration on a model's sub-array of objects. When I try to invoke major's model function, I get undefined cannot be called as a function error, since in the scope, this reffers to the current object on the array...
Sorry my issue description didn't provide that info.
Maybe I don't understand the issue. Can you provide a failing example with the each
issue and I can take a look.
A teamplate like this:
Leads to the following execution error: