diff --git a/src/autocomplete/AutocompleteProvider.js b/src/autocomplete/AutocompleteProvider.js index 3a561ffd0a..98ae83c526 100644 --- a/src/autocomplete/AutocompleteProvider.js +++ b/src/autocomplete/AutocompleteProvider.js @@ -61,7 +61,6 @@ export default class AutocompleteProvider { let match; while ((match = commandRegex.exec(query)) != null) { - console.log('Matched ' + JSON.stringify(match)); const start = match.index; const end = start + match[0].length; if (selection.start <= end && selection.end >= start) { diff --git a/src/autocomplete/EmojiProvider.js b/src/autocomplete/EmojiProvider.js index 9f0800c6ff..8afcba6ab0 100644 --- a/src/autocomplete/EmojiProvider.js +++ b/src/autocomplete/EmojiProvider.js @@ -94,8 +94,6 @@ export default class EmojiProvider extends AutocompleteProvider { // Do second match with shouldMatchWordsOnly in order to match against 'name' completions = completions.concat(this.nameMatcher.match(matchedString)); - console.log("pre-sorted completions", completions); - const sorters = []; // make sure that emoticons come first sorters.push((c) => score(matchedString, c.aliases_ascii)); @@ -123,8 +121,6 @@ export default class EmojiProvider extends AutocompleteProvider { range, }; }).slice(0, LIMIT); - - console.log("mapped completions", completions); } return completions; }