1(function (angular) { 2 3 angular 4 .module('krinitzi') 5 .value('eventParserService', { 6 parseEvent: parseEvent 7 }); 8 9 function parseEvent(eventService) { 10 var event = {}; 11 12 if (eventService) { 13 event = { 14 badgeClass: 'info', 15 badgeIconClass: 'glyphicon-check', 16 17 id: eventService.Id, 18 title: eventService.Title, 19 subTitle: eventService.SubTitle, 20 summary: eventService.Summary, 21 image: { 22 source: eventService.Image.Source, 23 title: eventService.Image.Title 24 }, 25 26 subject: eventService.Subject, 27 decade: eventService.Decade, 28 isDecadeLobby: eventService.DecadeLobby, 29 imageSize: eventService.ImageSize, 30 hasLink: eventService.HasLink, 31 fullDetailsLink: eventService.FullDetailsLink, 32 linkTarget: eventService.LinkTarget 33 } 34 } 35 36 return event; 37 } 38}(angular));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.