69:a453c980f824
Anton Shestakov <av6@dwimlabs.net>, Fri, 05 Feb 2016 16:50:08 +0800
Added tag 0.4.0 for changeset e8fc008ff0d8

previous change 46:14d6c0a48023

static/js/framework/collections.js

Permissions: -rw-r--r--

Other formats: Feeds:
try {
var workspacesExtra = {
localStorage: new Backbone.LocalStorage('workspaces')
};
} catch (e) {
var workspacesExtra = {
fetch: function() {},
create: function() {}
};
}
var Workspaces = Backbone.Collection.extend(_({model: Workspace}).extend(workspacesExtra));
var Projects = Backbone.Collection.extend({
model: Project
});
var Tasks = Backbone.Collection.extend({
model: Task
});