Closed juliomenendez closed 11 years ago
So it looks like this marionette handlerbars shim isn't needed? https://github.com/asciidisco/Backbone.Marionette.Handlebars
Marionette seems to execute the template property as a function if it is one. Passing data as the param.
It seems so. I guess you can remove it.
Yeah Marionette 0.9 didn't do this. Nice I will remove and merge this shortly.
Marionette.Handlebars plugin also removed
Hi, thanks for fixing this. I have the feeling that theres a typo in the Gruntfile.js
'.tmp/scripts/templates.js': ['<%= yeoman.app %>templates/**/*.hbs']
shouldn't it be:
'.tmp/scripts/templates.js': ['<%= yeoman.app %>/templates/**/*.hbs']
?
The templates weren't getting compiled at all with
grunt build
. The path to them was wrong.Once that was fixed them Backbone wasn't able to find the templates because of the way the
template
property was set.