mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 17:15:25 +08:00
18a209bd0d
We cannot use any of the uppy mixins or core code, because the code there is not shared with the wizard, and to move it all to discourse-common would be a task almost equal difficulty to taking the ring to Mordor. Therefore, we can just use the uppy vendor libraries in the wizard, and do a quick-n-dirty version of the uppy upload code for the wizard-field-image uploader.
44 lines
1.5 KiB
JavaScript
44 lines
1.5 KiB
JavaScript
define("@popperjs/core", ["exports"], function (__exports__) {
|
|
__exports__.default = window.Popper;
|
|
__exports__.createPopper = window.Popper.createPopper;
|
|
__exports__.defaultModifiers = window.Popper.defaultModifiers;
|
|
__exports__.popperGenerator = window.Popper.popperGenerator;
|
|
});
|
|
|
|
define("@uppy/core", ["exports"], function (__exports__) {
|
|
__exports__.default = window.Uppy.Core;
|
|
__exports__.BasePlugin = window.Uppy.Core.BasePlugin;
|
|
});
|
|
|
|
define("@uppy/aws-s3", ["exports"], function (__exports__) {
|
|
__exports__.default = window.Uppy.AwsS3;
|
|
});
|
|
|
|
define("@uppy/aws-s3-multipart", ["exports"], function (__exports__) {
|
|
__exports__.default = window.Uppy.AwsS3Multipart;
|
|
});
|
|
|
|
define("@uppy/xhr-upload", ["exports"], function (__exports__) {
|
|
__exports__.default = window.Uppy.XHRUpload;
|
|
});
|
|
|
|
define("@uppy/drop-target", ["exports"], function (__exports__) {
|
|
__exports__.default = window.Uppy.DropTarget;
|
|
});
|
|
|
|
define("@uppy/utils/lib/delay", ["exports"], function (__exports__) {
|
|
__exports__.default = window.Uppy.Utils.delay;
|
|
});
|
|
|
|
define("@uppy/utils/lib/EventTracker", ["exports"], function (__exports__) {
|
|
__exports__.default = window.Uppy.Utils.EventTracker;
|
|
});
|
|
|
|
define("@uppy/utils/lib/AbortController", ["exports"], function (__exports__) {
|
|
__exports__.AbortController =
|
|
window.Uppy.Utils.AbortControllerLib.AbortController;
|
|
__exports__.AbortSignal = window.Uppy.Utils.AbortControllerLib.AbortSignal;
|
|
__exports__.createAbortError =
|
|
window.Uppy.Utils.AbortControllerLib.createAbortError;
|
|
});
|