1 2$(document).ready(function() { 3 var editor = CodeMirror.fromTextArea(document.getElementById("bibtex"), { 4 lineNumbers: false, 5 lineWrapping: true, 6 readOnly:true 7 }); 8 $(function () { 9 $('[data-toggle="tooltip"]').tooltip() 10 }); 11 12 13// var frameNumber = 0, // start video at frame 0 14// // lower numbers = faster playback 15// playbackConst = 500, 16// // get page height from video duration 17// setHeight = document.getElementById("main"), 18// // select video element 19// vid = document.getElementById('v0'); 20// // var vid = $('#v0')[0]; // jquery option 21 22 23 24 25// // Use requestAnimationFrame for smooth playback 26// function scrollPlay(){ 27// var frameNumber = window.pageYOffset/playbackConst; 28// vid.currentTime = frameNumber; 29// window.requestAnimationFrame(scrollPlay); 30// console.log('scroll'); 31// } 32 33// // dynamically set the page height according to video length 34// vid.addEventListener('loadedmetadata', function() { 35// setHeight.style.height = Math.floor(vid.duration) * playbackConst + "px"; 36// }); 37 38 39// window.requestAnimationFrame(scrollPlay); 40});
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.