Browse Source

Removed unused method.

Kamil Piechaczek 9 years ago
parent
commit
c707078511
1 changed files with 0 additions and 10 deletions
  1. 0 10
      packages/ckeditor5-utils/tests/_utils/locale-mock.js

+ 0 - 10
packages/ckeditor5-utils/tests/_utils/locale-mock.js

@@ -12,14 +12,4 @@ export default class Locale {
 	constructor() {
 		this.t = ( str ) => `t( ${ str } )`;
 	}
-
-	/**
-	 * Injects instance of this class to the editor.
-	 *
-	 * @param {Editor} editor
-	 */
-	static inject( editor ) {
-		editor.locale = new Locale();
-		editor.t = editor.locale.t;
-	}
 }