mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Remove jquery from ProgressBarController.js
This commit is contained in:
parent
6e53bce2cf
commit
39eb0d3143
@ -10,9 +10,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
ns.ProgressBarController.prototype.init = function () {
|
ns.ProgressBarController.prototype.init = function () {
|
||||||
$.subscribe(Events.SHOW_PROGRESS, $.proxy(this.showProgress_, this));
|
$.subscribe(Events.SHOW_PROGRESS, this.showProgress_.bind(this));
|
||||||
$.subscribe(Events.UPDATE_PROGRESS, $.proxy(this.updateProgress_, this));
|
$.subscribe(Events.UPDATE_PROGRESS, this.updateProgress_.bind(this));
|
||||||
$.subscribe(Events.HIDE_PROGRESS, $.proxy(this.hideProgress_, this));
|
$.subscribe(Events.HIDE_PROGRESS, this.hideProgress_.bind(this));
|
||||||
};
|
};
|
||||||
|
|
||||||
ns.ProgressBarController.prototype.showProgress_ = function (event, progressInfo) {
|
ns.ProgressBarController.prototype.showProgress_ = function (event, progressInfo) {
|
||||||
|
Loading…
Reference in New Issue
Block a user