Hi
I tried http://yacine.org/2012/01/16/jmvc-jqm-improved-dispatch/
Unfortunately I get an error at the view.done dereffer.
Firebug console:
I'm using ejs files.
My controller looks like
I tried http://yacine.org/2012/01/16/jmvc-jqm-improved-dispatch/
Unfortunately I get an error at the view.done dereffer.
Firebug console:
Do anybody knows whats the mistake?
I'm using ejs files.
My controller looks like
- $.Controller('Inventory.Pages.Main',
/** @Static */
{
defaults : {
title: 'Inventory',
pageID: 'main'
},
pluginName: 'main'
},
/** @Prototype */
{
/**
* Downloads and renders a full page of blog posts
*/
init : function() {
this.view = $.View("../inventory/application/views/pages/inventory_main.ejs",{
pageID: this.options.pageID,
title: this.options.title
});
}
}
); // End of controller