Commit d39545657a70979cc59df1639b08729762a95b1d

Authored by 田强
1 parent c063289b

refactor: remove console

Showing 1 changed file with 0 additions and 1 deletions
@@ -36,7 +36,6 @@ function callback(mutationList, observer) { @@ -36,7 +36,6 @@ function callback(mutationList, observer) {
36 case "childList": 36 case "childList":
37 /* 从树上添加或移除一个或更多的子节点;参见 mutation.addedNodes 与 37 /* 从树上添加或移除一个或更多的子节点;参见 mutation.addedNodes 与
38 mutation.removedNodes */ 38 mutation.removedNodes */
39 - console.log("mutation", mutation);  
40 const nodes = mutation.addedNodes; 39 const nodes = mutation.addedNodes;
41 nodes.forEach((node) => { 40 nodes.forEach((node) => {
42 if ( 41 if (