benkeen/d3pie — pull request #28 by strcrzy (2014-08-15 23:27:26+00:00)
Title: fix commonjs support

currently, this module will not work with commonjs, as its exports are not exposed via [commonjs's `module.exports`](http://wiki.commonjs.org/wiki/Modules/1.1) object.

additionally, the `main` field is set incorrectly in `package.json`.

this revision addresses these issues, allowing `d3pie` to function as intended within the commonjs ecosystem