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

single module resolution for apiclient

This commit is contained in:
vitorsemeano 2019-02-24 11:46:22 +00:00
parent ae828f76a3
commit d49fee2a29
18 changed files with 9 additions and 1 deletions

View file

@ -1,6 +1,11 @@
define(["apiclientcore", "localassetmanager"], function(ApiClient, localassetmanager) { //TODO: (vitorsemeano) modify this lines for webpack
define(["bower_components/apiclient/apiclientcore", "localassetmanager"], function(ApiClient, localassetmanager) {
"use strict"; "use strict";
if ("cordova" !== window.appMode && "android" !== window.appMode) {
return ApiClient;
}
function isLocalId(str) { function isLocalId(str) {
return startsWith(str, localPrefix) return startsWith(str, localPrefix)
} }

View file

@ -0,0 +1,3 @@
{
"main": "apiclient.js"
}