I\'m trying to build a mobile application with phonegap, backbone.js and coffeescript. I want to do something like this :
class MyApplication.Views.EntriesIn
i load my templates this way:
$.ajax({ url : 'my/template.tpl', async : false, success : function(tpl) { //do something with the template } });
maybe it`s a solution that works also for you ..