Skip to content

Commit

Permalink
Move global file input out of NPM module
Browse files Browse the repository at this point in the history
  • Loading branch information
captbaritone committed Oct 1, 2018
1 parent 245dd16 commit 9f72689
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -27,6 +28,7 @@ import {
SET_EQ_AUTO,
SET_DUMMY_VIZ_DATA
} from "./actionTypes";

import { loadFilesFromReferences } from "./actionCreators";

import {
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 9f72689

Please sign in to comment.