Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WordManager.prototype.processDomElement_ = function(domElement) {
- for (var i = 0; i < domElement.childNodes.length; i++) {
- if (domElement.childNodes[i].hasChildNodes() > 0) {
- this.processDomElement_(domElement.childNodes[i]);
- } else {
- this.processWords_(domElement.childNodes[i].nodeValue);
- console.log("AAA", domElement, domElement.childNodes[i].nodeValue);
- }
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement