Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add api for storing a reference of a non-toxic XmlHttpRequest before implementation #12

Closed
LongLiveCHIEF opened this issue Mar 2, 2014 · 2 comments

Comments

@LongLiveCHIEF
Copy link

there are enough reasons where the modification of ALL requests might not be wanted, especially for extremely large SPA's.

When xhook/xdomain are initiated, create/clone so one instance uses the postMessage api, and the other uses default behavior, which can be configured through the xdomain setup. (suggesting an enhancement for that api based on this).

@jpillora
Copy link
Owner

jpillora commented Mar 2, 2014

Already done :)

https://github.com/jpillora/xhook/blob/gh-pages/src/xhook.coffee#L146

So xhook.XMLHttpRequest is the original native class, this is just a documentation issue

@LongLiveCHIEF
Copy link
Author

sweet!

gasi pushed a commit to WeTransferArchive/xhook that referenced this issue Apr 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants