code: function browserConfig(plugin, data, req) {  // {{{2
    switch (typeof (plugin.browserConfig || undefined)) {
    case 'undefined':
      return;
    case 'boolean':
      return data;
    case 'function':
      var result = {};
      if (data.id) {
        result.id = data.id;
      }
  
      plugin.browserConfig(result, data, req);
      return result;
    case 'object':
      return plugin.browserConfig;
    }
  
    throw O.log.error(plugin, 'UNEXPECTED', 'Invalid `browserConfig` plugin property', plugin.browserConfig);
  }
docs: Private {{{1