Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (27 sloc) 964 Bytes
TASKS
=====
- post-modern variant of usage should return plain strings?
- Optimize away trailing empty string "" if no expression were emitted
- Optimize away 'output' in __context[0].output? Seems we don't replicate stash anyway..
- Implement transport for JX.N.D via SpiderMonkey&JavaScript and add already compiled&beautified template to constructor
- map embedded template instance to 'my'?
- treat templates as methods and implement a special type of methods, which will allow that (needs to be wrapped with 'echoRaw'):
Class('Table', {
trait : 'Shotenjin.Joosed.Methods',
methods : {
usualMethod : function () {}
},
templates : {
cell : {
sources : '...'
},
row : {
sources : '[%= this.cell() %]'
},
}
})
DONE
====
- Implement capturing
- Implement wrapping
- Add ability for helper script to extract template body from external file