From 39eb0d31436e74dfb299e47de55d33d6bda3a2f4 Mon Sep 17 00:00:00 2001 From: Julian Descottes Date: Sun, 8 Apr 2018 14:35:18 +0200 Subject: [PATCH] Remove jquery from ProgressBarController.js --- src/js/controller/ProgressBarController.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/controller/ProgressBarController.js b/src/js/controller/ProgressBarController.js index 2cae831b..8240f593 100644 --- a/src/js/controller/ProgressBarController.js +++ b/src/js/controller/ProgressBarController.js @@ -10,9 +10,9 @@ }; ns.ProgressBarController.prototype.init = function () { - $.subscribe(Events.SHOW_PROGRESS, $.proxy(this.showProgress_, this)); - $.subscribe(Events.UPDATE_PROGRESS, $.proxy(this.updateProgress_, this)); - $.subscribe(Events.HIDE_PROGRESS, $.proxy(this.hideProgress_, this)); + $.subscribe(Events.SHOW_PROGRESS, this.showProgress_.bind(this)); + $.subscribe(Events.UPDATE_PROGRESS, this.updateProgress_.bind(this)); + $.subscribe(Events.HIDE_PROGRESS, this.hideProgress_.bind(this)); }; ns.ProgressBarController.prototype.showProgress_ = function (event, progressInfo) {