From 9f726899c7cf9000a7f53ebf9432f36165732770 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Wed, 19 Sep 2018 21:43:55 -0700 Subject: [PATCH] Move global file input out of NPM module --- js/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/index.js b/js/index.js index a554cb81..d6536032 100644 --- a/js/index.js +++ b/js/index.js @@ -12,6 +12,7 @@ import zaxon from "../skins/ZaxonRemake1-0.wsz"; import green from "../skins/Green-Dimension-V2.wsz"; import MilkdropWindow from "./components/MilkdropWindow"; import screenshotInitialState from "./screenshotInitialState"; + import WebampLazy from "./webampLazy"; import enableMediaSession from "./mediaSession"; import { @@ -27,6 +28,7 @@ import { SET_EQ_AUTO, SET_DUMMY_VIZ_DATA } from "./actionTypes"; + import { loadFilesFromReferences } from "./actionCreators"; import { @@ -285,6 +287,7 @@ Raven.context(async () => { enableMediaSession(webamp); + // Expose a file input in the DOM for testing. const fileInput = document.createElement("input"); fileInput.id = "webamp-file-input"; fileInput.style.display = "none";