浏览代码

corrected indentation

Daniel 10 年之前
父节点
当前提交
a8af0407b9
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      editor/docs/Implementing additional commands for undo-redo.md

+ 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**:
 Here as an example is the update-function of **CmdSetColor**:
 ```javascript
 ```javascript
-	update: function ( cmd ) {
+update: function ( cmd ) {
 
 
-		this.newValue = cmd.newValue;
+	this.newValue = cmd.newValue;
 
 
-	},
+},
 
 
 ```
 ```