1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update components

This commit is contained in:
Luke Pulverenti 2016-03-29 21:32:51 -04:00
parent e65500d84e
commit bc878e5fac
7 changed files with 29 additions and 28 deletions

View file

@ -16,12 +16,12 @@
}, },
"devDependencies": {}, "devDependencies": {},
"ignore": [], "ignore": [],
"version": "1.1.92", "version": "1.1.93",
"_release": "1.1.92", "_release": "1.1.93",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "1.1.92", "tag": "1.1.93",
"commit": "b8a3cb7ffffe461b43e389650bd5c14170ea9eb7" "commit": "3d971009690236323becba5c24803780a345ea54"
}, },
"_source": "git://github.com/MediaBrowser/emby-webcomponents.git", "_source": "git://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "~1.1.5", "_target": "~1.1.5",

View file

@ -56,18 +56,6 @@ define(['browser'], function (browser) {
return true; return true;
} }
// Newer mobile chrome supports it but doesn't report it
if (browser.chrome) {
var version = (browser.version || '').toString().split('.')[0];
try {
version = parseInt(version);
if (version >= 49) {
return true;
}
} catch (err) {
}
}
return false; return false;
} }

View file

@ -29,14 +29,14 @@
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
}, },
"ignore": [], "ignore": [],
"homepage": "https://github.com/PolymerElements/iron-behaviors", "homepage": "https://github.com/polymerelements/iron-behaviors",
"_release": "1.0.13", "_release": "1.0.13",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "v1.0.13", "tag": "v1.0.13",
"commit": "a7bc3428a6da2beed21987b3a8028206826a12bc" "commit": "a7bc3428a6da2beed21987b3a8028206826a12bc"
}, },
"_source": "git://github.com/PolymerElements/iron-behaviors.git", "_source": "git://github.com/polymerelements/iron-behaviors.git",
"_target": "^1.0.0", "_target": "^1.0.0",
"_originalSource": "PolymerElements/iron-behaviors" "_originalSource": "polymerelements/iron-behaviors"
} }

View file

@ -32,14 +32,14 @@
"web-component-tester": "^4.0.0", "web-component-tester": "^4.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
}, },
"homepage": "https://github.com/polymerelements/iron-icon", "homepage": "https://github.com/PolymerElements/iron-icon",
"_release": "1.0.8", "_release": "1.0.8",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "v1.0.8", "tag": "v1.0.8",
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb" "commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
}, },
"_source": "git://github.com/polymerelements/iron-icon.git", "_source": "git://github.com/PolymerElements/iron-icon.git",
"_target": "^1.0.0", "_target": "^1.0.0",
"_originalSource": "polymerelements/iron-icon" "_originalSource": "PolymerElements/iron-icon"
} }

View file

@ -1,6 +1,6 @@
{ {
"name": "iron-location", "name": "iron-location",
"version": "0.8.0", "version": "0.8.1",
"description": "Bidirectional data binding into the page's URL.", "description": "Bidirectional data binding into the page's URL.",
"private": true, "private": true,
"authors": [ "authors": [
@ -33,11 +33,11 @@
"web-component-tester": "^4.0.0", "web-component-tester": "^4.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
}, },
"_release": "0.8.0", "_release": "0.8.1",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "v0.8.0", "tag": "v0.8.1",
"commit": "9ed0d3f243a70545204ade98720d16b2ff71feb4" "commit": "fe42515f03ff4b3397dedf1c0810f1667f460172"
}, },
"_source": "git://github.com/PolymerElements/iron-location.git", "_source": "git://github.com/PolymerElements/iron-location.git",
"_target": "^0.8.0", "_target": "^0.8.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "iron-location", "name": "iron-location",
"version": "0.8.0", "version": "0.8.1",
"description": "Bidirectional data binding into the page's URL.", "description": "Bidirectional data binding into the page's URL.",
"private": true, "private": true,
"authors": [ "authors": [

View file

@ -281,7 +281,20 @@ milliseconds.
url = new URL(href); url = new URL(href);
} }
if (url.origin !== window.location.origin) { var origin;
// IE Polyfill
if (window.location.origin) {
origin = window.location.origin;
} else {
origin = window.location.protocol + '//' + window.location.hostname;
if (window.location.port) {
origin += ':' + window.location.port;
}
}
if (url.origin !== origin) {
return null; return null;
} }
var normalizedHref = url.pathname + url.search + url.hash; var normalizedHref = url.pathname + url.search + url.hash;