MCPcopy Create free account
hub / github.com/WebReflection/neverland / svg

Function svg

test/neverland.js:1498–1507  ·  view source on GitHub ↗
(node, original)

Source from the content-addressed store, hash-verified

1496 }
1497
1498 function svg(node, original) {
1499 var style;
1500 if (original) style = original.cloneNode(true);else {
1501 node.setAttribute('style', '--hyper:style;');
1502 style = node.getAttributeNode('style');
1503 }
1504 style.value = '';
1505 node.setAttributeNode(style);
1506 return update(style, true);
1507 }
1508
1509 function toStyle(object) {
1510 var key,

Callers 1

neverland.jsFile · 0.70

Calls 1

updateFunction · 0.70

Tested by

no test coverage detected