70:debfda9e90b2
Anton Shestakov <av6@dwimlabs.net>, Wed, 02 Mar 2016 21:23:03 +0800
test: disable DEBUG for tests

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