Fix eslint nits.
This commit is contained in:
parent
43c1dd82f6
commit
37386faff2
|
@ -760,7 +760,7 @@ componentTest('emoji', {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
testCase("replace-text event", function(assert, textarea) {
|
testCase("replace-text event", function(assert) {
|
||||||
|
|
||||||
this.set('value', "red green blue");
|
this.set('value', "red green blue");
|
||||||
|
|
||||||
|
@ -831,7 +831,7 @@ testCase("replace-text event", function(assert, textarea) {
|
||||||
|
|
||||||
function getSelection(textarea) {
|
function getSelection(textarea) {
|
||||||
const start = textarea.selectionStart;
|
const start = textarea.selectionStart;
|
||||||
const end = textarea.selectionEnd
|
const end = textarea.selectionEnd;
|
||||||
return [start, end - start];
|
return [start, end - start];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue