dist/spyfu-vuex-helpers.js
function normalizeMappings(mappings) {
        if (Array.isArray(mappings)) {
            return mappings.reduce(function (normalizedMappings, key) {
                normalizedMappings[key] = key;

                return normalizedMappings;
            }, {});
        }

        return mappings;
    }
function normalizeMappings(mappings) {
        if (Array.isArray(mappings)) {
            return mappings.reduce(function (normalizedMappings, key) {
                normalizedMappings[key] = key;

                return normalizedMappings;
            }, {});
        }

        return mappings;
    }
function normalizeMappings ( mappings ) { if ( Array . isArray ( mappings ) ) { return mappings . reduce ( function ( normalizedMappings , key ) { normalizedMappings [ key ] = key ; return normalizedMappings ; } , { } ) ; } return mappings ; }
normalize the mappings into a consistent object format
normalize the mappings into a consistent object format