{I" class:ETI"BundledAsset;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+6 ĶUI" length;TiaI" digest;TI"%18b50728892f62deb5b7da30d64eadff;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"required_assets_digest;TI"%1535afc94b41ad1f1d1322b860b8a789;FI" _version;TI"%069e88c06b889877799890854d7f4c40;F