1$(document).ready(function () { 2 // fancybox 3 $(".fancybox").fancybox(); 4 // contributors 5 $.ajax({ 6 type: 'GET', 7 url: 'https://api.github.com/repos/cornernote/yii-menu-module/contributors', 8 dataType: 'json', 9 success: function(result) { 10 for(i in result) { 11 $('#contributors ul').append('<li class="thumbnail"><a href="https://github.com/cornernote/yii-menu-module/commits?author=' + result[i].login + '" target="_blank"><img src="' + result[i].avatar_url + 's=64" title="' + result[i].login + ' (' + result[i].contributions + ' contributions)"></a></li>'); 12 } 13 $('#contributors h5').html(result.length + ' developer'+ (result.length>1 ? 's' : '') + ' contributed to this project:'); 14 } 15 }); 16});
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.