@@ -174,11 +174,11 @@ class App extends React.Component {
174174 { device . Name } - IsOpen: < span className = { device . IsOpen ? 'open' : 'closed' } >
175175 { device . IsOpen ? 'true' : 'false' }
176176 </ span > - < a href = "#" onClick = { ( e ) => this . handleOpen ( e , device . Name ) } >
177- open
177+ open
178178 </ a > - < a href = "#" onClick = { ( e ) => this . handleClose ( e , device . Name ) } >
179- close
179+ close
180180 </ a > - < a href = "#" onClick = { ( e ) => handleBootloaderMode ( e , device . Name ) } >
181- bootloader mode
181+ bootloader mode
182182 </ a >
183183 </ li > ) ;
184184
@@ -187,7 +187,7 @@ class App extends React.Component {
187187 </ li > ) ;
188188
189189 const supportedBoards = this . state . supportedBoards . map ( ( board , i ) => < li key = { i } >
190- { board }
190+ { board }
191191 </ li > ) ;
192192
193193 let uploadClass ;
@@ -222,18 +222,18 @@ class App extends React.Component {
222222 < h2 > Plugin info</ h2 >
223223
224224 < p >
225- Agent status: < span className = { this . state . agentStatus ? 'found' : 'not-found' } >
226- { this . state . agentStatus ? 'Found' : 'Not found' }
225+ Agent status: < span className = { this . state . agentStatus ? 'found' : 'not-found' } >
226+ { this . state . agentStatus ? 'Found' : 'Not found' }
227227 </ span >
228228 </ p >
229229 < p >
230- Channel status: < span className = { this . state . channelStatus ? 'found' : 'not-found' } >
231- { this . state . channelStatus ? 'Connected' : 'Not connected' }
230+ Channel status: < span className = { this . state . channelStatus ? 'found' : 'not-found' } >
231+ { this . state . channelStatus ? 'Connected' : 'Not connected' }
232232 </ span >
233233 </ p >
234234
235235 < pre >
236- { this . state . agentInfo }
236+ { this . state . agentInfo }
237237 </ pre >
238238 </ div >
239239
@@ -242,12 +242,12 @@ class App extends React.Component {
242242
243243 < strong > serial:</ strong >
244244 < ul >
245- { listSerialDevices }
245+ { listSerialDevices }
246246 </ ul >
247247
248248 < strong > network:</ strong >
249249 < ul >
250- { listNetworkDevices }
250+ { listNetworkDevices }
251251 </ ul >
252252
253253 < p id = "error" > </ p >
@@ -269,20 +269,20 @@ class App extends React.Component {
269269 < h2 > Serial Monitor</ h2 >
270270
271271 < form onSubmit = { this . handleSend } >
272- < input id = "serial-input" value = { this . state . serialInput } onChange = { this . handleChangeSerial } />
272+ < input id = "serial-input" value = { this . state . serialInput } onChange = { this . handleChangeSerial } />
273273 < input type = "submit" value = "Send" />
274274 </ form >
275275
276- < textarea id = "serial-textarea" value = { this . state . serialMonitorContent } readOnly />
276+ < textarea id = "serial-textarea" value = { this . state . serialMonitorContent } readOnly />
277277 </ div >
278278
279279 < div className = "section" >
280280 < h2 > Upload a sample sketch on a MKR1000 at /dev/ttyACM0</ h2 >
281- < button onClick = { handleUpload } disabled = { this . state . uploadStatus === daemon . UPLOAD_IN_PROGRESS } > Upload Sketch</ button > < br />
282- < div > Upload status: < span className = { uploadClass } > { this . state . uploadStatus } </ span > < span > { this . state . uploadError } </ span > </ div >
281+ < button onClick = { handleUpload } disabled = { this . state . uploadStatus === daemon . UPLOAD_IN_PROGRESS } > Upload Sketch</ button > < br />
282+ < div > Upload status: < span className = { uploadClass } > { this . state . uploadStatus } </ span > < span > { this . state . uploadError } </ span > </ div >
283283 </ div >
284284
285- { daemon . downloading ? < div className = "section" >
285+ { daemon . downloading ? < div className = "section" >
286286 < h2 > Download tool (not supported on Chrome OS)</ h2 >
287287
288288 < div >
@@ -303,19 +303,19 @@ class App extends React.Component {
303303 </ div >
304304
305305 < form onSubmit = { handleDownloadTool } >
306- < div > < input id = "toolname" placeholder = "Tool Name" /> </ div >
306+ < div > < input id = "toolname" placeholder = "Tool Name" /> </ div >
307307 < div > < input id = "toolversion" placeholder = "Tool Version" /> </ div >
308308 < div > < input id = "package" placeholder = "Package" /> </ div >
309- < div > < input id = "replacement" placeholder = "Replacement strategy" /> </ div >
309+ < div > < input id = "replacement" placeholder = "Replacement strategy" /> </ div >
310310
311311 < input type = "submit" value = "Download" />
312- < div > Download status: < span className = { downloadClass } > { this . state . downloadStatus } </ span > </ div >
312+ < div > Download status: < span className = { downloadClass } > { this . state . downloadStatus } </ span > </ div >
313313 </ form >
314314 </ div > : null }
315315
316316 < div className = "section" >
317317 < h2 > Errors</ h2 >
318- < div className = "error" > { this . state . error } </ div >
318+ < div className = "error" > { this . state . error } </ div >
319319 </ div >
320320 </ div >
321321 ) ;
0 commit comments