Open qfox opened 8 years ago
@zxqfox BTW you can not use this.trace()
with () => console.log(this.trace())
as template body. You need use regular function, not arrow function.
;)
@miripiruni fixed, ty.
The question is: «show me trace route how templates work».
Something like:
new Error().stack
for usual JS but for bem-xjst templates.Stack should contains only user templates and external calls and skip internal bem-xjst code. Helper should be possible to call from any user template.
Something like:
cc @a-x-