This should be simple but it appears that the local function cannot be found from a template.
What's missing?
See http://jsfiddle.net/JVPa5/2/
...
template: '#= Simple(OffDuty,OnDuty); #'
...
function Simple(a,b){
return a + b * 100
}
What's missing?
See http://jsfiddle.net/JVPa5/2/
...
template: '#= Simple(OffDuty,OnDuty); #'
...
function Simple(a,b){
return a + b * 100
}