Fix a couple of lint errors
Change-Id: Id532e4dc808167cf60c7e4f16ff26af87b425150
This commit is contained in:
committed by
Andrew Bonventre
parent
e58c026c91
commit
70509965e0
@@ -370,8 +370,8 @@
|
||||
|
||||
// Split Text node.
|
||||
if (startNode instanceof Text) {
|
||||
startNode =
|
||||
GrAnnotation.splitAndWrapInHighlight(startNode, startOffset, cssClass);
|
||||
startNode = GrAnnotation.splitAndWrapInHighlight(
|
||||
startNode, startOffset, cssClass);
|
||||
// Edge case: single line, text node wraps the highlight.
|
||||
if (isOneLine && this._getLength(startNode) > length) {
|
||||
var extra = GrAnnotation.splitTextNode(startNode.firstChild, length);
|
||||
@@ -527,7 +527,7 @@
|
||||
if (threadEl) {
|
||||
content.appendChild(threadEl);
|
||||
}
|
||||
GrAnnotation.wrapInHighlight(text, cssClass)
|
||||
GrAnnotation.wrapInHighlight(text, cssClass);
|
||||
}, this);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user