Anton Shestakov <engored@ya.ru>, Wed, 26 Dec 2012 22:01:21 +0900
Added tag 0.1.0 for changeset 1622dbdfa709
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);