src/browser-storage/services/browser-storage.util.js
function initExisting(cbsConfigFromFile, cbsConfigFromLS) {
    // Restore items that have been manually removed by a user
    restoreManuallyRemovedItems(cbsConfigFromLS);
    var configFileDifferOptions = {
        fileInitialState: cbsConfigFromFile.initialState,
        memoryInitialState: cbsConfigFromLS[browser_storage_config_1.browserStorageConfig.DB_INITIAL_KEY]
    };
    handleRemovedConfigItems(configFileDifferOptions);
    handleAddedConfigItems(configFileDifferOptions);
    handleUpdatedConfigItems(configFileDifferOptions);
}
function initExisting(cbsConfigFromFile, cbsConfigFromLS) {
    // Restore items that have been manually removed by a user
    restoreManuallyRemovedItems(cbsConfigFromLS);
    var configFileDifferOptions = {
        fileInitialState: cbsConfigFromFile.initialState,
        memoryInitialState: cbsConfigFromLS[browser_storage_config_1.browserStorageConfig.DB_INITIAL_KEY]
    };
    handleRemovedConfigItems(configFileDifferOptions);
    handleAddedConfigItems(configFileDifferOptions);
    handleUpdatedConfigItems(configFileDifferOptions);
}
function initExisting ( cbsConfigFromFile , cbsConfigFromLS ) { // Restore items that have been manually removed by a user restoreManuallyRemovedItems ( cbsConfigFromLS ) ; var configFileDifferOptions = { fileInitialState : cbsConfigFromFile . initialState , memoryInitialState : cbsConfigFromLS [ browser_storage_config_1 . browserStorageConfig . DB_INITIAL_KEY ] } ; handleRemovedConfigItems ( configFileDifferOptions ) ; handleAddedConfigItems ( configFileDifferOptions ) ; handleUpdatedConfigItems ( configFileDifferOptions ) ; }
Initialize storage items for existing config, handle any config file updates
Initialize storage items for existing config handle any config file updates