Sorted presenter dependencies

This commit is contained in:
Marcin Kurczewski 2014-09-04 19:06:12 +02:00
parent b657129460
commit c5881d1c0d
5 changed files with 17 additions and 13 deletions

View file

@ -4,12 +4,12 @@ App.Presenters = App.Presenters || {};
App.Presenters.LoginPresenter = function( App.Presenters.LoginPresenter = function(
jQuery, jQuery,
util, util,
topNavigationPresenter,
messagePresenter,
auth,
router,
promise, promise,
appState) { router,
auth,
appState,
topNavigationPresenter,
messagePresenter) {
var $el = jQuery('#content'); var $el = jQuery('#content');
var $messages; var $messages;

View file

@ -3,11 +3,11 @@ App.Presenters = App.Presenters || {};
App.Presenters.LogoutPresenter = function( App.Presenters.LogoutPresenter = function(
jQuery, jQuery,
topNavigationPresenter,
messagePresenter,
auth,
promise, promise,
router) { router,
auth,
topNavigationPresenter,
messagePresenter) {
var $messages = jQuery('#content'); var $messages = jQuery('#content');

View file

@ -1,7 +1,7 @@
var App = App || {}; var App = App || {};
App.Presenters = App.Presenters || {}; App.Presenters = App.Presenters || {};
App.Presenters.PagedCollectionPresenter = function(api, util, promise) { App.Presenters.PagedCollectionPresenter = function(util, promise, api) {
var searchOrder; var searchOrder;
var searchQuery; var searchQuery;

View file

@ -5,9 +5,9 @@ App.Presenters.RegistrationPresenter = function(
jQuery, jQuery,
util, util,
promise, promise,
api,
topNavigationPresenter, topNavigationPresenter,
messagePresenter, messagePresenter) {
api) {
var $el = jQuery('#content'); var $el = jQuery('#content');
var template; var template;

View file

@ -1,7 +1,11 @@
var App = App || {}; var App = App || {};
App.Presenters = App.Presenters || {}; App.Presenters = App.Presenters || {};
App.Presenters.TopNavigationPresenter = function(util, jQuery, appState, promise) { App.Presenters.TopNavigationPresenter = function(
jQuery,
util,
promise,
appState) {
var selectedElement = null; var selectedElement = null;
var $el = jQuery('#top-navigation'); var $el = jQuery('#top-navigation');