Merge pull request #783 from feross/standard-v8

update to standard v8
This commit is contained in:
Feross Aboukhadijeh
2016-08-19 10:46:13 +02:00
committed by GitHub
5 changed files with 14 additions and 14 deletions

View File

@@ -60,7 +60,7 @@
"plist": "^1.2.0", "plist": "^1.2.0",
"rimraf": "^2.5.2", "rimraf": "^2.5.2",
"run-series": "^1.1.4", "run-series": "^1.1.4",
"standard": "^7.0.0" "standard": "^8.0.0-beta.5"
}, },
"engines": { "engines": {
"node": ">=4.0.0" "node": ">=4.0.0"

View File

@@ -81,7 +81,7 @@ module.exports = class App extends React.Component {
var ModalContents = Modals[state.modal.id] var ModalContents = Modals[state.modal.id]
return ( return (
<div key='modal' className='modal'> <div key='modal' className='modal'>
<div key='modal-background' className='modal-background'></div> <div key='modal-background' className='modal-background' />
<div key='modal-content' className='modal-content'> <div key='modal-content' className='modal-content'>
<ModalContents state={state} /> <ModalContents state={state} />
</div> </div>

View File

@@ -73,11 +73,11 @@ module.exports = class CreateTorrentPage extends React.Component {
<div key='advanced' className={'create-torrent-advanced ' + collapsedClass}> <div key='advanced' className={'create-torrent-advanced ' + collapsedClass}>
<div key='comment' className='torrent-attribute'> <div key='comment' className='torrent-attribute'>
<label>Comment:</label> <label>Comment:</label>
<textarea className='torrent-attribute torrent-comment'></textarea> <textarea className='torrent-attribute torrent-comment' />
</div> </div>
<div key='trackers' className='torrent-attribute'> <div key='trackers' className='torrent-attribute'>
<label>Trackers:</label> <label>Trackers:</label>
<textarea className='torrent-attribute torrent-trackers' defaultValue={trackers}></textarea> <textarea className='torrent-attribute torrent-trackers' defaultValue={trackers} />
</div> </div>
<div key='private' className='torrent-attribute'> <div key='private' className='torrent-attribute'>
<label>Private:</label> <label>Private:</label>

View File

@@ -232,7 +232,7 @@ function renderAudioMetadata (state) {
} }
// Align the title with the other info, if available. Otherwise, center title // Align the title with the other info, if available. Otherwise, center title
var emptyLabel = (<label></label>) var emptyLabel = (<label />)
elems.unshift(( elems.unshift((
<div key='title' className='audio-title'> <div key='title' className='audio-title'>
{elems.length ? emptyLabel : undefined}{title} {elems.length ? emptyLabel : undefined}{title}
@@ -380,16 +380,16 @@ function renderPlayerControls (state) {
<div <div
key='cursor' key='cursor'
className='playback-cursor' className='playback-cursor'
style={playbackCursorStyle}> style={playbackCursorStyle}
</div> />
<div <div
key='scrub-bar' key='scrub-bar'
className='scrub-bar' className='scrub-bar'
draggable='true' draggable='true'
onDragStart={handleDragStart} onDragStart={handleDragStart}
onClick={handleScrub} onClick={handleScrub}
onDrag={handleScrub}> onDrag={handleScrub}
</div> />
</div>, </div>,
<i <i
@@ -593,7 +593,7 @@ function renderLoadingBar (state) {
width: (100 * part.count / fileProg.numPieces) + '%' width: (100 * part.count / fileProg.numPieces) + '%'
} }
return (<div key={i} className='loading-bar-part' style={style}></div>) return (<div key={i} className='loading-bar-part' style={style} />)
}) })
return (<div key='loading-bar' className='loading-bar'>{loadingBarElems}</div>) return (<div key='loading-bar' className='loading-bar'>{loadingBarElems}</div>)
} }

View File

@@ -359,14 +359,14 @@ module.exports = class TorrentList extends React.Component {
<div key='radial-progress' className={'radial-progress ' + cssClass}> <div key='radial-progress' className={'radial-progress ' + cssClass}>
<div key='circle' className='circle'> <div key='circle' className='circle'>
<div key='mask-full' className='mask full' style={transformFill}> <div key='mask-full' className='mask full' style={transformFill}>
<div key='fill' className='fill' style={transformFill}></div> <div key='fill' className='fill' style={transformFill} />
</div> </div>
<div key='mask-half' className='mask half'> <div key='mask-half' className='mask half'>
<div key='fill' className='fill' style={transformFill}></div> <div key='fill' className='fill' style={transformFill} />
<div key='fill-fix' className='fill fix' style={transformFix}></div> <div key='fill-fix' className='fill fix' style={transformFix} />
</div> </div>
</div> </div>
<div key='inset' className='inset'></div> <div key='inset' className='inset' />
</div> </div>
) )
} }