sashimi-webapp/src/logic/renderer/index.js
Function getReferenceFrame
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
PageRenderer.prototype.getReferenceFrame = function getReferenceFrame() {
const idOfReferenceFrame = defaultConfig.prefix.reference + this.renderDomId;
let referenceFrame = this.ownerDocument.getElementById(idOfReferenceFrame);
// Create a new reference frame if doesn't exist