Sfoglia il codice sorgente

corrected indentation

Daniel 10 anni fa
parent
commit
a8af0407b9

+ 3 - 3
editor/docs/Implementing additional commands for undo-redo.md

@@ -88,11 +88,11 @@ have to implement a fifth function 'update' as part of the prototype. In it only
 
 Here as an example is the update-function of **CmdSetColor**:
 ```javascript
-	update: function ( cmd ) {
+update: function ( cmd ) {
 
-		this.newValue = cmd.newValue;
+	this.newValue = cmd.newValue;
 
-	},
+},
 
 ```