mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
support dynamic bower path
This commit is contained in:
parent
9109008194
commit
840412608a
3 changed files with 13 additions and 5 deletions
|
@ -31,8 +31,8 @@ See [iron-iconset](#iron-iconset) and [iron-iconset-svg](#iron-iconset-svg) for
|
|||
@demo demo/index.html
|
||||
-->
|
||||
|
||||
<link rel="import" href="../bower_components/iron-icon/iron-icon.html">
|
||||
<link rel="import" href="../bower_components/iron-iconset-svg/iron-iconset-svg.html">
|
||||
<link rel="import" href="../iron-icon/iron-icon.html">
|
||||
<link rel="import" href="../iron-iconset-svg/iron-iconset-svg.html">
|
||||
<iron-iconset-svg name="icons" size="24">
|
||||
<svg>
|
||||
<defs>
|
|
@ -36,7 +36,7 @@
|
|||
"tag": "v1.0.8",
|
||||
"commit": "e9a66727f3da0446f04956d4e4f1dcd51cdec2ff"
|
||||
},
|
||||
"_source": "git://github.com/polymerelements/iron-selector.git",
|
||||
"_source": "git://github.com/PolymerElements/iron-selector.git",
|
||||
"_target": "^1.0.0",
|
||||
"_originalSource": "polymerelements/iron-selector"
|
||||
"_originalSource": "PolymerElements/iron-selector"
|
||||
}
|
|
@ -1765,6 +1765,12 @@ var AppInfo = {};
|
|||
|
||||
var bowerPath = "bower_components";
|
||||
|
||||
// Put the version into the bower path since we can't easily put a query string param on html imports
|
||||
// Emby server will handle this
|
||||
if (!Dashboard.isRunningInCordova()) {
|
||||
bowerPath += window.dashboardVersion;
|
||||
}
|
||||
|
||||
var paths = {
|
||||
velocity: bowerPath + "/velocity/velocity.min",
|
||||
tvguide: 'components/tvguide/tvguide',
|
||||
|
@ -1809,6 +1815,8 @@ var AppInfo = {};
|
|||
define("cryptojs-md5", ["apiclient/md5"]);
|
||||
|
||||
// Done
|
||||
define("emby-icons", ["html!" + bowerPath + "/emby-icons/emby-icons.html"]);
|
||||
|
||||
define("paper-spinner", ["html!" + bowerPath + "/paper-spinner/paper-spinner.html"]);
|
||||
define("paper-toast", ["html!" + bowerPath + "/paper-toast/paper-toast.html"]);
|
||||
define("paper-slider", ["html!" + bowerPath + "/paper-slider/paper-slider.html"]);
|
||||
|
@ -2069,7 +2077,7 @@ var AppInfo = {};
|
|||
var promises = [];
|
||||
deps = [];
|
||||
deps.push('thirdparty/jquery.unveil-custom.js');
|
||||
deps.push('html!thirdparty/emby-icons.html');
|
||||
deps.push('emby-icons');
|
||||
deps.push('paper-icon-button');
|
||||
deps.push('paper-button');
|
||||
deps.push('thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue