Skip to content

Commit

Permalink
xhr-loader: add missing arg
Browse files Browse the repository at this point in the history
  • Loading branch information
mangui committed Jun 20, 2016
1 parent 7759dec commit 0da4526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/xhr-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class XhrLoader {
if (status >= 200 && status < 300) {
window.clearTimeout(this.timeoutHandle);
stats.tload = Math.max(stats.tfirst,performance.now());
this.onSuccess(event, stats);
this.onSuccess(event, stats, context);
} else {
// error ...
if (stats.retry < this.maxRetry) {
Expand Down

0 comments on commit 0da4526

Please sign in to comment.