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

Function eventSelector

docs/app/js/sanddance-app.js:150015–150019  ·  view source on GitHub ↗

* Parse an event selector string. * Returns an array of event stream definitions.

(selector, source, marks)

Source from the content-addressed store, hash-verified

150013 * Parse an event selector string.
150014 * Returns an array of event stream definitions.
150015 */ function eventSelector(selector, source, marks) {
150016 DEFAULT_SOURCE = source || VIEW;
150017 MARKS = marks || DEFAULT_MARKS;
150018 return parseMerge(selector.trim()).map(parseSelector);
150019}
150020function isMarkType(type) {
150021 return MARKS[type];
150022}

Callers

nothing calls this directly

Calls 1

parseMergeFunction · 0.70

Tested by

no test coverage detected