1function Clipboard() { 2} 3 4Clipboard.prototype.get = function(callback) 5{ 6 if ( window.clipboardData ) 7 { 8 callback(window.clipboardData.getData("Text")) 9 } 10 else if ( navigator.clipboard ) 11 { 12 navigator.clipboard.readText() 13 .then(function(text) 14 { 15 callback(text) 16 }) 17 .catch(function(error) 18 { 19 callback(error) 20 }) 21 } 22}
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.