mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
First separation commit.
Added LICENSE, README.md, CONTRIBUTORS.md
This commit is contained in:
parent
09513af31b
commit
4678528d00
657 changed files with 422 additions and 0 deletions
10
src/bower_components/emby-webcomponents/polyfills/bind.js
vendored
Normal file
10
src/bower_components/emby-webcomponents/polyfills/bind.js
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
Function.prototype.bind || (Function.prototype.bind = function(oThis) {
|
||||
if ("function" != typeof this) throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");
|
||||
var aArgs = Array.prototype.slice.call(arguments, 1),
|
||||
fToBind = this,
|
||||
fNOP = function() {},
|
||||
fBound = function() {
|
||||
return fToBind.apply(this instanceof fNOP ? this : oThis, aArgs.concat(Array.prototype.slice.call(arguments)))
|
||||
};
|
||||
return this.prototype && (fNOP.prototype = this.prototype), fBound.prototype = new fNOP, fBound
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue