瀏覽代碼

Removed unused method.

Kamil Piechaczek 9 年之前
父節點
當前提交
c707078511
共有 1 個文件被更改,包括 0 次插入10 次删除
  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;
-	}
 }