164:b6b5babb4898 default tip
Anton Shestakov <av6@dwimlabs.net>, Tue, 31 Oct 2017 16:50:46 +0800
Added tag 0.5.0 for changeset 9ed8b453c537

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
});