From dcb59ee605d42c85899ae77d4076f5bd44140fbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Sun, 21 Jan 2018 18:20:46 +0100 Subject: [PATCH 1/3] form: Fix `getFormData` import I missed this in #523 :confused: `get-form-data@2.x` exports an object with a default property, like other transpiled ES modules. --- src/plugins/Form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/Form.js b/src/plugins/Form.js index 40ed6eec9..38fc74f40 100644 --- a/src/plugins/Form.js +++ b/src/plugins/Form.js @@ -1,6 +1,6 @@ const Plugin = require('../core/Plugin') const { findDOMElement } = require('../core/Utils') -const getFormData = require('get-form-data') +const getFormData = require('get-form-data').default /** * Form From a5085fba9adc419a6cd268e385587ea36d262f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Mon, 22 Jan 2018 10:11:40 +0100 Subject: [PATCH 2/3] Explain Transloadit in the readme line --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 306dfe9e0..de2fcc266 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Uppy is a sleek, modular file uploader that integrates seamlessly with any appli **[Read the docs](https://uppy.io/docs)** | **[Try Uppy](https://uppy.io/examples/dashboard/)** -Uppy is being developed by the [Transloadit](https://transloadit.com) team. +Uppy is being developed by the folks at [Transloadit](https://transloadit.com), a versatile file encoding service. ## Example From d1a5b212b7e7ad7a38739e7403cec52cad2b0995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Mon, 22 Jan 2018 14:30:28 +0100 Subject: [PATCH 3/3] Consistent require paths in index.js --- src/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.js b/src/index.js index 7d428c6ce..365b5f686 100644 --- a/src/index.js +++ b/src/index.js @@ -9,7 +9,7 @@ const Dashboard = require('./plugins/Dashboard') // Acquirers const Dummy = require('./plugins/Dummy') const DragDrop = require('./plugins/DragDrop') -const FileInput = require('./plugins/FileInput.js') +const FileInput = require('./plugins/FileInput') const GoogleDrive = require('./plugins/GoogleDrive') const Dropbox = require('./plugins/Dropbox') const Instagram = require('./plugins/Instagram') @@ -17,8 +17,8 @@ const Webcam = require('./plugins/Webcam') // Progressindicators const StatusBar = require('./plugins/StatusBar') -const ProgressBar = require('./plugins/ProgressBar.js') -const Informer = require('./plugins/Informer.js') +const ProgressBar = require('./plugins/ProgressBar') +const Informer = require('./plugins/Informer') // Modifiers