I really just want to render a template, nothing special here.
$(document).on('ready',function(){
console.log('.foot rendering');
var FooterView = Ember.View.extend({
templateName: 'footer'
}).create().appendTo("body");
});
The template renders correctly, but the debugger gives me the following error:
DEPRECATION: Using the defaultContainer is no longer supported. [defaultContainer#lookup]
Can someone point me toward the proper way to render this template?
UPDATE It looks like just using the handlebars templates directly is the way to go here.
$(document).on('ready',function(){
console.log('.foot rendering');
var footTemplate = Handlebars.compile($("#footer").html());
var footContext = {}; // ...
$("body").append(footTemplate(footContext));
});