You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
837 B
29 lines
837 B
11 years ago
|
define(
|
||
|
[
|
||
|
'marionette',
|
||
|
'backbone'
|
||
|
], function (Marionette, Backbone) {
|
||
|
'use strict';
|
||
|
|
||
|
var vent = new Backbone.Wreqr.EventAggregator();
|
||
|
|
||
|
vent.Events = {
|
||
|
SeriesAdded : 'series:added',
|
||
|
SeriesDeleted : 'series:deleted',
|
||
|
SeasonRenamed : 'season:renamed',
|
||
|
CommandComplete: 'command:complete'
|
||
|
};
|
||
|
|
||
|
vent.Commands = {
|
||
|
EditSeriesCommand : 'EditSeriesCommand',
|
||
|
DeleteSeriesCommand: 'DeleteSeriesCommand',
|
||
|
CloseModalCommand : 'CloseModalCommand',
|
||
|
ShowEpisodeDetails : 'ShowEpisodeDetails',
|
||
|
ShowHistoryDetails : 'ShowHistoryDetails',
|
||
|
SaveSettings : 'saveSettings',
|
||
|
ShowLogFile : 'showLogFile'
|
||
|
};
|
||
|
|
||
|
return vent;
|
||
|
});
|