define([], function () { 'use strict'; return function () { var self = this; self.upload = function (file, name, url) { return Promise.reject(); }; }; });