removed commented out code in send-email-notifications
This commit is contained in:
parent
eb658af30d
commit
c7d28d641c
|
@ -30,15 +30,6 @@ module.exports = {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
//Removed unused variables
|
|
||||||
//TODO: Currently querySelectorAll not working in JSDOM
|
|
||||||
/*
|
|
||||||
dom.window.document.querySelectorAll("span[data-id]").forEach(function(elem){
|
|
||||||
if(elem !== null){
|
|
||||||
elem.outerHTML = '';
|
|
||||||
}
|
|
||||||
})
|
|
||||||
*/
|
|
||||||
if(onlyText){
|
if(onlyText){
|
||||||
return dom.window.document.documentElement.textContent;
|
return dom.window.document.documentElement.textContent;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue