添加2048彩蛋
This commit is contained in:
9
2048/js/bind_polyfill.js
Normal file
9
2048/js/bind_polyfill.js
Normal file
@@ -0,0 +1,9 @@
|
||||
Function.prototype.bind = Function.prototype.bind || function (target) {
|
||||
var self = this;
|
||||
return function (args) {
|
||||
if (!(args instanceof Array)) {
|
||||
args = [args];
|
||||
}
|
||||
self.apply(target, args);
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user