| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 73x 10x 63x 19x |
export default {
config: {},
init(initObject) {
if (initObject) {
Object.assign(this.config, initObject);
}
},
get(key) {
if (this.config[key]) {
return this.config[key];
}
return '';
},
set(objectToSet) {
Object.assign(this.config, objectToSet);
}
}; |