--- a/static/js/framework/collections.js Sun Apr 05 02:51:05 2015 +0800
+++ b/static/js/framework/collections.js Sun Apr 05 03:44:40 2015 +0800
-var Workspaces = Backbone.Collection.extend({
- localStorage: new Backbone.LocalStorage('workspaces'),
+ var workspacesExtra = {
+ localStorage: new Backbone.LocalStorage('workspaces')
+ var workspacesExtra = {
+var Workspaces = Backbone.Collection.extend(_({model: Workspace}).extend(workspacesExtra));
var Projects = Backbone.Collection.extend({