1 /** 2 **/ 3 4window.Artist = Backbone.Model.extend({ 5 //urlRoot: '/js/json/artists.json', 6 idAttribute: "_id", 7 defaults: { 8 _id: null, 9 id: 2, 10 firstName: '', 11 lastName: '', 12 idWord:'', 13 intro: '', 14 bio:'', 15 work:'', 16 artistlink: '', 17 portrait:'', 18 biolink: '', 19 worklink: '' 20 } 21}); 22 23window.ArtistCollection = Backbone.Collection.extend({ 24 model: Artist, 25 url: "/js/json/artists.json", 26 initialize: function(models, options) { 27 //console.log( models ) 28 if (options && options.url) { 29 this.url = options.url; 30 } 31 this.fetch({ 32 success: function(data, options) { 33 //console.log(data.models); 34 } 35 }); 36 } 37}); 38 39 40 41
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.