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

use alameda

This commit is contained in:
Luke Pulverenti 2017-04-13 14:57:24 -04:00
parent 0275060f71
commit 3fd7c3e85c
14 changed files with 57 additions and 12 deletions

View file

@ -0,0 +1 @@
!function(){function loadRequire(){var src,script=document.createElement("script");src=self.Promise&&navigator.userAgent.toLowerCase().indexOf("os x")===-1?"./bower_components/alameda/alameda.js":"./bower_components/requirejs/require.js",self.dashboardVersion&&(src+="?v="+self.dashboardVersion),script.src=src,script.onload=loadApp,document.head.appendChild(script)}function loadApp(){var script=document.createElement("script"),src="./scripts/site.js";self.dashboardVersion&&(src+="?v="+self.dashboardVersion),script.src=src,document.head.appendChild(script)}loadRequire()}();