Browse Source

Updating D3 to 3.5.2.

pull/851/head
Ændrew Rininsland 10 years ago
parent
commit
ea98b3645d
  1. 2
      bower.json
  2. 8
      c3.js
  3. 2
      c3.min.js

2
bower.json

@ -23,6 +23,6 @@
"tests" "tests"
], ],
"dependencies": { "dependencies": {
"d3": "~3.4.4" "d3": "^3.5.2"
} }
} }

8
c3.js

@ -6801,14 +6801,6 @@
return axis; return axis;
} }
// fix problems using c3 with phantomjs #578
Function.prototype.bind = Function.prototype.bind || function (thisp) {
var fn = this;
return function () {
return fn.apply(thisp, arguments);
};
};
if (typeof define === 'function' && define.amd) { if (typeof define === 'function' && define.amd) {
define("c3", ["d3"], c3); define("c3", ["d3"], c3);
} else if ('undefined' !== typeof exports && 'undefined' !== typeof module) { } else if ('undefined' !== typeof exports && 'undefined' !== typeof module) {

2
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save