aboutsummaryrefslogtreecommitdiffstats
path: root/lib/browser_fix/xhr.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/browser_fix/xhr.js')
-rw-r--r--lib/browser_fix/xhr.js35
1 files changed, 0 insertions, 35 deletions
diff --git a/lib/browser_fix/xhr.js b/lib/browser_fix/xhr.js
deleted file mode 100644
index aeb9bfaf7..000000000
--- a/lib/browser_fix/xhr.js
+++ /dev/null
@@ -1,35 +0,0 @@
-
-/**
- * Module dependencies.
- */
-
-var global = (function() { return this; })(); // jshint ignore:line
-
-/**
- * XMLHttpRequest constructor.
- */
-
-var XMLHttpRequest = window.XMLHttpRequest; // jshint ignore:line
-
-/**
- * Module exports.
- */
-
-module.exports.XMLHttpRequest = XMLHttpRequest ? xhr : null;
-
-/**
- * XMLHttpRequest constructor.
- *
- * @param {Object) opts (optional)
- * @api public
- */
-
-function xhr(obj) {
- var instance;
-
- instance = new XMLHttpRequest(obj);
-
- return instance;
-}
-
-if (XMLHttpRequest) xhr.prototype = XMLHttpRequest.prototype;