We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db63471 commit 119f01eCopy full SHA for 119f01e
src/Network/HTTP/Affjax.js
@@ -8,7 +8,7 @@
8
// jshint maxparams: 5
9
exports._ajax = function (mkHeader, options, canceler, errback, callback) {
10
var platformSpecific = { };
11
- if (typeof module !== "undefined" && module.exports) {
+ if (typeof module !== "undefined" && module.require) {
12
// We are on node.js
13
platformSpecific.newXHR = function () {
14
var XHR = module.require("xmlhttprequest").XMLHttpRequest;
0 commit comments