more debug
This commit is contained in:
parent
585fc7f1f4
commit
bbf2c91f8c
|
@ -200,15 +200,17 @@ EmoteModule.prototype.obsCallback = function(mutation) {
|
|||
};
|
||||
|
||||
EmoteModule.prototype.getNodes = function(node) {
|
||||
console.log("GETNODES=>");
|
||||
var next;
|
||||
var nodes = [];
|
||||
|
||||
var treeWalker = document.createTreeWalker(node, NodeFilter.SHOW_TEXT, null, false);
|
||||
|
||||
while(next = treeWalker.nextNode()) {
|
||||
consol.log("NEXT: " + next);
|
||||
nodes.push(next);
|
||||
}
|
||||
|
||||
console.log("<=GETNODES");
|
||||
return nodes;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue