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 '../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'), eject: document.getElementById('eject'), repeat: document.getElementById('repeat'), shuffle: document.getElementById('shuffle'), mono: document.getElementById('mono'), stereo: document.getElementById('stereo'), workIndicator: document.getElementById('work-indicator'), titleBar: document.getElementById('title-bar'), 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(