How to use the pnotify.removeAll function in pnotify

To help you get started, we’ve selected a few pnotify examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github voxmedia / autotune / appjs / views / application.js View on Github external
clearNotification: function(message) {
    if ( message ) {
      return this.findNotification( message );
    } else {
      return PNotify.removeAll();
    }
  }
});