Activity instead of History

New: Renamed history to activity
New: Queue is default tab of activity
This commit is contained in:
Mark McDowall
2014-10-12 00:29:09 -07:00
parent f8fb37bae8
commit 1225bbe8dc
39 changed files with 67 additions and 66 deletions
@@ -0,0 +1,21 @@
'use strict';
define(
[
'backbone',
'Series/SeriesCollection'
], function (Backbone, SeriesCollection) {
return Backbone.Model.extend({
//Hack to deal with Backbone 1.0's bug
initialize: function () {
this.url = function () {
return this.collection.url + '/' + this.get('id');
};
},
parse: function (model) {
model.series = SeriesCollection.get(model.seriesId);
return model;
}
});
});