1 2function url(u,a,t) 3{ 4 var title=''; 5 if (t.length > 0) 6 title='title="'+t+'" ' 7 document.write('<a '+title+'href="'+u+'">'+a+'</a>'); 8} 9 10function addplus(id) 11{ 12 $.ajax({ 13 url: '/story-addplus/id,' + id.toString() + ',curr,' + $('#points_val_' + id.toString()).text(), 14 type: 'GET', 15 dataType: 'html', 16 error: function() { 17 alert('WystÄ piÅ bÅÄ d. Spróbuj ponownie.'); 18 }, 19 success: function(html) { 20 $('#points_' + id.toString()).html(html); 21 } 22 }); 23} 24function addminus(id) 25{ 26 $.ajax({ 27 url: '/story-addminus/id,' + id.toString() + ',curr,' + $('#points_val_' + id.toString()).text(), 28 type: 'GET', 29 dataType: 'html', 30 error: function() { 31 alert('WystÄ piÅ bÅÄ d. Spróbuj ponownie.'); 32 }, 33 success: function(html) { 34 $('#points_' + id.toString()).html(html); 35 } 36 }); 37} 38function addfav(id) 39{ 40 $.ajax({ 41 url: '/story-addfav/id,' + id.toString() + ',curr,' + $('#points_val_' + id.toString()).text(), 42 type: 'GET', 43 dataType: 'html', 44 error: function() { 45 alert('WystÄ piÅ bÅÄ d. Spróbuj ponownie.'); 46 }, 47 success: function(html) { 48 $('#favadd_' + id.toString()).css('display', 'none'); 49 $('#favrem_' + id.toString()).css('display', 'inline'); 50 } 51 }); 52} 53function removefav(id) 54{ 55 $.ajax({ 56 url: '/story-removefav/id,' + id.toString() + ',curr,' + $('#points_val_' + id.toString()).text(), 57 type: 'GET', 58 dataType: 'html', 59 error: function() { 60 alert('WystÄ piÅ bÅÄ d. Spróbuj ponownie.'); 61 }, 62 success: function(html) { 63 $('#favadd_' + id.toString()).css('display', 'inline'); 64 $('#favrem_' + id.toString()).css('display', 'none'); 65 } 66 }); 67} 68 69function commentplus(st,id) 70{ 71 $.ajax({ 72 url: '/story-commentplus/story,' + st.toString() + ',id,' + id.toString() + ',curr,' + $('#comments_val_' + id.toString()).text(), 73 type: 'GET', 74 dataType: 'html', 75 error: function() { 76 alert('WystÄ piÅ bÅÄ d. Spróbuj ponownie.'); 77 }, 78 success: function(html) { 79 $('#comments_' + id.toString()).html(html); 80 } 81 }); 82} 83function commentminus(st,id) 84{ 85 $.ajax({ 86 url: '/story-commentminus/story,' + st.toString() + ',id,' + id.toString() + ',curr,' + $('#comments_val_' + id.toString()).text(), 87 type: 'GET', 88 dataType: 'html', 89 error: function() { 90 alert('WystÄ piÅ bÅÄ d. Spróbuj ponownie.'); 91 }, 92 success: function(html) { 93 $('#comments_' + id.toString()).html(html); 94 } 95 }); 96} 97 98function addfriend(login) 99{ 100 $.ajax({ 101 url: '/profile-addfriend/user,' + login, 102 type: 'GET', 103 dataType: 'html', 104 error: function() { 105 alert('WystÄ piÅ bÅÄ d. Spróbuj ponownie.'); 106 }, 107 success: function(html) { 108 $('#friendstatus').html(html); 109 } 110 }); 111} 112function removefriend(login) 113{ 114 $.ajax({ 115 url: '/profile-removefriend/user,' + login, 116 type: 'GET', 117 dataType: 'html', 118 error: function() { 119 alert('WystÄ piÅ bÅÄ d. Spróbuj ponownie.'); 120 }, 121 success: function(html) { 122 $('#friendstatus').html(html); 123 } 124 }); 125}
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.