Sorted presenter dependencies
This commit is contained in:
parent
b657129460
commit
c5881d1c0d
5 changed files with 17 additions and 13 deletions
|
@ -4,12 +4,12 @@ App.Presenters = App.Presenters || {};
|
|||
App.Presenters.LoginPresenter = function(
|
||||
jQuery,
|
||||
util,
|
||||
topNavigationPresenter,
|
||||
messagePresenter,
|
||||
auth,
|
||||
router,
|
||||
promise,
|
||||
appState) {
|
||||
router,
|
||||
auth,
|
||||
appState,
|
||||
topNavigationPresenter,
|
||||
messagePresenter) {
|
||||
|
||||
var $el = jQuery('#content');
|
||||
var $messages;
|
||||
|
|
|
@ -3,11 +3,11 @@ App.Presenters = App.Presenters || {};
|
|||
|
||||
App.Presenters.LogoutPresenter = function(
|
||||
jQuery,
|
||||
topNavigationPresenter,
|
||||
messagePresenter,
|
||||
auth,
|
||||
promise,
|
||||
router) {
|
||||
router,
|
||||
auth,
|
||||
topNavigationPresenter,
|
||||
messagePresenter) {
|
||||
|
||||
var $messages = jQuery('#content');
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var App = App || {};
|
||||
App.Presenters = App.Presenters || {};
|
||||
|
||||
App.Presenters.PagedCollectionPresenter = function(api, util, promise) {
|
||||
App.Presenters.PagedCollectionPresenter = function(util, promise, api) {
|
||||
|
||||
var searchOrder;
|
||||
var searchQuery;
|
||||
|
|
|
@ -5,9 +5,9 @@ App.Presenters.RegistrationPresenter = function(
|
|||
jQuery,
|
||||
util,
|
||||
promise,
|
||||
api,
|
||||
topNavigationPresenter,
|
||||
messagePresenter,
|
||||
api) {
|
||||
messagePresenter) {
|
||||
|
||||
var $el = jQuery('#content');
|
||||
var template;
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
var App = App || {};
|
||||
App.Presenters = App.Presenters || {};
|
||||
|
||||
App.Presenters.TopNavigationPresenter = function(util, jQuery, appState, promise) {
|
||||
App.Presenters.TopNavigationPresenter = function(
|
||||
jQuery,
|
||||
util,
|
||||
promise,
|
||||
appState) {
|
||||
|
||||
var selectedElement = null;
|
||||
var $el = jQuery('#top-navigation');
|
||||
|
|
Loading…
Reference in a new issue