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 + '")'; |
}; |