Jelajahi Sumber

API: minor improvements.

Piotrek Koszuliński 9 tahun lalu
induk
melakukan
100a0a6e2a
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      packages/ckeditor5-utils/src/dom/global.js

+ 2 - 2
packages/ckeditor5-utils/src/dom/global.js

@@ -16,11 +16,11 @@
  *
  *		import global from 'ckeditor5/utils/dom/global.js';
  *
- *		const window = global.window;
- *
  *		// This stub will work for any code using global module.
  *		testUtils.sinon.stub( global, 'window', {
  *			innerWidth: 10000
  *		} );
+ *
+ *		console.log( global.window.innerWidth );
  */
 export default { window, document };