1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-06-04 15:03:01 +02:00
TableFilter/test/libs/polyfill.js
2015-06-04 23:04:38 +10:00

11 lines
260 B
JavaScript

// PhantomJS doesn't support bind yet
// https://github.com/ariya/phantomjs/issues/10522
Function.prototype.bind = Function.prototype.bind || function (thisp) {
var fn = this;
return function () {
return fn.apply(thisp, arguments);
};
};