Skip to content

Commit aa0166c

Browse files
committed
Add browser support
1 parent 17b03f9 commit aa0166c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/browser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exports.XMLHttpRequest = XMLHttpRequest;

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"type": "git",
1616
"url": "git://github.com/driverdan/node-XMLHttpRequest.git"
1717
},
18+
"browser": "./lib/browser.js",
1819
"bugs": "http://github.com/driverdan/node-XMLHttpRequest/issues",
1920
"engines": {
2021
"node": ">=0.4.0"

0 commit comments

Comments
 (0)