Bläddra i källkod

Remove dead code.

Maciej Gołaszewski 6 år sedan
förälder
incheckning
645d91590e
1 ändrade filer med 0 tillägg och 13 borttagningar
  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.
 	 *