parametric-svg/js

View on GitHub
source/utils/get-parameters.js

Summary

Maintainability
A
1 hr
Test Coverage

Function namespaceParameters has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function namespaceParameters (svgRoot, namespace, prefix=null) {
  let textContent;
  // Get `<ref>` elements belonging to the `namespace`,
  let elements = Array.from(svgRoot.getElementsByTagNameNS
    ( namespace
Severity: Minor
Found in source/utils/get-parameters.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status