Ver código fonte

reformat board data

dev_h
Ophir LOJKINE 3 anos atrás
pai
commit
b4b4072486
1 arquivos alterados com 5 adições e 5 exclusões
  1. 5
    5
      server/boardData.js

+ 5
- 5
server/boardData.js Ver arquivo

@@ -111,13 +111,13 @@ class BoardData {
111 111
       var newobj = JSON.parse(JSON.stringify(obj));
112 112
       newobj.id = newid;
113 113
       if (newobj._children) {
114
-	for (var child of newobj._children) {
115
-	    child.parent = newid;
116
-	}
114
+        for (var child of newobj._children) {
115
+          child.parent = newid;
116
+        }
117 117
       }
118 118
       this.board[newid] = newobj;
119
-    } else  {
120
-      log("Copied object does not exist in board.", {object: id});
119
+    } else {
120
+      log("Copied object does not exist in board.", { object: id });
121 121
     }
122 122
     this.delaySave();
123 123
   }

Carregando…
Cancelar
Salvar