1(function($, document, window, viewport){ 2 3 var _CurrentViewPortSize; 4 5 // Executes once whole document has been loaded 6 $(document).ready(function() { 7 8 _CurrentViewPortSize = viewport.current(); 9 10 $(window).trigger('ViewportLoad', [_CurrentViewPortSize]); 11 12 }); 13 14 // Whenever the window is resized 15 $(window).resize( 16 // Check if the viewport changed 17 viewport.changed(function(){ 18 // Now check if the viewport state has changed 19 if(_CurrentViewPortSize !== viewport.current()) 20 { 21 _CurrentViewPortSize = viewport.current(); 22 23 $(window).trigger('ViewportChange', [_CurrentViewPortSize]); 24 } 25 }) 26 ); 27 28})(jQuery, document, window, ResponsiveBootstrapToolkit);
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.