We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents db63471 + 119f01e commit e46c526Copy full SHA for e46c526
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