dist/spyfu-vuex-helpers.js
function map_two_way_state () {
        // this function supports two argument signatures. if the
        // first argument is a string, we will use that as the
        // namespace, and the next arg as the state mapping
        var _parseArguments = parseArguments$3(arguments),
            namespace = _parseArguments.namespace,
            mappings = _parseArguments.mappings;

        // then get the key and mutation names from our mappings


        var parsedMappings = parseMappings(mappings);

        // and last, turn them into getters and setters
        var computedProperties = {};

        Object.keys(parsedMappings).forEach(function (key) {
            computedProperties[key] = {
                get: createGetter$1(namespace, parsedMappings[key]),
                set: createSetter(namespace, parsedMappings[key])
            };
        });

        return computedProperties;
    }
function map_two_way_state () {
        // this function supports two argument signatures. if the
        // first argument is a string, we will use that as the
        // namespace, and the next arg as the state mapping
        var _parseArguments = parseArguments$3(arguments),
            namespace = _parseArguments.namespace,
            mappings = _parseArguments.mappings;

        // then get the key and mutation names from our mappings


        var parsedMappings = parseMappings(mappings);

        // and last, turn them into getters and setters
        var computedProperties = {};

        Object.keys(parsedMappings).forEach(function (key) {
            computedProperties[key] = {
                get: createGetter$1(namespace, parsedMappings[key]),
                set: createSetter(namespace, parsedMappings[key])
            };
        });

        return computedProperties;
    }
function map_two_way_state ( ) { // this function supports two argument signatures. if the // first argument is a string, we will use that as the // namespace, and the next arg as the state mapping var _parseArguments = parseArguments$3 ( arguments ) , namespace = _parseArguments . namespace , mappings = _parseArguments . mappings ; // then get the key and mutation names from our mappings var parsedMappings = parseMappings ( mappings ) ; // and last, turn them into getters and setters var computedProperties = { } ; Object . keys ( parsedMappings ) . forEach ( function ( key ) { computedProperties [ key ] = { get : createGetter$1 ( namespace , parsedMappings [ key ] ) , set : createSetter ( namespace , parsedMappings [ key ] ) } ; } ) ; return computedProperties ; }
Map vuex state with two way computed properties

@param  {string|Object}  required the module namespace, or state mappings
@param  {Object}         optional state mappings
@return {Object}
Map vuex state with two way computed properties