EndG-2048-multiplayer/assets/js/bind_polyfill.js

10 lines
220 B
JavaScript
Raw Permalink Normal View History

2022-10-17 09:24:21 +02:00
Function.prototype.bind = Function.prototype.bind || function (target) {
var self = this;
return function (args) {
if (!(args instanceof Array)) {
args = [args];
}
self.apply(target, args);
};
};