expose prefs.defaults
This commit is contained in:
parent
2c47407afb
commit
50d3dbe394
|
@ -105,7 +105,10 @@ var prefs = new function Prefs() {
|
||||||
// coalesce multiple pref changes in broadcast
|
// coalesce multiple pref changes in broadcast
|
||||||
let broadcastPrefs = {};
|
let broadcastPrefs = {};
|
||||||
|
|
||||||
Object.defineProperty(this, 'readOnlyValues', {value: {}});
|
Object.defineProperties(this, {
|
||||||
|
defaults: {value: deepCopy(defaults)},
|
||||||
|
readOnlyValues: {value: {}},
|
||||||
|
});
|
||||||
|
|
||||||
Object.assign(Prefs.prototype, {
|
Object.assign(Prefs.prototype, {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user