1require(['gitbook', 'jQuery'], function (gitbook, $) { 2 var url = '' 3 var style = '' 4 var insertLogo = function (url, style) { 5 $('.book-summary').children().eq(0).before('<div class="book-logo"><img src="' + url + '" style="' + style + '"></div>') 6 } 7 gitbook.events.bind('start', function (e, config) { 8 url = config['insert-logo']['url'] 9 style = config['insert-logo']['style'] 10 }) 11 12 gitbook.events.bind("page.change", function() { 13 insertLogo(url, style) 14 }) 15})
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.