jellyfin-web/dashboard-ui/scripts/apploader.js
2017-07-02 14:58:34 -04:00

1 line
535 B
JavaScript

!function(){"use strict";function loadRequire(){var src,script=document.createElement("script");src=self.Promise?"./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()}();