Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Side by Side Diff: chrome/browser/resources/bluetooth_internals/value_control.js

Issue 2909503003: WebUI: Enable ESLint rule for missing semicolons. (Closed)
Patch Set: Undo local_ntp changes from this CL. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * Javascript for ValueControl, served from chrome://bluetooth-internals/. 6 * Javascript for ValueControl, served from chrome://bluetooth-internals/.
7 */ 7 */
8 8
9 cr.define('value_control', function() { 9 cr.define('value_control', function() {
10 /** @const */ var Snackbar = snackbar.Snackbar; 10 /** @const */ var Snackbar = snackbar.Snackbar;
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 this.deviceAddress_ + ': Write succeeded', SnackbarType.SUCCESS); 393 this.deviceAddress_ + ': Write succeeded', SnackbarType.SUCCESS);
394 return; 394 return;
395 } 395 }
396 396
397 var errorString = this.getErrorString_(response.result); 397 var errorString = this.getErrorString_(response.result);
398 Snackbar.show( 398 Snackbar.show(
399 this.deviceAddress_ + ': ' + errorString, SnackbarType.ERROR, 399 this.deviceAddress_ + ': ' + errorString, SnackbarType.ERROR,
400 'Retry', this.writeValue_.bind(this)); 400 'Retry', this.writeValue_.bind(this));
401 }.bind(this)); 401 }.bind(this));
402 }, 402 },
403 } 403 };
404 404
405 return { 405 return {
406 ValueControl: ValueControl, 406 ValueControl: ValueControl,
407 ValueDataType: ValueDataType, 407 ValueDataType: ValueDataType,
408 }; 408 };
409 }); 409 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698