Restructured presenters code

This commit is contained in:
Marcin Kurczewski
2014-09-02 23:07:50 +02:00
parent aed090da7d
commit 7c8e473e1b
5 changed files with 98 additions and 91 deletions

View File

@ -7,7 +7,11 @@ App.Presenters.UserListPresenter = function(jQuery, topNavigationPresenter, appS
var $el = jQuery('#content');
render();
init();
function init() {
render();
}
function render() {
$el.html('Logged in: ' + appState.get('loggedIn'));