MCPcopy Create free account
hub / github.com/NianBroken/Firework_Simulator / updateConfig

Function updateConfig

js/script.js:260–267  ·  view source on GitHub ↗
(nextConfig)

Source from the content-addressed store, hash-verified

258}
259
260function updateConfig(nextConfig) {
261 nextConfig = nextConfig || getConfigFromDOM();
262 store.setState({
263 config: Object.assign({}, store.state.config, nextConfig),
264 });
265
266 configDidUpdate();
267}
268
269// Map config to various properties & apply side effects
270function configDidUpdate() {

Callers 2

updateConfigNoEventFunction · 0.85
script.jsFile · 0.85

Calls 2

getConfigFromDOMFunction · 0.85
configDidUpdateFunction · 0.85

Tested by

no test coverage detected