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

Unified Diff: chrome/browser/resources/chromeos/chromevox/braille/nav_braille.js

Issue 2943193002: Run clang-format on .js files in c/b/r/chromeos/chromevox (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/chromevox/braille/nav_braille.js
diff --git a/chrome/browser/resources/chromeos/chromevox/braille/nav_braille.js b/chrome/browser/resources/chromeos/chromevox/braille/nav_braille.js
index 440abec9f6dbb09e937f8715df1598e149111dce..5ec2769bd7196480c63537475d5d6f0e9fbcce5d 100644
--- a/chrome/browser/resources/chromeos/chromevox/braille/nav_braille.js
+++ b/chrome/browser/resources/chromeos/chromevox/braille/nav_braille.js
@@ -30,8 +30,8 @@ cvox.NavBraille = function(kwargs) {
* Text, annotated with DOM nodes.
* @type {!Spannable}
*/
- this.text = (kwargs.text instanceof Spannable) ?
- kwargs.text : new Spannable(kwargs.text);
+ this.text = (kwargs.text instanceof Spannable) ? kwargs.text :
+ new Spannable(kwargs.text);
/**
* Selection start index.
@@ -43,8 +43,8 @@ cvox.NavBraille = function(kwargs) {
* Selection end index.
* @type {number}
*/
- this.endIndex = goog.isDef(kwargs.endIndex) ?
- kwargs.endIndex : this.startIndex;
+ this.endIndex =
+ goog.isDef(kwargs.endIndex) ? kwargs.endIndex : this.startIndex;
};
/**
@@ -89,8 +89,8 @@ cvox.NavBraille.prototype.isEmpty = function() {
*/
cvox.NavBraille.prototype.toString = function() {
return 'NavBraille(text="' + this.text.toString() + '" ' +
- ' startIndex="' + this.startIndex + '" ' +
- ' endIndex="' + this.endIndex + '")';
+ ' startIndex="' + this.startIndex + '" ' +
+ ' endIndex="' + this.endIndex + '")';
};

Powered by Google App Engine
This is Rietveld 408576698