Anton Shestakov <engored@ya.ru>, Wed, 26 Dec 2012 21:59:04 +0900
Docs.
static/js/ui.js
Permissions: -rw-r--r--
fruitbar.tasks = new Tasks(data['tasks']); fruitbar.projects = new Projects(data['projects']); 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') window.setInterval(function() {fruitbar.projects.fetch({update: true});}, 60000); window.setInterval(function() {fruitbar.tasks.fetch({update: true});}, 60000);