I sort of found a solution in case anyone else runs into this.
I updated my jsfiddle http://jsfiddle.net/5zpFz/127/
Basically I need to call a template that includes a partial, inside of the partial I am trying to call a simple helper to do some formatting. When I try to render the view like
- $('body').append( can.view('outer', {}, {
- helloer:function(name) {
- return 'hello ' + name;
- }
- }) );
The partial template never calls this helper. However when I change it slightly to call the like this
- tmp = can.view('inner');
- $('body').append( can.view('outer', {}, {
- helpers: {
- helloer:function(name) {
- return 'hello ' + name;
- }
- },
- partials: {
- tmp: tmp
- }
- }) );
In this case it works.