Skip to content

Commit

Permalink
Fix XHR behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbloom committed May 15, 2017
1 parent 78f5e86 commit dd12706
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pace.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ class RequestIntercept extends Events
if shouldTrack(type)
@trigger 'request', {type, url, request: req}

_open.apply req, arguments
_open.call req, type, url, async

window.XMLHttpRequest = (flags) ->
req = new _XMLHttpRequest(flags)
Expand Down
2 changes: 1 addition & 1 deletion pace.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dd12706

Please sign in to comment.