Sha256: 293cff8c55b0968a5d7112a6622392fa90310e57e69d2abe4d30407a4cc6b2dc

Contents?: true

Size: 1.8 KB

Versions: 7

Compression:

Stored size: 1.8 KB

Contents

{:uriI"file:///Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/services/Alert.js?type=application/javascript&pipeline=self&id=6a2be4ee29e199e5b04d76c3a503d6dfe1489038dcd0381ddcdd33bfca8c6aed:ET:load_pathI"T/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts;T:
filenameI"x/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/services/Alert.js;T:	nameI"%social_networking/services/Alert;T:logical_pathI"-social_networking/services/Alert.self.js;T:content_typeI"application/javascript;T:sourceI"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]);
})();
;T:
metadata{:dependencieso:Set:
@hash{	I"environment-version;TTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"file-digest:///Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/services/Alert.js;TT:
requiredo;;{:stubbedo;;{:
linkso;;{:charsetI"
utf-8;F:digest"%]
n]*JMG<
_֑]:lengthia:dependencies_digest"%C,V{׺tT87:W
FLayBd:idI"E6a2be4ee29e199e5b04d76c3a503d6dfe1489038dcd0381ddcdd33bfca8c6aed;F:
mtimel+U

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
social_networking-0.13.1 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AT1l0uxIxUf_rrCj7TffbshKuGu81LXSmRYmMptjatM.cache
social_networking-0.13.0 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AT1l0uxIxUf_rrCj7TffbshKuGu81LXSmRYmMptjatM.cache
social_networking-0.11.8 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AT1l0uxIxUf_rrCj7TffbshKuGu81LXSmRYmMptjatM.cache
social_networking-0.11.5 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AT1l0uxIxUf_rrCj7TffbshKuGu81LXSmRYmMptjatM.cache
social_networking-0.11.4 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AT1l0uxIxUf_rrCj7TffbshKuGu81LXSmRYmMptjatM.cache
social_networking-0.11.3 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AT1l0uxIxUf_rrCj7TffbshKuGu81LXSmRYmMptjatM.cache
social_networking-0.11.0 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AT1l0uxIxUf_rrCj7TffbshKuGu81LXSmRYmMptjatM.cache