mirror of
https://github.com/discourse/discourse.git
synced 2025-04-19 10:19:05 +08:00
Revert "DEV: fixes broken tests on ember-cli due to uppy"
This reverts commit d4a418e295d17aa5c9b8598495d71998eaf5e6ea.
This commit is contained in:
parent
85b8fea262
commit
167fcb5eef
@ -32,7 +32,7 @@ define("@popperjs/core", ["exports"], function (__exports__) {
|
||||
|
||||
define("@uppy/core", ["exports"], function (__exports__) {
|
||||
__exports__.default = window.Uppy.Core;
|
||||
__exports__.Plugin = window.Uppy.Core.BasePlugin;
|
||||
__exports__.BasePlugin = window.Uppy.BasePlugin;
|
||||
});
|
||||
|
||||
define("@uppy/aws-s3", ["exports"], function (__exports__) {
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { Plugin } from "@uppy/core";
|
||||
import { BasePlugin } from "@uppy/core";
|
||||
import { warn } from "@ember/debug";
|
||||
import { Promise } from "rsvp";
|
||||
|
||||
export default class UppyChecksum extends Plugin {
|
||||
export default class UppyChecksum extends BasePlugin {
|
||||
constructor(uppy, opts) {
|
||||
super(uppy, opts);
|
||||
this.id = opts.id || "uppy-checksum";
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { Plugin } from "@uppy/core";
|
||||
import { BasePlugin } from "@uppy/core";
|
||||
import { warn } from "@ember/debug";
|
||||
import { Promise } from "rsvp";
|
||||
|
||||
export default class UppyMediaOptimization extends Plugin {
|
||||
export default class UppyMediaOptimization extends BasePlugin {
|
||||
constructor(uppy, opts) {
|
||||
super(uppy, opts);
|
||||
this.id = opts.id || "uppy-media-optimization";
|
||||
|
1
vendor/assets/javascripts/uppy.js
vendored
1
vendor/assets/javascripts/uppy.js
vendored
@ -6,6 +6,7 @@
|
||||
// use the plugins we actually want.
|
||||
window.Uppy = {}
|
||||
Uppy.Core = require('./packages/@uppy/core/lib/index.js')
|
||||
Uppy.BasePlugin = Uppy.Core.BasePlugin
|
||||
Uppy.XHRUpload = require('./packages/@uppy/xhr-upload/lib/index.js')
|
||||
Uppy.AwsS3 = require('./packages/@uppy/aws-s3/lib/index.js')
|
||||
Uppy.AwsS3Multipart = require('./packages/@uppy/aws-s3-multipart/lib/index.js')
|
||||
|
Loading…
x
Reference in New Issue
Block a user