102:325b3b4ce18b
Anton Shestakov <av6@dwimlabs.net>, Tue, 19 Jul 2016 18:16:23 +0800
ui: use dot operator to access known object properties

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