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(
jQuery,
util,
topNavigationPresenter,
messagePresenter,
auth,
router,
promise,
appState) {
router,
auth,
appState,
topNavigationPresenter,
messagePresenter) {
var $el = jQuery('#content');
var $messages;

View file

@ -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');

View file

@ -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;

View file

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

View file

@ -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');