var App = App || {}; App.Presenters = App.Presenters || {}; App.Presenters.MessagePresenter = function(jQuery) { function showInfo($el, message) { return showMessage($el, 'info', message); }; function showError($el, message) { return showMessage($el, 'error', message); }; function hideMessages($el) { $el.children('.message').each(function() { $(this).slideUp('fast', function() { $(this).remove(); }); }); }; function showMessage($el, className, message) { var $messageDiv = $('