-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Hi,
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/with
"Using with is not recommended, and is forbidden in ECMAScript 5 strict mode."
I was wondering if there is a way to avoid using with
as my closure compiler makes 270 verbose warnings about it and it fails in strict mode. Also the lookups needed make the execution slower.
Is there any 'automagic' way of appending the context variable to the references in the template or do you think the only way around this is to manually append a 'special' variable like ctx
when referencing variables from the view in the template?
Thanks
Metadata
Metadata
Assignees
Labels
No labels