lib/index.js
function processRetrievedContent(content, filePrismicMetadata, queryKey, ctx) {
            if (content.results != null && content.results.length > 0) {
                var queryMetadata = filePrismicMetadata[queryKey];
                for (var i = 0; i < content.results.length; i++) {
                    var result = processRetrievedDocument(content.results[i], filePrismicMetadata, queryKey, ctx);
                    filePrismicMetadata[queryKey].results.push(result);
                }
            }
        }
function processRetrievedContent(content, filePrismicMetadata, queryKey, ctx) {
            if (content.results != null && content.results.length > 0) {
                var queryMetadata = filePrismicMetadata[queryKey];
                for (var i = 0; i < content.results.length; i++) {
                    var result = processRetrievedDocument(content.results[i], filePrismicMetadata, queryKey, ctx);
                    filePrismicMetadata[queryKey].results.push(result);
                }
            }
        }
function processRetrievedContent ( content , filePrismicMetadata , queryKey , ctx ) { if ( content . results != null && content . results . length > 0 ) { var queryMetadata = filePrismicMetadata [ queryKey ] ; for ( var i = 0 ; i < content . results . length ; i ++ ) { var result = processRetrievedDocument ( content . results [ i ] , filePrismicMetadata , queryKey , ctx ) ; filePrismicMetadata [ queryKey ] . results . push ( result ) ; } } }
processes the retrieved content and adds it to the metadata
processes the retrieved content and adds it to the metadata