Skip to content

Commit

Permalink
No need to use jquery proxy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Pascoe authored and Stephen Pascoe committed Sep 16, 2015
1 parent 0ea890a commit c9e5243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luigi/static/visualiser/js/visualiserApp.js
Expand Up @@ -218,7 +218,7 @@ function visualiserApp(luigi) {
}

function processWorker(worker) {
worker.tasks = worker.running.map($.proxy(taskToDisplayTask, false, null));
worker.tasks = worker.running.map(taskToDisplayTask);
worker.start_time = new Date(worker.started * 1000).toLocaleString();
worker.active = new Date(worker.last_active * 1000).toLocaleString();
return worker;
Expand Down

0 comments on commit c9e5243

Please sign in to comment.