1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/dashboard-ui/bower_components/emby-apiclient/fileupload.js

22 lines
405 B
JavaScript
Raw Normal View History

2015-09-10 14:28:22 -04:00
(function (globalScope) {
function fileUpload() {
var self = this;
2015-09-15 23:55:26 -04:00
self.upload = function (file, name, url) {
2015-09-10 14:28:22 -04:00
2015-12-14 10:43:03 -05:00
return new Promise(function (resolve, reject) {
2015-09-10 14:28:22 -04:00
2015-12-14 10:43:03 -05:00
reject();
});
2015-09-10 14:28:22 -04:00
};
}
if (!globalScope.MediaBrowser) {
globalScope.MediaBrowser = {};
}
globalScope.MediaBrowser.FileUpload = fileUpload;
})(this);