Преглед на файлове

remove getMetaFromForm and unused options

Artur Paikin преди 7 години
родител
ревизия
60cf71325a
променени са 3 файла, в които са добавени 0 реда и са изтрити 7 реда
  1. 0 4
      src/plugins/Dashboard/index.js
  2. 0 1
      src/plugins/DragDrop/index.js
  3. 0 2
      src/plugins/FileInput.js

+ 0 - 4
src/plugins/Dashboard/index.js

@@ -63,7 +63,6 @@ module.exports = class Dashboard extends Plugin {
     // set default options
     const defaultOptions = {
       target: 'body',
-      getMetaFromForm: true,
       metaFields: [],
       trigger: '#uppy-select-files',
       inline: false,
@@ -439,13 +438,10 @@ module.exports = class Dashboard extends Plugin {
       handlePaste: this.handlePaste,
       showProgressDetails: this.opts.showProgressDetails,
       inline: this.opts.inline,
-      semiTransparent: this.opts.semiTransparent,
       showPanel: this.showPanel,
       hideAllPanels: this.hideAllPanels,
       log: this.uppy.log,
       i18n: this.i18n,
-      // pauseAll: this.pauseAll,
-      // resumeAll: this.resumeAll,
       addFile: this.uppy.addFile,
       removeFile: this.uppy.removeFile,
       info: this.uppy.info,

+ 0 - 1
src/plugins/DragDrop/index.js

@@ -25,7 +25,6 @@ module.exports = class DragDrop extends Plugin {
     // Default options
     const defaultOpts = {
       target: null,
-      getMetaFromForm: true,
       width: '100%',
       height: '100%',
       note: '',

+ 0 - 2
src/plugins/FileInput.js

@@ -19,8 +19,6 @@ module.exports = class FileInput extends Plugin {
     // Default options
     const defaultOptions = {
       target: null,
-      getMetaFromForm: true,
-      replaceTargetContent: false,
       allowMultipleFiles: true,
       pretty: true,
       locale: defaultLocale,