Requiring via browserify makes window.XMLHttpRequest undefined
tmcw opened this issue · comments
// good
console.log(window.XMLHttpRequest);
var request = require('browser-request');
// undefined
console.log(window.XMLHttpRequest);
Found my way here because this module broke backbone.sync
.
Is it really necessary to clobber the global?
I have the same issue ReferenceError: XMLHttpRequest is not defined
using Browserify