lib/Storeit.js
function initializeItemSerializer(hasItems) {
        // Is there is a itemSerializer specified, we MUST use it.
        // If existing data and no itemSerializer specified, this is an old JSON database,
        // so "fake" the compatible JSON serializer
        var providerInfo = storageProvider.getMetadata(namespace); // TODO I hate this!
        var itemSerializerName = providerInfo ? providerInfo.itemSerializer :
            hasItems ? "JSONSerializer" : null;
        storageProvider.itemSerializer = itemSerializerName;
    }
function initializeItemSerializer(hasItems) {
        // Is there is a itemSerializer specified, we MUST use it.
        // If existing data and no itemSerializer specified, this is an old JSON database,
        // so "fake" the compatible JSON serializer
        var providerInfo = storageProvider.getMetadata(namespace); // TODO I hate this!
        var itemSerializerName = providerInfo ? providerInfo.itemSerializer :
            hasItems ? "JSONSerializer" : null;
        storageProvider.itemSerializer = itemSerializerName;
    }
function initializeItemSerializer ( hasItems ) { // Is there is a itemSerializer specified, we MUST use it. // If existing data and no itemSerializer specified, this is an old JSON database, // so "fake" the compatible JSON serializer var providerInfo = storageProvider . getMetadata ( namespace ) ; // TODO I hate this! var itemSerializerName = providerInfo ? providerInfo . itemSerializer : hasItems ? "JSONSerializer" : null ; storageProvider . itemSerializer = itemSerializerName ; }
Read in the base namespace key.
Read in the base namespace key .