sashimi-webapp/src/helpers/documentBuilder.js
Function addStyle
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addStyle(frameElement, styleUrl) {
return new Promise((resolve, reject) => {
const frameDoc = this.getDocument(frameElement);
const styleElement = constructStyleLink(frameDoc, styleUrl);