nus-mtp/sashimi-note

View on GitHub
sashimi-webapp/src/helpers/documentBuilder.js

Summary

Maintainability
A
1 hr
Test Coverage

Function addStyle has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  addStyle(frameElement, styleUrl) {
    return new Promise((resolve, reject) => {
      const frameDoc = this.getDocument(frameElement);
      const styleElement = constructStyleLink(frameDoc, styleUrl);

Severity: Minor
Found in sashimi-webapp/src/helpers/documentBuilder.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status