imports/vx/both/code/util.js
/**
     * Remove unsightly plus signs and decode URI component.
     *
     * @param {string} Raw input from REST API.
     * @return {string} Decoded result with plus signs replaced.
     */
Remove unsightly plus signs and decode URI component.
@param {string} Raw input from REST API.
@return {string} Decoded result with plus signs replaced.
Remove unsightly plus signs and decode URI component . @param { string } Raw input from REST API . @return { string } Decoded result with plus signs replaced .
decode(input) {
        if (!input) {
            return input
        }
        return decodeURIComponent(input.replace(/\+/g, " "))
    }
decode ( input ) { if ( ! input ) { return input } return decodeURIComponent ( input . replace ( / \+ / g , " " ) ) }
Remove unsightly plus signs and decode URI component.
Remove unsightly plus signs and decode URI component .