Skip to content

Commit

Permalink
Support passing the anon flag to the XMLHttpRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbloom committed Sep 23, 2013
1 parent d8c8ba8 commit 7e2e840
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pace.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ class RequestIntercept extends Events

_open.apply req, arguments

window.XMLHttpRequest = ->
req = new _XMLHttpRequest
window.XMLHttpRequest = (flags) ->
req = new _XMLHttpRequest(flags)

monitorXHR req

Expand Down
4 changes: 2 additions & 2 deletions pace.js

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

2 changes: 1 addition & 1 deletion pace.min.js

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

0 comments on commit 7e2e840

Please sign in to comment.