Sha256: f607ac4468ad251e272e0a57e77aeb99d57e996464a16be0ed543713ed18cb5d

Contents?: true

Size: 1.46 KB

Versions: 16

Compression:

Stored size: 1.46 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"(social_networking/services/Alert.js;FI"
pathname;TI"x/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/services/Alert.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+ĶUI"length;TiaI"digest;TI"%e9964f24d5cc9d83d709f3c52fc9c494;FI"source;TI"a;(function() {
  'use strict';

  var ErrorClass = "alert-danger";

  function alertService() {
    return {
      alerts: [],
      addError: function(message) {
        this.getAlerts().push({
          cssClass: ErrorClass,
          message: message
        });
      },
      getAlerts: function() {
        return this.alerts;
      },
      removeAlert: function(alert) {
        var index;

        index = this.getAlerts().indexOf(alert);
        this.getAlerts().splice(index, 1);
      }
    };
  }

  angular.module('socialNetworking.services')
    .factory('alertService', [alertService]);
})();
;TI"dependency_digest;TI"%dafd00b1ea2c2453b7d0cbb1adaddd63;FI"required_paths;T[I"x/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/services/Alert.js;FI"dependency_paths;T[{I"	path;TI"x/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/services/Alert.js;F@I"2015-08-13T16:37:05-05:00;T@I"%e9964f24d5cc9d83d709f3c52fc9c494;FI"
_version;TI"%883b724e06f474a3db2deee10c127ab9;F

Version data entries

16 entries across 8 versions & 1 rubygems

Version Path
social_networking-0.13.1 spec/dummy/tmp/cache/assets/test/sprockets/fc4792bbfa293a8630d7b3ae6f328829
social_networking-0.13.1 spec/dummy/tmp/cache/assets/test/sprockets/2dcea8b167c183a637a1ff55cf9cfa9b
social_networking-0.13.0 spec/dummy/tmp/cache/assets/test/sprockets/fc4792bbfa293a8630d7b3ae6f328829
social_networking-0.13.0 spec/dummy/tmp/cache/assets/test/sprockets/2dcea8b167c183a637a1ff55cf9cfa9b
social_networking-0.11.8 spec/dummy/tmp/cache/assets/test/sprockets/2dcea8b167c183a637a1ff55cf9cfa9b
social_networking-0.11.8 spec/dummy/tmp/cache/assets/test/sprockets/fc4792bbfa293a8630d7b3ae6f328829
social_networking-0.11.5 spec/dummy/tmp/cache/assets/test/sprockets/2dcea8b167c183a637a1ff55cf9cfa9b
social_networking-0.11.5 spec/dummy/tmp/cache/assets/test/sprockets/fc4792bbfa293a8630d7b3ae6f328829
social_networking-0.11.4 spec/dummy/tmp/cache/assets/test/sprockets/2dcea8b167c183a637a1ff55cf9cfa9b
social_networking-0.11.4 spec/dummy/tmp/cache/assets/test/sprockets/fc4792bbfa293a8630d7b3ae6f328829
social_networking-0.11.3 spec/dummy/tmp/cache/assets/test/sprockets/2dcea8b167c183a637a1ff55cf9cfa9b
social_networking-0.11.3 spec/dummy/tmp/cache/assets/test/sprockets/fc4792bbfa293a8630d7b3ae6f328829
social_networking-0.11.0 spec/dummy/tmp/cache/assets/test/sprockets/fc4792bbfa293a8630d7b3ae6f328829
social_networking-0.11.0 spec/dummy/tmp/cache/assets/test/sprockets/2dcea8b167c183a637a1ff55cf9cfa9b
social_networking-0.10.0 spec/dummy/tmp/cache/assets/test/sprockets/2dcea8b167c183a637a1ff55cf9cfa9b
social_networking-0.10.0 spec/dummy/tmp/cache/assets/test/sprockets/fc4792bbfa293a8630d7b3ae6f328829