Skip to content

Commit

Permalink
require lower case canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
cesine authored and jasondavies committed Jun 23, 2015
1 parent 8b84800 commit 11da86a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var globals = {};
if ("d3" in global) globals.d3 = global.d3;
if ("Canvas" in global) globals.Canvas = global.Canvas;
global.d3 = require("d3");
global.Canvas = require("Canvas");
global.Canvas = require("canvas");

require("./d3.layout.cloud");
module.exports = d3.layout.cloud;
Expand Down

0 comments on commit 11da86a

Please sign in to comment.