MCPcopy Index your code
hub / github.com/SpringRoll/SpringRoll / setStateDefaults

Method setStateDefaults

src/Application.js:431–433  ·  view source on GitHub ↗

* Sets default values of application state properties.

()

Source from the content-addressed store, hash-verified

429 * Sets default values of application state properties.
430 */
431 setStateDefaults() {
432 Object.keys(this.stateDefaults).forEach(key => this.state[key].value = this.stateDefaults[key]);
433 }
434}
435
436/**

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected