lib/renderer.js
function(type, messages) {
  if (type !== CONSTS.LOG) {
    messages.unshift(tag(type));
  }
  
  return messages.map(styles.bind(null, type));
}
function(type, messages) {
  if (type !== CONSTS.LOG) {
    messages.unshift(tag(type));
  }
  
  return messages.map(styles.bind(null, type));
}
function ( type , messages ) { if ( type !== CONSTS . LOG ) { messages . unshift ( tag ( type ) ) ; } return messages . map ( styles . bind ( null , type ) ) ; }
Remaps messages applying styles.
@param  {string} type
@param  {array} messages
@return {array}
Remaps messages applying styles .