1function checkQuiz(x) { 2 3 var y = document.getElementById(x); 4} 5 6function addQuiz (x) 7{ 8 9 var y = document.getElementById ("wpquiza"); 10 11 text = "[wpquiztext]Thanks for taking the quiz you scored [wpquiz_correct] correctly and got [wpquiz_wrong] questions wrong, out of a total of [wpquiz_total] that makes it [wpquiz_percent] percent.[/wpquiztext]<br />\r\n\r\n[wpquiz id =" + y.value + " tweet_this = true tweet_hashtag = \"quiz\" tweet_text = \"I just took the quiz at \"]"; 12 13 if ( typeof tinyMCE != 'undefined' && ( editorE = tinyMCE.activeEditor ) && !editorE.isHidden() ) { 14 editorE.focus(); 15 text = '<div>' + text + editorE.selection.getContent() + '</div>'; 16 editorE.execCommand(tinymce.isGecko ? 'insertHTML' : 'mceInsertContent', false, text); 17 } else { 18 text += _spoiler.getRng(edCanvas); 19 text += ''; 20 edInsertContent(edCanvas, text); 21 } 22 23} 24 25function addScore (x) 26{ 27 28 var y = document.getElementById ("wpquiz_scoring"); 29 text = "[wpquiz_" + y.value + "]"; 30 31 if ( typeof tinyMCE != 'undefined' && ( editorE = tinyMCE.activeEditor ) && !editorE.isHidden() ) { 32 editorE.focus(); 33 text = '<div>
33' + text + editorE.selection.getContent() + '</div>'; 34 editorE.execCommand(tinymce.isGecko ? 'insertHTML' : 'mceInsertContent', false, text); 35 } else { 36 text += _spoiler.getRng(edCanvas); 37 text += ''; 38 edInsertContent(edCanvas, text); 39 } 40 41}
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.