1/* Restricted version of php framework in javascript */ 2 3/* Get class */ 4var get = { 5 isGroup: function (group) { 6 return ext('isGroup='+group); 7 }, 8 cField: function (id,field) { 9 return ext('id='+id+'&field='+field); 10 } 11} 12 13/* Option class */ 14var option = { 15 get : function (pname,name){ 16 return ext('option=true&pname='+pname+'&name='+name); 17 } 18} 19 20 21/* Stuff functions */ 22function ext(query){ 23 return jQuery.ajax({url: 'index.php?ext=true&'+query,async: false }).responseText; 24} 25 26function _(c){ 27 return ext('const='+c); 28} 29 30function refresh() 31{ 32 setTimeout("location.reload(true);",10); 33} 34function redirect(to) 35{ 36 37 document.location=to; 38}
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.