(configuration)
| 58424 | return this.updateConfiguration(configuration); |
| 58425 | } |
| 58426 | updateConfiguration(configuration) { |
| 58427 | Object.assign(this.config, configuration); |
| 58428 | if (this.storage) { |
| 58429 | const serialized = JSON.stringify(this.config); |
| 58430 | this.storage.setItem(this.id, serialized); |
| 58431 | } |
| 58432 | return this; |
| 58433 | } |
| 58434 | _loadConfiguration() { |
| 58435 | let configuration = {}; |
| 58436 | if (this.storage) { |
no outgoing calls
no test coverage detected