mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Added support for parameters in presenters
This commit is contained in:
@ -3,13 +3,10 @@ App.Presenters = App.Presenters || {};
|
||||
|
||||
App.Presenters.UserListPresenter = function(jQuery, topNavigationPresenter, appState) {
|
||||
|
||||
topNavigationPresenter.select('users');
|
||||
|
||||
var $el = jQuery('#content');
|
||||
|
||||
init();
|
||||
|
||||
function init() {
|
||||
topNavigationPresenter.select('users');
|
||||
render();
|
||||
}
|
||||
|
||||
@ -18,6 +15,7 @@ App.Presenters.UserListPresenter = function(jQuery, topNavigationPresenter, appS
|
||||
};
|
||||
|
||||
return {
|
||||
init: init,
|
||||
render: render
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user