jellyfin-web/dashboard-ui/bower_components/emby-apiclient/fileupload.js

22 lines
405 B
JavaScript
Raw Normal View History

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