Browse Source

require d3

pull/232/head
Olivier Melcher 11 years ago
parent
commit
00af5fc211
  1. 2
      c3.js

2
c3.js

@ -76,7 +76,7 @@
*/
c3.generate = function (config) {
var d3 = window.d3 ? window.d3 : window.require ? window.require("d3") : undefined;
var d3 = window.d3 ? window.d3 : 'undefined' != typeof require ? require("d3") : undefined;
var c3 = { data : {}, axis: {}, legend: {} },
cache = {};

Loading…
Cancel
Save