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
12
src/bower_components/emby-webcomponents/polyfills/array.js
vendored
Normal file
12
src/bower_components/emby-webcomponents/polyfills/array.js
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
Array.prototype.filter || (Array.prototype.filter = function(fun) {
|
||||
"use strict";
|
||||
if (null == this) throw new TypeError;
|
||||
var t = Object(this),
|
||||
len = t.length >>> 0;
|
||||
if ("function" != typeof fun) throw new TypeError;
|
||||
for (var res = [], thisp = arguments[1], i = 0; i < len; i++)
|
||||
if (i in t) {
|
||||
var val = t[i];
|
||||
fun.call(thisp, val, i, t) && res.push(val)
|
||||
} return res
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue