src/helpers/svgoBrowser.js
function setupCustomPlugin(name, plugin) {
        plugin.active = true;
        plugin.params = EXTEND({}, plugin.params || {});
        plugin.name = name;

        return plugin;
    }
function setupCustomPlugin(name, plugin) {
        plugin.active = true;
        plugin.params = EXTEND({}, plugin.params || {});
        plugin.name = name;

        return plugin;
    }
function setupCustomPlugin ( name , plugin ) { plugin . active = true ; plugin . params = EXTEND ( { } , plugin . params || { } ) ; plugin . name = name ; return plugin ; }
Setup and enable a custom plugin

@param {String} plugin name
@param {Object} custom plugin
@return {Array} enabled plugin
Setup and enable a custom plugin