import React from 'react'; import Marquee from './Marquee.jsx'; import Actions from './Actions.jsx'; import Time from './Time.jsx'; import ShadeTime from './ShadeTime.jsx'; import Kbps from './Kbps.jsx'; import Khz from './Khz.jsx'; import Volume from './Volume.jsx'; import Balance from './Balance.jsx'; import Position from './Position.jsx'; import MonoStereo from './MonoStereo.jsx'; import Repeat from './Repeat.jsx'; import Shuffle from './Shuffle.jsx'; import Eject from './Eject.jsx'; import '../css/main-window.css'; module.exports = { init: function(winamp) { this.winamp = winamp; this.nodes = { close: document.getElementById('close'), shade: document.getElementById('shade'), buttonD: document.getElementById('button-d'), visualizer: document.getElementById('visualizer'), workIndicator: document.getElementById('work-indicator'), window: document.getElementById('main-window') }; this.handle = document.getElementById('title-bar'); this.body = this.nodes.window; this.winamp.renderTo(, document.getElementById('song-title')); this.winamp.renderTo(, document.getElementById('actions-holder')); this.winamp.renderTo(