Sha256: df9251abfde536f7f470f6aa44f52b03027d97b3cf1dad62f95dcf5230fbfece
Contents?: true
Size: 1.46 KB
Versions: 8
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+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"dependency_digest; TI"%1535afc94b41ad1f1d1322b860b8a789; 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:25:10-05:00; T@I"%18b50728892f62deb5b7da30d64eadff; FI" _version; TI"%069e88c06b889877799890854d7f4c40; F
Version data entries
8 entries across 8 versions & 1 rubygems