79:1696474c2f0d
Anton Shestakov <av6@dwimlabs.net>, Wed, 06 Apr 2016 13:08:27 +0800
provision: use $host variable in HTTP->HTTPS redirect

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