Anton Shestakov <engored@ya.ru>, Thu, 27 Dec 2012 00:12:30 +0900
Moving toward a multi-workspace work model. There's no auth, knowing workspace id gives full access.
static/js/ui.js
Permissions: -rw-r--r--
window.fruitbar = {workspace: undefined}; fruitbar.tasks = new Tasks(); fruitbar.projects = new Projects(); fruitbar.router = new Router(); fruitbar.projectCounter = new CollectionCounterView({ el: $('.project-counter'), collection: fruitbar.projects fruitbar.projectsView = new ProjectsView({ collection: fruitbar.projects, project: $('#project-template').html(), task: $('#task-template').html() create: $('.btn-new-project') Backbone.history.start(); window.setInterval(function() {fruitbar.projects.fetch({update: true});}, 60000); window.setInterval(function() {fruitbar.tasks.fetch({update: true});}, 60000);