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

Function initState

docs/app/js/sanddance-app.js:13170–13177  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

13168 return DataRefType.none;
13169}
13170function initState(props) {
13171 return {
13172 showSystemDialog: false,
13173 showVegaDialog: false,
13174 dataRefType: defaultDataRefType(props.dataFile),
13175 spec: null
13176 };
13177}
13178function signalGroupKey(key) {
13179 for(let i = 0; i < (0, _language.strings).signalGroups.length; i++){
13180 if ((0, _language.strings).signalGroups[i].prefix === key) return key;

Callers 2

constructorMethod · 0.70
renderMethod · 0.70

Calls 1

defaultDataRefTypeFunction · 0.70

Tested by

no test coverage detected