@returns {Framework}
({
includedFilter = this.includedFilter,
useOutputData = this.useOutputData,
schemas = this.getSchemas({
includedFilter
}),
data = this.getData(useOutputData)
} = {})
| 188 | |
| 189 | /** @returns {Framework} */ |
| 190 | applyScreenSizeDefaults({ |
| 191 | includedFilter = this.includedFilter, |
| 192 | useOutputData = this.useOutputData, |
| 193 | schemas = this.getSchemas({ |
| 194 | includedFilter |
| 195 | }), |
| 196 | data = this.getData(useOutputData) |
| 197 | } = {}) { |
| 198 | const configSchema = schemas.getConfigSchema(); |
| 199 | const { file, item: config } = data.getConfigFileItem(); |
| 200 | config.screenSize = configSchema.applyDefaults(config.screenSize, 'screenSize'); |
| 201 | file.changed(); |
| 202 | data.save(); |
| 203 | return this; |
| 204 | } |
| 205 | |
| 206 | } |
| 207 |
no test coverage detected