Skip to content

Commit 644d25e

Browse files
committed
Support for evenet listener on update
1 parent 0f7f00a commit 644d25e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pace.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* pace.js v1.2.1
2+
* pace.js v1.2.2
33
* https://github.com/EatBreatheCode/pace/
44
* Licensed MIT © HubSpot, Inc.
55
*/
@@ -276,6 +276,7 @@
276276

277277
Bar.prototype.update = function(prog) {
278278
this.progress = prog;
279+
this.trigger('progress', prog);
279280
return this.render();
280281
};
281282

0 commit comments

Comments
 (0)