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

Function titleEncode

docs/app/js/sanddance-app.js:148608–148615  ·  view source on GitHub ↗
(spec)

Source from the content-addressed store, hash-verified

148606} // provide backwards-compatibility for title custom encode;
148607// the top-level encode block has been *deprecated*.
148608function titleEncode(spec) {
148609 const encode = spec.encode;
148610 return encode && encode.title || (0, _vegaUtil.extend)({
148611 name: spec.name,
148612 interactive: spec.interactive,
148613 style: spec.style
148614 }, encode);
148615}
148616function groupEncode(_, userEncode) {
148617 const encode = {
148618 enter: {},

Callers 1

parseTitleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected