Permalink
Browse files

add browserify compatibility

  • Loading branch information...
alexstrat committed May 1, 2012
1 parent c36891e commit 637896b3863ded7492bf86d6117faa80fa4f1cbe
Showing with 3 additions and 0 deletions.
  1. +2 −0 index-browserify.js
  2. +1 −0 package.json
View
@@ -0,0 +1,2 @@
+require("./d3.v2");
+module.exports = d3;
View
@@ -20,6 +20,7 @@
"url": "http://github.com/mbostock/d3.git"
},
"main": "index.js",
+ "browserify" : "index-browserify.js",
"dependencies": {
"jsdom": "0.2.14",
"sizzle": "1.1.x"

0 comments on commit 637896b

Please sign in to comment.