Ver Fonte

Remove dead code.

Maciej Gołaszewski há 6 anos atrás
pai
commit
645d91590e
1 ficheiros alterados com 0 adições e 13 exclusões
  1. 0 13
      packages/ckeditor5-mention/src/mentionui.js

+ 0 - 13
packages/ckeditor5-mention/src/mentionui.js

@@ -340,19 +340,6 @@ export default class MentionUI extends Plugin {
 		return watcher;
 	}
 
-	/**
-	 * Returns the registered text watcher for the marker.
-	 *
-	 * @private
-	 * @param {String} marker
-	 * @returns {module:mention/textwatcher~TextWatcher}
-	 */
-	_getWatcher( marker ) {
-		const { watcher } = this._mentionsConfigurations.get( marker );
-
-		return watcher;
-	}
-
 	/**
 	 * Shows the mentions balloon. If the panel is already visible, it will reposition it.
 	 *