UNPKG

ng2-webstorage

Version:
20 lines 758 B
import { LIB_KEY, LIB_KEY_CASE_SENSITIVE, LIB_KEY_SEPARATOR } from '../constants/lib'; var WebstorageConfig = (function () { function WebstorageConfig(config) { this.prefix = LIB_KEY; this.separator = LIB_KEY_SEPARATOR; this.caseSensitive = LIB_KEY_CASE_SENSITIVE; if (config && config.prefix !== undefined) { this.prefix = config.prefix; } if (config && config.separator !== undefined) { this.separator = config.separator; } if (config && config.caseSensitive !== undefined) { this.caseSensitive = config.caseSensitive; } } return WebstorageConfig; }()); export { WebstorageConfig }; //# sourceMappingURL=config.js.map