UNPKG

436 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.defaultConfig = {
4 uidName: 'uid',
5 maxHistoryStates: 1000,
6};
7function 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}
15exports.configure = configure;