1(function( $ ) { 2 $( document ).ready( function() { 3 $( '.typed-me' ).each( function() { 4 var options = {}, strings = []; 5 for( var key in this.dataset ) { 6 if( key.substr( 0, 6 ) == "string" ) { 7 var v = this.dataset[ key ].replace('&', '&'); // in case the user already used & 8 v = v.replace( /"/g, '"' ); 9 // Replace & with & otherwise the browser freezes. 10 v = v.replace('&', '&'); 11 strings.push( v ); 12 } else { 13 options[ key ] = parseInt( this.dataset[ key ] ); 14 } 15 } 16 17 options[ 'strings' ] = strings; 18 options[ 'contentType' ] = 'html'; 19 20 $( this ).typed( options ); 21 }); 22 }); 23})(jQuery);
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.