1var EventListItem = Backbone.Model.extend({ 2 3 monthNames: [ 4 '', 5 'janúar', 6 'febrúar', 7 'mars', 8 'aprÃl', 9 'maÃ', 10 'júnÃ', 11 'júlÃ', 12 'ágúst', 13 'september', 14 'október', 15 'nóvember', 16 'desember', 17 ], 18 19 defaults: { 20 id: '', 21 title: '', 22 content: '', 23 start: '', 24 end: '', 25 group: 0, 26 modified: '', 27 url: '', 28 tags: [] 29 }, 30 31 getDay: function(endDate) { 32 return endDate ? Number(this.get('end').substr(8, 2)) : Number(this.get('start').substr(8, 2)); 33 }, 34 35 getMonth: function(endDate) { 36 return endDate ? this.monthNames[Number(this.get('end').substr(5, 2))] : this.monthNames[Number(this.get('start').substr(5, 2))]; 37 }, 38 39 getYear: function(endDate) { 40 return endDate ? Number(this.get('end').substr(0, 4)) : Number(this.get('start').substr(0, 4)); 41 } 42});
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.