Permalink
Browse files

Move files around to better conform to CommonJS, updates to package.json

  • Loading branch information...
1 parent 1facef0 commit 6d0276bf8fb8671465b6ee862bb4666fa55e0e5e @driverdan committed Feb 20, 2012
Showing with 22 additions and 15 deletions.
  1. +1 −1 { → example}/demo.js
  2. 0 { → lib}/XMLHttpRequest.js
  3. +21 −14 package.json
@@ -1,5 +1,5 @@
var sys = require('util');
-var XMLHttpRequest = require("./XMLHttpRequest").XMLHttpRequest;
+var XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest;
var xhr = new XMLHttpRequest();
File renamed without changes.
View
@@ -1,16 +1,23 @@
-{ "name" : "xmlhttprequest"
-, "description" : "XMLHttpRequest for Node"
-, "version" : "1.3.0"
-, "author" : "Dan DeFelippi"
-, "licenses" :
- [ { "type" : "MIT"
- , "url" : "http://creativecommons.org/licenses/MIT/"
- }
- ]
-, "repository" :
- { "type" : "git"
- , "url" : "git://github.com/driverdan/node-XMLHttpRequest.git"
+{
+ "name": "xmlhttprequest"
+, "description": "XMLHttpRequest for Node"
+, "version": "1.3.0"
+, "author": {
+ "name": "Dan DeFelippi"
+ , "url": "http://driverdan.com"
}
-, "engine" : [ "node >=0.4.0" ]
-, "main" : "./XMLHttpRequest.js"
+, "keywords" ["xhr", "ajax"]
+, "licenses": [{
+ "type": "MIT"
+ , "url": "http://creativecommons.org/licenses/MIT/"
+ }]
+, "repository": {
+ "type": "git"
+ , "url": "git://github.com/driverdan/node-XMLHttpRequest.git"
+ }
+, "bugs": "http://github.com/driverdan/node-XMLHttpRequest/issues"
+, "engines": {
+ "node": ">=0.4.0"
+ }
+, "main": "./lib/XMLHttpRequest.js"
}

0 comments on commit 6d0276b

Please sign in to comment.