REFACTOR: value assigned to cp here is unused. (#9672)

This commit is contained in:
Joffrey JAFFEUX 2020-05-07 16:30:51 +02:00 committed by GitHub
parent 930989d462
commit a2109bd9b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -492,7 +492,6 @@ export default function(options) {
(!prev || allowedLettersRegex.test(prev))
) {
completeStart = c;
cp = completeEnd = initial;
term = me[0].value.substring(c + 1, initial);
updateAutoComplete(dataSource(term, options));
return true;