소스 검색

Docs: Fixed docs errors in the Rect class.

Aleksander Nowodzinski 8 년 전
부모
커밋
ebd738f38d
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      packages/ckeditor5-utils/src/dom/rect.js

+ 3 - 2
packages/ckeditor5-utils/src/dom/rect.js

@@ -250,7 +250,7 @@ export default class Rect {
 	 * Checks if all properties ({@link #top}, {@link #left}, {@link #right},
 	 * {@link #bottom}, {@link #width} and {@link #height}) are the same as in the other `Rect`.
 	 *
-	 * @param {Rect} rect A `Rect` instance to compare with.
+	 * @param {module:utils/dom/rect~Rect} rect A `Rect` instance to compare with.
 	 * @returns {Boolean} `true` when Rects are equal. `false` otherwise.
 	 */
 	isEqual( anotherRect ) {
@@ -340,7 +340,8 @@ export default class Rect {
 	 * Excludes scrollbars and CSS borders from the `Rect`.
 	 *
 	 * * Borders are removed when {@link #_source} is `HTMLElement`.
-	 * * Scrollbars are excluded from `HTMLElements` and {@link #getViewportRect viewport rects}.
+	 * * Scrollbars are excluded from `HTMLElements` and
+	 * {@link module:utils/dom/rect~Rect.getViewportRect viewport rects}.
 	 *
 	 * @private
 	 */