]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/dropzone.js
Removed parallel testing, updated predis
[bookstack] / resources / js / components / dropzone.js
index 44fdf2d0d3fba800e31bf68364088751186428a0..911a033c776b81ca757db2ad1e85875d599c0877 100644 (file)
@@ -1,11 +1,8 @@
 import DropZoneLib from "dropzone";
 import {fadeOut} from "../services/animations";
+import {Component} from "./component";
 
-/**
- * Dropzone
- * @extends {Component}
- */
-class Dropzone {
+export class Dropzone extends Component {
     setup() {
         this.container = this.$el;
         this.url = this.$opts.url;
@@ -73,6 +70,4 @@ class Dropzone {
     removeAll() {
         this.dz.removeAllFiles(true);
     }
-}
-
-export default Dropzone;
\ No newline at end of file
+}
\ No newline at end of file