2014-09-07 19:49:11 +02:00
|
|
|
var App = App || {};
|
|
|
|
App.Presenters = App.Presenters || {};
|
|
|
|
|
|
|
|
App.Presenters.PostUploadPresenter = function(
|
|
|
|
jQuery,
|
|
|
|
topNavigationPresenter) {
|
|
|
|
|
|
|
|
var $el = jQuery('#content');
|
|
|
|
|
|
|
|
function init(args) {
|
|
|
|
topNavigationPresenter.select('upload');
|
2014-09-11 13:59:12 +02:00
|
|
|
topNavigationPresenter.changeTitle('Upload');
|
2014-09-07 19:49:11 +02:00
|
|
|
render();
|
|
|
|
}
|
|
|
|
|
|
|
|
function render() {
|
|
|
|
$el.html('Post upload placeholder');
|
2014-09-08 22:02:28 +02:00
|
|
|
}
|
2014-09-07 19:49:11 +02:00
|
|
|
|
|
|
|
return {
|
|
|
|
init: init,
|
|
|
|
render: render,
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2014-09-11 12:33:44 +02:00
|
|
|
App.DI.register('postUploadPresenter', ['jQuery', 'topNavigationPresenter'], App.Presenters.PostUploadPresenter);
|