szurubooru/public_html/js/Presenters/PostUploadPresenter.js

27 lines
488 B
JavaScript
Raw Normal View History

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');
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,
};
};
App.DI.register('postUploadPresenter', ['jQuery', 'topNavigationPresenter'], App.Presenters.PostUploadPresenter);