esm/handlers.js
// In the attribute case, the attribute name is also carried along.
In the attribute case, the attribute name is also carried along.
In the attribute case the attribute name is also carried along .
function handlers(options) {
  const {type, path} = options;
  const node = path.reduceRight(reducePath, this);
  return type === 'node' ?
    handleAnything(node) :
    (type === 'attr' ?
      handleAttribute(node, options.name) :
      text(node));
}
function handlers ( options ) { const { type , path } = options ; const node = path . reduceRight ( reducePath , this ) ; return type === 'node' ? handleAnything ( node ) : ( type === 'attr' ? handleAttribute ( node , options . name ) : text ( node ) ) ; }
In the attribute case, the attribute name is also carried along.
In the attribute case the attribute name is also carried along .
/*, options.svg*/