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

allow for injectable server discovery

This commit is contained in:
Luke Pulverenti 2015-02-16 15:56:57 -05:00
parent 61f7ca1da4
commit 6ba570e062
3 changed files with 91 additions and 26 deletions

View file

@ -0,0 +1,13 @@
(function (globalScope) {
globalScope.ServerDiscovery = {
findServers: function () {
var deferred = DeferredBuilder.Deferred();
var servers = [];
deferred.resolveWith(null, [servers]);
return deferred.promise();
}
};
})(window);