瀏覽代碼

Docs: Fixed an invalid code snippet in the Observables Deep Dive guide.

Aleksander Nowodzinski 7 年之前
父節點
當前提交
d454313316
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-utils/docs/framework/guides/deep-dive/observables.md

+ 1 - 1
packages/ckeditor5-utils/docs/framework/guides/deep-dive/observables.md

@@ -93,7 +93,7 @@ Let's consider two objects: a `command` and a corresponding `button` (both {@lin
 
 ```js
 const command = new Command( 'bold' );
-const command = new Button();
+const button = new Button();
 ```
 
 Any "decent" button must update its look when the command becomes disabled. A simple property binding doing that could look as follows: