Skip to content

Commit

Permalink
Merge pull request #1 from rbojha/fix.v0.4.17-beta.1
Browse files Browse the repository at this point in the history
Fix: Require D3
  • Loading branch information
myitcv committed Feb 19, 2016
2 parents 88bea48 + e86ac3f commit 5c371c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/d3.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
// Stub to get D3 either via NPM or from the global object
require('d3');
module.exports = window.d3;
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,8 @@
"type": "git",
"url": "https://github.com/cpettitt/dagre-d3.git"
},
"license": "MIT"
"license": "MIT",
"jspm": {
"registry": "npm"
}
}

0 comments on commit 5c371c8

Please sign in to comment.