import React from 'react'; import {render} from 'react-dom'; import {Provider} from 'react-redux'; import getStore from './store'; import WindowManager from './components/WindowManager'; import Browser from './browser'; import MainWindow from './components/MainWindow'; import PlaylistWindow from './components/PlaylistWindow'; import EqualizerWindow from './components/EqualizerWindow'; import Winamp from './winamp'; import Hotkeys from './hotkeys'; import Skin from './components/Skin'; if (new Browser(window).isCompatible) { const hash = window.location.hash; // Turn on the incomplete playlist window const playlist = hash.includes('playlist'); // Turn on the incomplete equalizer window const equalizer = hash.includes('equalizer'); const winamp = Winamp; const store = getStore(winamp); render(
{/* This is not technically kosher, since