MCPcopy Index your code
hub / github.com/microsoft/SandDance / tagNamespace

Function tagNamespace

docs/app/js/sanddance-app.js:6744–6747  ·  view source on GitHub ↗
(tag)

Source from the content-addressed store, hash-verified

6742 return childPosition;
6743}
6744function tagNamespace(tag) {
6745 //issue: this won't disambiguate certain tags which exist in both svg and html: <a>, <title> ...
6746 if (tag === "svg" || svgTagArray.indexOf(tag) >= 0 && !(htmlTagArray.indexOf(tag) >= 0)) return "http://www.w3.org/2000/svg";
6747}
6748
6749},{"html-tags":"7Ap5G","svg-tags":"ljWBP","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"7Ap5G":[function(require,module,exports) {
6750"use strict";

Callers 1

createElementFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected