# Code coverage report for lib/utils/singleNodeSection.js

## Statements: 20% (1 / 5) Branches: 100% (0 / 0) Functions: 0% (0 / 4) Lines: 20% (1 / 5) Ignored: none

All files » lib/utils/ » singleNodeSection.js

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    141

     module.exports = function (node) {
      return {
        node: node,
        render: function () {
          return node;
        },
        remove: function () {
          node.parentNode.removeChild(node);
        },
        appendChild: function (childNode) {
          node.appendChild(childNode);
        }
      }
    }