Sha256: 323755d0514d4ff427c613ccac5dcca95f03d56c331a6a037cb4c70648ee25cb

Contents?: true

Size: 400 Bytes

Versions: 8

Compression:

Stored size: 400 Bytes

Contents

services.factory('Notification', function() {
  return {
    alert: function(message) {
      noty({text: message, type: 'alert'});
    },
    error: function(message) {
      noty({text: message, type: 'error'});
    },
    info: function(message) {
      noty({text: message, type: 'information'})
    },
    success: function(message) {
      noty({text: message, type: 'success'})
    }
  };
});

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
memcached-manager-0.4.0 lib/public/javascripts/angular/services/notification.js
memcached-manager-0.3.0 lib/public/javascripts/angular/services/notification.js
memcached-manager-0.2.2 lib/public/javascripts/angular/services/notification.js
memcached-manager-0.2.1 lib/public/javascripts/angular/services/notification.js
memcached-manager-0.2.0 lib/public/javascripts/angular/services/notification.js
memcached-manager-0.1.0 lib/public/javascripts/angular/services/notification.js
memcached-manager-0.0.1 lib/public/javascripts/angular/services/notification.js
memcached-manager-0.0.0 lib/public/javascripts/angular/services/notification.js