Sfoglia il codice sorgente

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

Aleksander Nowodzinski 7 anni fa
parent
commit
d454313316

+ 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: