define('application/events/recordevent', [
'antie/events/event'
], function (
Event
) {
'use strict';
var TYPE = 'record';
return Event.extend({
/**
* Initialises the event.
*
* @param {string} target - The target. episode or series.
* @param {string} id - The id of the series or episode.
* @param {boolean} deleted - True if the recording has been deleted.
*/
init: function init (target, id, deleted) {
init.base.call(this, TYPE);
this.target = target;
this.id = id;
this.deleted = deleted;
}
});
});