dashboard/js/lib/ui.js
function type(type) {
  return function(title, msg){
    return exports.notify.apply(this, arguments)
      .type(type);
  }
}
function type(type) {
  return function(title, msg){
    return exports.notify.apply(this, arguments)
      .type(type);
  }
}
function type ( type ) { return function ( title , msg ) { return exports . notify . apply ( this , arguments ) . type ( type ) ; } }
Construct a notification function for `type`.

@param {String} type
@return {Function}
@api private
Construct a notification function for type .