1/** //** ----= mwRawDump =--------------------------------------------------------------------------------------\**//** \ 2* 3* Dumps given variables dump into specified debug window area. Shows debug window if necessary. 4* 5* @param jQuery $el - Element to dump into. 6* @param string $dump - Dump HTML. 7* 8\**//** ----------------------------------------------------------------------------------------------= by Mr.V!T =----/** //**/ 9function mwRawDump ($el, $dump) { 10 11 $el = _jq($el); 12 13 $el.append($dump); 14 15 if ( mwWindow('systemDebug').Window ) 16 mwWindow('systemDebug').show(); 17 else 18 jQuery('BODY').append($dump); 19 20} //FUNC mwRawDump 21 22/** //** ----= mwDumpClear =--------------------------------------------------------------------------------------\**//** \ 23* 24* Clears specifed dump area and dumps given variables dump into it. Shows debug window if necessary. 25* 26* @param jQuery $el - Element to dump into. 27* @param string [$dump] - Dump HTML. 28* 29\**//** ----------------------------------------------------------------------------------------------= by Mr.V!T =----/** //**/ 30function mwDumpClear ($el, $dump) { 31 32 $el = _jq($el); 33 34 $el.html(''); 35 36 if ( $dump ) 37 mwRawDump($dump); 38 39} //FUNC mwDumpClear 40 41/** //** ----= mwDump =----------------------------------------------------------------------------------------------\**//** \ 42* 43* Simple variables dumper. Uses system debug window for output. Uses mwDebug window to output. 44* 45* @param jQuery $el - Element to dump into. 46* @param array $vars - Array with variables to dump. Usually wrapper arguments are passed here. 47* @param object [$options] - Options to pass into vDump. 48* 49\**//** ----------------------------------------------------------------------------------------------= by Mr.V!T =----/** //**/ 50function mwDump ($el, $vars, $options) { 51 52 $el = _jq($el); 53 54 $options = $options || {}; 55 56 var $d = vDump($options); 57 58 // Running vDump, passing own argument as dumper arguments 59 var $res = $d.dump.apply($d, $vars); 60 61 mwRawDump($el, $res); 62 63} //FUNC mwDump
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.