dashboard/js/lib/ui.js
function Notification(options) {
  ui.Emitter.call(this);
  options = options || {};
  this.template = html;
  this.el = $(this.template);
  this.render(options);
  if (Notification.effect) this.effect(Notification.effect);
}
function Notification(options) {
  ui.Emitter.call(this);
  options = options || {};
  this.template = html;
  this.el = $(this.template);
  this.render(options);
  if (Notification.effect) this.effect(Notification.effect);
}
function Notification ( options ) { ui . Emitter . call ( this ) ; options = options || { } ; this . template = html ; this . el = $ ( this . template ) ; this . render ( options ) ; if ( Notification . effect ) this . effect ( Notification . effect ) ; }
Initialize a new `Notification`.

Options:

- `title` dialog title
- `message` a message to display

@param {Object} options
@api public
Initialize a new Notification .