MCPcopy Create free account
hub / github.com/microsoft/SandDance / _loadConfiguration

Method _loadConfiguration

docs/app/js/sanddance-app.js:58434–58442  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58432 return this;
58433 }
58434 _loadConfiguration() {
58435 let configuration = {};
58436 if (this.storage) {
58437 const serializedConfiguration = this.storage.getItem(this.id);
58438 configuration = serializedConfiguration ? JSON.parse(serializedConfiguration) : {};
58439 }
58440 Object.assign(this.config, configuration);
58441 return this;
58442 }
58443}
58444exports.default = LocalStorage;
58445

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected