Browse Source

Add polyfill.js

pull/888/head
Masayuki Tanaka 10 years ago
parent
commit
795219f7d1
  1. 7
      src/polyfill.js

7
src/polyfill.js

@ -0,0 +1,7 @@
// 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);
};
};
Loading…
Cancel
Save