From ecff0cea0ac65637bfc3f914b975d2a57dbeba45 Mon Sep 17 00:00:00 2001 From: Harry Hedger Date: Sun, 21 Feb 2016 16:33:20 +0100 Subject: [PATCH] Added FakeModal changes --- src/plugins/Modal.js | 3 +++ website/src/examples/fakemodal/app.es6 | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/plugins/Modal.js b/src/plugins/Modal.js index 40044503a..af7f6a7eb 100644 --- a/src/plugins/Modal.js +++ b/src/plugins/Modal.js @@ -119,6 +119,9 @@ export default class Modal extends Plugin { tab.addEventListener('click', event => { event.preventDefault() console.log(tabId) + this.core.iteratePlugins(plugin => { + console.log('name: ', plugin.name) + }) this.hideAllTabPanels() this.showTabPanel(tabId) }) diff --git a/website/src/examples/fakemodal/app.es6 b/website/src/examples/fakemodal/app.es6 index 9d656d1e7..6629ec47e 100644 --- a/website/src/examples/fakemodal/app.es6 +++ b/website/src/examples/fakemodal/app.es6 @@ -1,9 +1,11 @@ import Uppy from '../../../../src/core/Core.js' import Dummy from '../../../../src/plugins/Dummy.js' +import GoogleDrive from '../../../../src/plugins/GoogleDrive.js' import Modal from '../../../../src/plugins/Modal.js' const uppy = new Uppy({debug: true}) uppy .use(Modal) .use(Dummy, {target: Modal}) + .use(GoogleDrive, {target: Modal}) .run()