app/assets/javascripts/presenters/NotificationsPresenter.js
/**
* The NotificationsPresenter class for the NotificationsPresenter view.
*ยบ
* @return NotificationsPresenter class.
*/
define(['underscore', 'mps', 'map/presenters/PresenterClass'], function(
_,
mps,
PresenterClass
) {
'use strict';
var NotificationsPresenter = PresenterClass.extend({
init: function(view) {
this.view = view;
this._super();
},
// /**
// * Application subscriptions.
// */
_subscriptions: [
{
'Notification/open': function(source) {
this.view.show(source);
}
}
]
});
return NotificationsPresenter;
});