1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.defaultConfig = {
|
4 | uidName: 'uid',
|
5 | maxHistoryStates: 1000,
|
6 | };
|
7 | function configure(conf) {
|
8 | for (var p in exports.defaultConfig) {
|
9 | if (exports.defaultConfig.hasOwnProperty(p) && conf.hasOwnProperty(p)) {
|
10 | exports.defaultConfig[p] = conf[p];
|
11 | }
|
12 | }
|
13 | return exports.defaultConfig;
|
14 | }
|
15 | exports.configure = configure;
|