Unminify using 1.5.323

Repo with tag: https://github.com/MediaBrowser/emby-webcomponents/tree/1.5.323
This commit is contained in:
Vasily 2019-01-10 15:39:37 +03:00
parent 4678528d00
commit de6ac33ec1
289 changed files with 78483 additions and 54701 deletions

View file

@ -1,12 +1,25 @@
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
});
if (!Array.prototype.filter) {
Array.prototype.filter = function (fun /*, thisp*/) {
"use strict";
if (this == null)
throw new TypeError();
var t = Object(this);
var len = t.length >>> 0;
if (typeof fun != "function")
throw new TypeError();
var res = [];
var thisp = arguments[1];
for (var i = 0; i < len; i++) {
if (i in t) {
var val = t[i]; // in case fun mutates this
if (fun.call(thisp, val, i, t))
res.push(val);
}
}
return res;
};
}