mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
get api libs from bower
This commit is contained in:
parent
def418714f
commit
f36e664503
97 changed files with 16860 additions and 197 deletions
|
@ -7,7 +7,7 @@
|
|||
* Code distributed by Google as part of the polymer project is also
|
||||
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||||
*/
|
||||
// @version 0.7.19
|
||||
// @version 0.7.20
|
||||
(function() {
|
||||
window.WebComponents = window.WebComponents || {
|
||||
flags: {}
|
||||
|
@ -352,6 +352,7 @@ if (WebComponents.flags.shadow) {
|
|||
});
|
||||
});
|
||||
}
|
||||
scope.addForwardingProperties = addForwardingProperties;
|
||||
scope.assert = assert;
|
||||
scope.constructorTable = constructorTable;
|
||||
scope.defineGetter = defineGetter;
|
||||
|
@ -3306,6 +3307,7 @@ if (WebComponents.flags.shadow) {
|
|||
})(window.ShadowDOMPolyfill);
|
||||
(function(scope) {
|
||||
"use strict";
|
||||
var addForwardingProperties = scope.addForwardingProperties;
|
||||
var mixin = scope.mixin;
|
||||
var registerWrapper = scope.registerWrapper;
|
||||
var setWrapper = scope.setWrapper;
|
||||
|
@ -3330,6 +3332,10 @@ if (WebComponents.flags.shadow) {
|
|||
unsafeUnwrap(this).texSubImage2D.apply(unsafeUnwrap(this), arguments);
|
||||
}
|
||||
});
|
||||
var OriginalWebGLRenderingContextBase = Object.getPrototypeOf(OriginalWebGLRenderingContext.prototype);
|
||||
if (OriginalWebGLRenderingContextBase !== Object.prototype) {
|
||||
addForwardingProperties(OriginalWebGLRenderingContextBase, WebGLRenderingContext.prototype);
|
||||
}
|
||||
var instanceProperties = /WebKit/.test(navigator.userAgent) ? {
|
||||
drawingBufferHeight: null,
|
||||
drawingBufferWidth: null
|
||||
|
@ -3414,7 +3420,10 @@ if (WebComponents.flags.shadow) {
|
|||
var unwrappedActiveElement = unwrap(this).ownerDocument.activeElement;
|
||||
if (!unwrappedActiveElement || !unwrappedActiveElement.nodeType) return null;
|
||||
var activeElement = wrap(unwrappedActiveElement);
|
||||
while (!this.contains(activeElement)) {
|
||||
if (activeElement === this.host) {
|
||||
return null;
|
||||
}
|
||||
while (!this.contains(activeElement) && !this.host.contains(activeElement)) {
|
||||
while (activeElement.parentNode) {
|
||||
activeElement = activeElement.parentNode;
|
||||
}
|
||||
|
@ -4112,7 +4121,6 @@ if (WebComponents.flags.shadow) {
|
|||
if (!unwrappedActiveElement || !unwrappedActiveElement.nodeType) return null;
|
||||
var activeElement = wrap(unwrappedActiveElement);
|
||||
while (!this.contains(activeElement)) {
|
||||
var lastHost = activeElement;
|
||||
while (activeElement.parentNode) {
|
||||
activeElement = activeElement.parentNode;
|
||||
}
|
||||
|
@ -5908,6 +5916,7 @@ window.HTMLImports = window.HTMLImports || {
|
|||
if (importCount) {
|
||||
for (var i = 0, imp; i < importCount && (imp = imports[i]); i++) {
|
||||
if (isImportLoaded(imp)) {
|
||||
newImports.push(this);
|
||||
parsedCount++;
|
||||
checkDone();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue