rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 13 136k | meta stringlengths 132 347 |
|---|---|---|---|
this.xcomp = x + offsetcache[0] - this.deltaX; this.ycomp = y + offsetcache[1] - this.deltaY; this.xcomp = x; this.ycomp = y; var offsettop = element.offsetTop; var offsetleft = element.offsetLeft; return (y>=offsettop && y<offsettop+element.offsetHeight && x>=offsetleft && x<offsetleft+element.offsetWidth); | this.offset = this.cumulative_offset(element); this.xcomp = x + offsetcache[0] - this.deltaX + this.offset[0]; this.ycomp = y + offsetcache[1] - this.deltaY + this.offset[1]; return (this.ycomp>=this.offset[1] && this.ycomp<this.offset[1]+element.offsetHeight && this.xcomp>=this.offset[0] && this.xcomp<this.offset[0]+... | within_including_scrolloffsets: function(element, x, y) { var offsetcache = this.real_offset(element); this.xcomp = x + offsetcache[0] - this.deltaX; this.ycomp = y + offsetcache[1] - this.deltaY; this.xcomp = x; this.ycomp = y; var offsettop = element.offsetTop; var offsetleft = element.offsetLe... | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
this.xcomp = x + offsetcache[0] - this.deltaX; this.ycomp = y + offsetcache[1] - this.deltaY; this.xcomp = x; this.ycomp = y; var offsettop = element.offsetTop; var offsetleft = element.offsetLeft; return (y>=offsettop && y<offsettop+element.offsetHeight && x>=offsetleft && x<offsetleft+element.offsetWidth); | this.offset = this.cumulative_offset(element); this.xcomp = x + offsetcache[0] - this.deltaX + this.offset[0]; this.ycomp = y + offsetcache[1] - this.deltaY + this.offset[1]; return (this.ycomp>=this.offset[1] && this.ycomp<this.offset[1]+element.offsetHeight && this.xcomp>=this.offset[0] && this.xcomp<this.offset[0]+... | within_including_scrolloffsets: function(element, x, y) { var offsetcache = this.real_offset(element); this.xcomp = x + offsetcache[0] - this.deltaX; this.ycomp = y + offsetcache[1] - this.deltaY; this.xcomp = x; this.ycomp = y; var offsettop = element.offsetTop; var offsetleft = element.offsetLe... | 2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
this.xcomp = x + offsetcache[0] - this.deltaX; this.ycomp = y + offsetcache[1] - this.deltaY; this.xcomp = x; this.ycomp = y; var offsettop = element.offsetTop; var offsetleft = element.offsetLeft; return (y>=offsettop && y<offsettop+element.offsetHeight && x>=offsetleft && x<offsetleft+element.offsetWidth); | this.offset = this.cumulative_offset(element); this.xcomp = x + offsetcache[0] - this.deltaX + offsetcache[2]; this.ycomp = y + offsetcache[1] - this.deltaY + offsetcache[1]; return (y>=this.offset[1] && y<this.offset[1]+element.offsetHeight && x>=this.offset[0] && x<this.offset[0]+element.offsetWidth); | within_including_scrolloffsets: function(element, x, y) { var offsetcache = this.real_offset(element); this.xcomp = x + offsetcache[0] - this.deltaX; this.ycomp = y + offsetcache[1] - this.deltaY; this.xcomp = x; this.ycomp = y; var offsettop = element.offsetTop; var offsetleft = element.offsetLe... | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/5fec2a22b3ffc5a2da695845e2922706e29402bb/prototype-ext.js/buggy/src/prototype-ext.js |
this.xcomp = x + offsetcache[0] - this.deltaX + offsetcache[2]; this.ycomp = y + offsetcache[1] - this.deltaY + offsetcache[1]; | this.xcomp = x + offsetcache[0] - this.deltaX + this.offset[0]; this.ycomp = y + offsetcache[1] - this.deltaY + this.offset[1]; | within_including_scrolloffsets: function(element, x, y) { var offsetcache = this.real_offset(element); this.offset = this.cumulative_offset(element); this.xcomp = x + offsetcache[0] - this.deltaX + offsetcache[2]; this.ycomp = y + offsetcache[1] - this.deltaY + offsetcache[1]; return (y>=this.offse... | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/665125fe57c0d13895aa2a0799f002e3e16ad767/prototype-ext.js/buggy/src/prototype-ext.js |
return (y>=this.offset[1] && y<this.offset[1]+element.offsetHeight && x>=this.offset[0] && x<this.offset[0]+element.offsetWidth); | return (this.ycomp>=this.offset[1] && this.ycomp<this.offset[1]+element.offsetHeight && this.xcomp>=this.offset[0] && this.xcomp<this.offset[0]+element.offsetWidth); | within_including_scrolloffsets: function(element, x, y) { var offsetcache = this.real_offset(element); this.offset = this.cumulative_offset(element); this.xcomp = x + offsetcache[0] - this.deltaX + offsetcache[2]; this.ycomp = y + offsetcache[1] - this.deltaY + offsetcache[1]; return (y>=this.offse... | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/665125fe57c0d13895aa2a0799f002e3e16ad767/prototype-ext.js/buggy/src/prototype-ext.js |
this.xcomp >= this.offset[0] && | this.xcomp >= this.offset[0] && | withinIncludingScrolloffsets: function(element, x, y) { var offsetcache = this.realOffset(element); this.xcomp = x + offsetcache[0] - this.deltaX; this.ycomp = y + offsetcache[1] - this.deltaY; this.offset = this.cumulativeOffset(element); return (this.ycomp >= this.offset[1] && this.ycomp <... | 742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/prototype.js/buggy/public/javascripts/prototype.js |
this.xcomp = x + offsetcache[0] - this.deltaX + this.offset[0]; this.ycomp = y + offsetcache[1] - this.deltaY + this.offset[1]; | withinIncludingScrolloffsets: function(element, x, y) { var offsetcache = this.realOffset(element); this.offset = this.cumulativeOffset(element); this.xcomp = x + offsetcache[0] - this.deltaX + this.offset[0]; this.ycomp = y + offsetcache[1] - this.deltaY + this.offset[1]; return (this.ycomp >= this.of... | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/e2371ffc5409110da417048e1b81a38ed4e0c32e/prototype.js/buggy/lib/prototype.js | |
if(line[l]==undefined) return(ret); | function wrap_line(l){ var ret=-1; var nline; var m; var m2; while(1) { /* Get line length without trailing whitespace */ m=line[l].text.match(/^(.*?)\s*$/); if(m!=null) { if(m[1].length<80 && (m[1].length!=line[l].text.length || line[l+1]==undefined || line[l].hardcr==true)) { if(ret!=-1) draw_line(l); ... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/4feb357987699a30d21e959879afc99e2111a294/fseditor.js/buggy/fseditor.js | |
var ret=0; | var ret=-1; | function wrap_line(l){ var ret=0; var nline; while(line[l].text.length>79) { if(line[l+1]==undefined || line[l].hardcr) add_new_line_below(l); nline=line[l].text.replace(/^(.*)\s+(.*?)$/,function (str, start, end, pos, s) { line[l+1].text=end+" "+line[l+1].text; /* Copy attributes */ line[l+1].attr.splice(0,0... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/01df868790e712324b0ea222651723cca8476031/fseditor.js/buggy/fseditor.js |
while(line[l].text.length>79) { if(line[l+1]==undefined || line[l].hardcr) add_new_line_below(l); nline=line[l].text.replace(/^(.*)\s+(.*?)$/,function (str, start, end, pos, s) { line[l+1].text=end+" "+line[l+1].text; /* Copy attributes */ line[l+1].attr.splice(0,0,line[l+1].attr.slice(line[l].text.length-end.length,en... | while(1) { /* Get line length without trailing whitespace */ m=line[l].text.match(/^(.*?)\s*$/); if(m!=null) { if(m[1].length<80 && (m[1].length!=line[l].text.length || line[l+1]==undefined || line[l].hardcr==true)) { if(ret!=-1) draw_line(l); return(ret); } | function wrap_line(l){ var ret=0; var nline; while(line[l].text.length>79) { if(line[l+1]==undefined || line[l].hardcr) add_new_line_below(l); nline=line[l].text.replace(/^(.*)\s+(.*?)$/,function (str, start, end, pos, s) { line[l+1].text=end+" "+line[l+1].text; /* Copy attributes */ line[l+1].attr.splice(0,0... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/01df868790e712324b0ea222651723cca8476031/fseditor.js/buggy/fseditor.js |
l++; | m=line[l].text.match(/^(.{1,79}\s+)([^\s].*?)$/); if(m==null) { /* * We couldn't apparently find a space after a char... this means * we need to kludge wrap this (ick) */ m=line[l].text.match(/^(.{1,79})(.*?)$/); line[l].kludged=true; } if(m!=null) { if(line[l+1]==undefined) line.push(new Line); line[l+1].text=m[2]+lin... | function wrap_line(l){ var ret=0; var nline; while(line[l].text.length>79) { if(line[l+1]==undefined || line[l].hardcr) add_new_line_below(l); nline=line[l].text.replace(/^(.*)\s+(.*?)$/,function (str, start, end, pos, s) { line[l+1].text=end+" "+line[l+1].text; /* Copy attributes */ line[l+1].attr.splice(0,0... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/01df868790e712324b0ea222651723cca8476031/fseditor.js/buggy/fseditor.js |
redraw_line(l); | function wrap_line(l){ var ret=0; var nline; while(line[l].text.length>79) { if(line[l+1]==undefined || line[l].hardcr) add_new_line_below(l); nline=line[l].text.replace(/^(.*)\s+(.*?)$/,function (str, start, end, pos, s) { line[l+1].text=end+" "+line[l+1].text; /* Copy attributes */ line[l+1].attr.splice(0,0... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/01df868790e712324b0ea222651723cca8476031/fseditor.js/buggy/fseditor.js | |
log(format("rsp: %s",str)); | log("rsp: " + str); | function write(str){ if(0 && debug) log(format("rsp: %s",str)); client.socket.send(str);} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/91e3f2203dbd8dd59514cf9e653591a34f741961/gopherservice.js/buggy/gopherservice.js |
if(0 && debug) | if(debug) | function write(str){ if(0 && debug) log("rsp: " + str); client.socket.send(str);} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/463deeb400916aaccae3e95ad76d872f53d29451/gopherservice.js/buggy/gopherservice.js |
if(debug) log(format("rsp: %s",str)); | function write(str){ if(debug) log(format("rsp: %s",str)); client.socket.send(str);} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/a9ad43b6d2318831a3c92439dfcfe76f4c6b7271/nntpservice.js/buggy/nntpservice.js | |
user_file.rewind(); | function write_user_list(user_list, user_file){ user_file.length = 0; for(var u in user_list) { user_file.writeln("[" + user_list[u].name + "]"); for(var p in user_list[u]) user_file.writeln(p + " = " + user_list[u][p]); }} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/ed00426a619298903a27bcb82a1710d4acb9bdaf/listserver.js/buggy/listserver.js | |
function writeBufferLabel(parentNode, n) { if (! parentNode) return null; // parentNode is a table var rowNode = document.createElement('tr'); var cellNode = document.createElement('td'); // set the text contents to label the new cell cellNode.appendChild(getLabel(n)); rowNode.appendChild(ce... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/5917330c0d2e34cb6706d33cdb3cff9f12ceccb6/cq.js/buggy/cq.js | ||
return null; | function writeBufferLabel(parentNode, n) { if (! parentNode) return null; // parentNode is a table body var rowNode = document.createElement('tr'); var cellNode = document.createElement('td'); // set the text contents to label the new cell cellNode.appendChild(getLabel(n)); rowNode.appendChi... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js | |
function writeBufferLabel(n) { var theTable = document.getElementById(g_cq_bufferlist_id); if (theTable.childNodes.length < 1) { theTable.appendChild(document.createElement('tbody')); } if (theTable) { var theTableBody = theTable.firstChild; var theRow = theTable.rows[n]; if (! theRow) { theRow = document.createEle... | function writeBufferLabel(parentNode, n) { if (! parentNode) return null; var rowNode = document.createElement('tr'); var cellNode = document.createElement('td'); cellNode.appendChild(getLabel(n)); rowNode.appendChild(cellNode); parentNode.appendChild(rowNode); | function writeBufferLabel(n) { // labels are stored in a table, one per row var theTable = document.getElementById(g_cq_bufferlist_id); // make sure the table has a tbody if (theTable.childNodes.length < 1) { // create an explicit tbody for the DOM (Mozilla needs this) theTable.appendChild(doc... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/469474651c3f770b832f583fd47778d445b5bf5a/cq.js/buggy/cq.js |
write(str + "\r\n"); | if(str) write(str + "\r\n"); else write("\r\n"); | function writeln(str) { write(str + "\r\n"); } | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/e18561630f92d081d2ba4bb69c632bbe641688f8/nodelist-html.js/buggy/nodelist-html.js |
if(debug) log(format("rsp: %s",str)); | function writeln(str){ write(str + "\r\n");} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/a9ad43b6d2318831a3c92439dfcfe76f4c6b7271/nntpservice.js/buggy/nntpservice.js | |
log(format("rsp: %s",str)); | log("rsp: " + str); | function writeln(str){ if(debug) log(format("rsp: %s",str)); write(str + "\r\n");} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/b9f1a02f1163af843788f73e0fc9ba4f62a76c59/nntpservice.js/clean/nntpservice.js |
printf("cmd: %s",str); | printf("cmd: %s\r\n",str); | function writeln(str){ if(debug) printf("cmd: %s",str); write(str + "\r\n");} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/a31d60a81cfd64393495f7051fe36bcd4af88685/newslink.js/buggy/newslink.js |
log(format("rsp: %s",str)); | printf("cmd: %s",str); | function writeln(str){ if(debug) log(format("rsp: %s",str)); write(str + "\r\n");} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/affb7f2346d37da4885681535868aa1fa859d775/newslink.js/clean/newslink.js |
var a = this.val; if (a.length === 0) | if (this.length === 0) | sc_Vector.prototype.writeOrDisplay = function(p, writeOrDisplay) { var a = this.val; if (a.length === 0) p.appendJSString("#()"); p.appendJSString("#("); writeOrDisplay(p, a[0]); for (var i = 1; i < a.length; i++) { p.appendJSString(" "); writeOrDisplay(p, a[i]); } p.appendJSString(")");}; | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/18d6433ca5dc044045f901c8f298c40f81f4e1a6/runtime.js/clean/scheme2js/runtime/runtime.js |
writeOrDisplay(p, a[0]); for (var i = 1; i < a.length; i++) { | writeOrDisplay(p, this[0]); for (var i = 1; i < this.length; i++) { | sc_Vector.prototype.writeOrDisplay = function(p, writeOrDisplay) { var a = this.val; if (a.length === 0) p.appendJSString("#()"); p.appendJSString("#("); writeOrDisplay(p, a[0]); for (var i = 1; i < a.length; i++) { p.appendJSString(" "); writeOrDisplay(p, a[i]); } p.appendJSString(")");}; | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/18d6433ca5dc044045f901c8f298c40f81f4e1a6/runtime.js/clean/scheme2js/runtime/runtime.js |
writeOrDisplay(p, a[i]); | writeOrDisplay(p, this[i]); | sc_Vector.prototype.writeOrDisplay = function(p, writeOrDisplay) { var a = this.val; if (a.length === 0) p.appendJSString("#()"); p.appendJSString("#("); writeOrDisplay(p, a[0]); for (var i = 1; i < a.length; i++) { p.appendJSString(" "); writeOrDisplay(p, a[i]); } p.appendJSString(")");}; | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/18d6433ca5dc044045f901c8f298c40f81f4e1a6/runtime.js/clean/scheme2js/runtime/runtime.js |
if (this.length === 0) | if (this.length === 0) { | sc_Vector.prototype.writeOrDisplay = function(p, writeOrDisplay) { if (this.length === 0) p.appendJSString("#()"); p.appendJSString("#("); writeOrDisplay(p, this[0]); for (var i = 1; i < this.length; i++) { p.appendJSString(" "); writeOrDisplay(p, this[i]); } p.appendJSString(")");}; | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/3caaa4f2e71f46f403b867ee75a438bbd506ced7/runtime.js/clean/scheme2js/runtime/runtime.js |
return; } | sc_Vector.prototype.writeOrDisplay = function(p, writeOrDisplay) { if (this.length === 0) p.appendJSString("#()"); p.appendJSString("#("); writeOrDisplay(p, this[0]); for (var i = 1; i < this.length; i++) { p.appendJSString(" "); writeOrDisplay(p, this[i]); } p.appendJSString(")");}; | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/3caaa4f2e71f46f403b867ee75a438bbd506ced7/runtime.js/clean/scheme2js/runtime/runtime.js | |
if(last_cwd != '') { | var old_cwd=cwd; if(cwd != '') { | function xjs_load(filename) { if(last_cwd != '') { if(filename.search(/^((\/)|([A-Za-z]:[\/\\]))/)==-1) filename=last_cwd+'/'+filename; } var cwd=filename; cwd=cwd.replace(/[^\\\/]*$/,''); var ssjs_filename=filename+".ssjs"; // Probably a race condition on Win32 if(file_exists(ssjs_filename)) { if(file_date(ssjs_fi... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/44f505b0f504b966113c76c6e75691bd76cdfc67/xjs_handler.js/buggy/xjs_handler.js |
filename=last_cwd+'/'+filename; | filename=cwd+filename; | function xjs_load(filename) { if(last_cwd != '') { if(filename.search(/^((\/)|([A-Za-z]:[\/\\]))/)==-1) filename=last_cwd+'/'+filename; } var cwd=filename; cwd=cwd.replace(/[^\\\/]*$/,''); var ssjs_filename=filename+".ssjs"; // Probably a race condition on Win32 if(file_exists(ssjs_filename)) { if(file_date(ssjs_fi... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/44f505b0f504b966113c76c6e75691bd76cdfc67/xjs_handler.js/buggy/xjs_handler.js |
var cwd=filename; cwd=cwd.replace(/[^\\\/]*$/,''); | cwd=filename; cwd=backslash(cwd.replace(/[^\\\/]*$/,'')); | function xjs_load(filename) { if(last_cwd != '') { if(filename.search(/^((\/)|([A-Za-z]:[\/\\]))/)==-1) filename=last_cwd+'/'+filename; } var cwd=filename; cwd=cwd.replace(/[^\\\/]*$/,''); var ssjs_filename=filename+".ssjs"; // Probably a race condition on Win32 if(file_exists(ssjs_filename)) { if(file_date(ssjs_fi... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/44f505b0f504b966113c76c6e75691bd76cdfc67/xjs_handler.js/buggy/xjs_handler.js |
last_cwd=cwd; | function xjs_load(filename) { if(last_cwd != '') { if(filename.search(/^((\/)|([A-Za-z]:[\/\\]))/)==-1) filename=last_cwd+'/'+filename; } var cwd=filename; cwd=cwd.replace(/[^\\\/]*$/,''); var ssjs_filename=filename+".ssjs"; // Probably a race condition on Win32 if(file_exists(ssjs_filename)) { if(file_date(ssjs_fi... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/44f505b0f504b966113c76c6e75691bd76cdfc67/xjs_handler.js/buggy/xjs_handler.js | |
cwd=old_cwd; | function xjs_load(filename) { if(last_cwd != '') { if(filename.search(/^((\/)|([A-Za-z]:[\/\\]))/)==-1) filename=last_cwd+'/'+filename; } var cwd=filename; cwd=cwd.replace(/[^\\\/]*$/,''); var ssjs_filename=filename+".ssjs"; // Probably a race condition on Win32 if(file_exists(ssjs_filename)) { if(file_date(ssjs_fi... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/44f505b0f504b966113c76c6e75691bd76cdfc67/xjs_handler.js/buggy/xjs_handler.js | |
var start = 0; var list = []; for (var i = 0; i < value.length; i++) { if (value.charAt(i) == ',') { list.push(value.substring(start, i).replace(/\\(.)/, "$1")); start = i + 1; } else if (value.charAt(i) == '\\') { i++; } } list.push(value.substring(start, value.length).replace(/\\(.)/, "$1")); return array(list); | return array(parseArray(value)); | function xlateValue(type, value) { if (type == 'String[]') { var start = 0; var list = []; for (var i = 0; i < value.length; i++) { if (value.charAt(i) == ',') { list.push(value.substring(start, i).replace(/\\(.)/, "$1")); start = i + 1; } else if (value.charAt(i) == '\\') { i++; } } list.push(value... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/4bfa7692cc2103f89695fba65b7284a7b4aeb230/remoteControl.js/buggy/src/content/formats/remoteControl.js |
text = text.replace(/"/g, '"'); text = text.replace(/'/g, "'"); text = text.replace(/</g, "<"); text = text.replace(/>/g, ">"); text = text.replace(/&/g, "&"); return text; | text = text.replace(/"/g, '"'); text = text.replace(/'/g, "'"); text = text.replace(/</g, "<"); text = text.replace(/>/g, ">"); text = text.replace(/&/g, "&"); return text; | function xmlDecode(text) { text = text.replace(/"/g, '"'); text = text.replace(/'/g, "'"); text = text.replace(/</g, "<"); text = text.replace(/>/g, ">"); text = text.replace(/&/g, "&"); return text;} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/409c1704b4cf230ddff8734c8f4835b0c22da435/htmlutils.js/clean/code/javascript/core/scripts/htmlutils.js |
var i, l, e, o = '', c; | var cl = this; | xmlEncode : function(s) { var i, l, e, o = '', c; this._setupEntities(); // Will intialize lookup table switch (this.settings.entity_encoding) { case "raw": return tinyMCE.xmlEncode(s); case "named": for (i=0, l=s.length; i<l; i++) { c = s.charCodeAt(i); e = this.entities[c]; if (e && e != '')... | 10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/tiny_mce_src.js/clean/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce_src.js |
for (i=0, l=s.length; i<l; i++) { c = s.charCodeAt(i); e = this.entities[c]; | return s.replace(new RegExp('[\u007F-\uFFFF<>&"\']', 'g'), function (c, b) { b = cl.entities[c.charCodeAt(0)]; | xmlEncode : function(s) { var i, l, e, o = '', c; this._setupEntities(); // Will intialize lookup table switch (this.settings.entity_encoding) { case "raw": return tinyMCE.xmlEncode(s); case "named": for (i=0, l=s.length; i<l; i++) { c = s.charCodeAt(i); e = this.entities[c]; if (e && e != '')... | 10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/tiny_mce_src.js/clean/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce_src.js |
if (e && e != '') o += '&' + e + ';'; else o += String.fromCharCode(c); } return o; | return b ? '&' + b + ';' : c; }); | xmlEncode : function(s) { var i, l, e, o = '', c; this._setupEntities(); // Will intialize lookup table switch (this.settings.entity_encoding) { case "raw": return tinyMCE.xmlEncode(s); case "named": for (i=0, l=s.length; i<l; i++) { c = s.charCodeAt(i); e = this.entities[c]; if (e && e != '')... | 10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/tiny_mce_src.js/clean/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce_src.js |
for (i=0, l=s.length; i<l; i++) { c = s.charCodeAt(i); if (c > 127 || c == 60 || c == 62 || c == 38 || c == 39 || c == 34) o += '&#' + c + ";"; else o += String.fromCharCode(c); } return o; | return s.replace(new RegExp('[\u007F-\uFFFF<>&"\']', 'g'), function (c, b) { return b ? '&#' + c.charCodeAt(0) + ';' : c; }); | xmlEncode : function(s) { var i, l, e, o = '', c; this._setupEntities(); // Will intialize lookup table switch (this.settings.entity_encoding) { case "raw": return tinyMCE.xmlEncode(s); case "named": for (i=0, l=s.length; i<l; i++) { c = s.charCodeAt(i); e = this.entities[c]; if (e && e != '')... | 10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/tiny_mce_src.js/clean/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce_src.js |
throw new Error("No XML component installed!") | throw new Error("No XML component installed!"); | XMLHttpRequest = function () { var msxmls = ['MSXML3', 'MSXML2', 'Microsoft'] for (var i=0; i < msxmls.length; i++) { try { return new ActiveXObject(msxmls[i]+'.XMLHTTP') } catch (e) { } } throw new Error("No XML component installed!") } | 3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/aa39f5c787ca3ef6f8365b33ea5708112fb7acca/drupal.js/buggy/misc/drupal.js |
var msxmls = ['MSXML3', 'MSXML2', 'Microsoft'] for (var i=0; i < msxmls.length; i++) { try { return new ActiveXObject(msxmls[i]+'.XMLHTTP') } catch (e) { } } throw new Error("No XML component installed!") } | var msxmls = ['MSXML3', 'MSXML2', 'Microsoft'] for (var i=0; i < msxmls.length; i++) { try { return new ActiveXObject(msxmls[i]+'.XMLHTTP') } catch (e) { } } throw new Error("No XML component installed!") } | XMLHttpRequest = function () { var msxmls = ['MSXML3', 'MSXML2', 'Microsoft'] for (var i=0; i < msxmls.length; i++) { try { return new ActiveXObject(msxmls[i]+'.XMLHTTP') } catch (e) { } } throw new Error("No XML component installed!") } | 3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/9f67ddf986678ed6bc5ebfe9bf1f1c21acb2fd35/drupal.js/clean/misc/drupal.js |
function xref(msgbase, hdr) | function xref(hdr) | function xref(msgbase, hdr){ return(format("%s %s:%u",system.local_host_name, msgbase.cfg.newsgroup, hdr.number));} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/1bd7c6166eda4bbbee185087ccb2b6a2359a0640/nntpservice.js/buggy/nntpservice.js |
return(format("%s %s:%u",system.local_host_name, msgbase.cfg.newsgroup, hdr.number)); | return(format("%s %s:%u" ,system.local_host_name ,selected.newsgroup ,hdr.number)); | function xref(msgbase, hdr){ return(format("%s %s:%u",system.local_host_name, msgbase.cfg.newsgroup, hdr.number));} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/1bd7c6166eda4bbbee185087ccb2b6a2359a0640/nntpservice.js/buggy/nntpservice.js |
function Xtrnsec(sec){ var hotkeys="1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*():;<>"; this.items=new Array(); var j=0; xtrnsecprogwidth=0; this.hotkeys=KEY_RIGHT+KEY_LEFT+"\b\x7f\x1b"; for(j=0; j<xtrn_area.sec_list[sec].prog_list.length; j++) { if(xtrn_area.sec_list[sec].prog_list[j].name.length > xtrnsecprogwidth)... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/b687bd2ddbcc1d81055b76945e638a0771587af7/lbshell.js/clean/lbshell.js | ||
this.hotkeys=KEY_RIGHT+KEY_LEFT+"\b\x7f\x1b"; | this.hotkeys=KEY_RIGHT+KEY_LEFT+"\b\x7f\x1b"+ctrl('O')+ctrl('U')+ctrl('T')+ctrl('K')+ctrl('P'); | function Xtrnsec(sec){ var hotkeys="1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*():;<>"; this.items=new Array(); var j=0; xtrnsecprogwidth=0; this.hotkeys=KEY_RIGHT+KEY_LEFT+"\b\x7f\x1b"; // Figure out the correct width for(j=0; j<xtrn_area.sec_list[sec].prog_list.length; j++) { if(xtrn_area.sec_list[sec].prog_list[j]... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/34f6c69cd3ce42ea1878ef314f794dabc773eb90/lbshell.js/clean/lbshell.js |
this.hotkeys=KEY_LEFT+KEY_RIGHT+"\b\x7f\x1b"; | this.hotkeys=KEY_LEFT+KEY_RIGHT+"\b\x7f\x1b"+ctrl('O')+ctrl('U')+ctrl('T')+ctrl('K')+ctrl('P'); | function Xtrnsecs(){ var hotkeys="1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*():;<>"; this.items=new Array(); this.xpos=40; this.ypos=2; this.lpadding="\xb3"; this.rpadding="\xb3"; this.hotkeys=KEY_LEFT+KEY_RIGHT+"\b\x7f\x1b"; var xtrnsecwidth=0; var j; for(j=0; j<xtrn_area.sec_list.length && j<console.screen_rows-2; ... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/34f6c69cd3ce42ea1878ef314f794dabc773eb90/lbshell.js/clean/lbshell.js |
var __cell=document.createElement("TD"); | var __cell=document.createElement("td"); | function y_add_plain_cell_to_row(_row, _name){ var __cell=document.createElement("TD"); __cell.setAttribute("name", _name); _row.appendChild(__cell); return __cell;} | 6281 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6281/55ab6302c12b1c45de5e34dcc75c97cb2d797046/Y_Baselib.js/buggy/tuxbox/neutrino/daemons/nhttpd/nhttpd-y/Y_Baselib.js |
var __row=document.createElement("TR"); | var __row=document.createElement("tr"); | function y_add_row_to_table(_table, _class){ var __row=document.createElement("TR"); var __class = document.createAttribute("class"); __class.nodeValue = _class; __row.setAttributeNode(__class); _table.appendChild(__row); return __row;} | 6281 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6281/55ab6302c12b1c45de5e34dcc75c97cb2d797046/Y_Baselib.js/buggy/tuxbox/neutrino/daemons/nhttpd/nhttpd-y/Y_Baselib.js |
value.replace('\\s*$',''); | value.replace(new RegExp('\\s*$',''),''); | function yaml_parse_implicit (value) { value.replace('\\s*$',''); if (value == '') return ''; if (value.match('^-?\\d+$')) return 0 + value; if (value.match('^[+-]?(\\d*)(\\.\\d*|)?([Ee][+-]?\\d+)?$')) return 1 * value; if (value.match('^\\d{4}\-\\d{2}\-\\d{2}(T\\d{2}:\\d{2}:\\d{2}(\\.\\d*[1-9])?(Z|[-+]\\d{2}(:\\d... | 5443 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5443/075c87d7e596ff9093a32e27ab10d55e69e0175d/yaml_load.js/buggy/lib/CGI/Ex/yaml_load.js |
this.inline = this.inline.replace('^\\s+','').replace('\\s+$',''); | this.inline = this.inline.replace('^\\s+','').replace(new RegExp('\\s+$',''),''); | function yaml_parse_inline (top, top_implicit, top_explicit, top_class) { this.inline = this.inline.replace('^\\s+','').replace('\\s+$',''); var info = this.parse_qualifiers(this.inline); var anchor = info[0]; var alias = info[1]; var explicit = info[2]; var implicit = info[3]; var yclass = info[4]; ... | 5443 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5443/075c87d7e596ff9093a32e27ab10d55e69e0175d/yaml_load.js/buggy/lib/CGI/Ex/yaml_load.js |
m[1].replace(new RegExp('"','g'),'"'); | m[1] = m[1].replace(new RegExp('\\\\"','g'),'"'); | function yaml_parse_inline (top, top_implicit, top_explicit, top_class) { this.inline = this.inline.replace('^\\s+','').replace('\\s+$',''); var info = this.parse_qualifiers(this.inline); var anchor = info[0]; var alias = info[1]; var explicit = info[2]; var implicit = info[3]; var yclass = info[4]; ... | 5443 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5443/075c87d7e596ff9093a32e27ab10d55e69e0175d/yaml_load.js/buggy/lib/CGI/Ex/yaml_load.js |
m[1].replace(new RegExp("''",'g'),"'"); | m[1] = m[1].replace(new RegExp("''",'g'),"'"); | function yaml_parse_inline (top, top_implicit, top_explicit, top_class) { this.inline = this.inline.replace('^\\s+','').replace('\\s+$',''); var info = this.parse_qualifiers(this.inline); var anchor = info[0]; var alias = info[1]; var explicit = info[2]; var implicit = info[3]; var yclass = info[4]; ... | 5443 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5443/075c87d7e596ff9093a32e27ab10d55e69e0175d/yaml_load.js/buggy/lib/CGI/Ex/yaml_load.js |
if (this.content.match('^?\\s*')) { | if (this.content.match('^\\?\\s*')) { | function yaml_parse_map (anchor) { var m; var node = new Array (); if (anchor) this.anchors[anchor] = node; while (! this.done && this.indent == this.offset[this.level]) { var key; if (this.content.match('^?\\s*')) { this.preface = this.content; key = '' + this.parse_node(); } else if (m = this... | 5443 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5443/558270c9a50179e34043afaaea099eecaf17cbf3/yaml_load.js/buggy/lib/CGI/Ex/yaml_load.js |
} else if (m = this.lines[0].match('^( *)\\S') && m[1].length > offset) { | } else if ((m = this.lines[0].match('^( *)\\S')) && m[1].length > offset) { | function yaml_parse_next_line (type) { var m; var level = this.level; var offset = this.offset[level]; if (offset == undefined) return this.error("Parse error - Bad level " + level); // done with the current line - get the next // remove following commented lines this.lines.shift(); this.line ++; this.eoy = t... | 5443 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5443/8b93559ff3f7963b18d2e92487403e269bf773ae/yaml_load.js/buggy/lib/CGI/Ex/yaml_load.js |
node = node.replace(new RegExp('^(\\S.*)\n(\n+\\S)','gm'), '$1$2'); | node = node.replace(new RegExp('[ \\t]*\n[ \\t]*','gm'), ' '); | function yaml_parse_node (no_next) { if (! no_next) this.parse_next_line(2); // COLLECTION var preface = this.preface; this.preface = ''; var node = ''; var type = ''; var indicator = ''; var escape = ''; var chomp = ''; var info = this.parse_qualifiers(preface); var anchor = info[0]... | 5443 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5443/075c87d7e596ff9093a32e27ab10d55e69e0175d/yaml_load.js/buggy/lib/CGI/Ex/yaml_load.js |
if (! chomp || chomp == '-') node = node.replace('\n+$',''); if (chomp && chomp == '+') node += '\n'; | if (! chomp || chomp == '-') node = node.replace(new RegExp('\n$',''),''); | function yaml_parse_node (no_next) { if (! no_next) this.parse_next_line(2); // COLLECTION var preface = this.preface; this.preface = ''; var node = ''; var type = ''; var indicator = ''; var escape = ''; var chomp = ''; var info = this.parse_qualifiers(preface); var anchor = info[0]... | 5443 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5443/075c87d7e596ff9093a32e27ab10d55e69e0175d/yaml_load.js/buggy/lib/CGI/Ex/yaml_load.js |
node = node.replace(new RegExp('[ \\t]*\n[ \\t]*','gm'), ' '); | node = node.replace(new RegExp('[ \\t]*\n[ \\t]*(\\S)','gm'), ' $1'); | function yaml_parse_node (no_next) { if (! no_next) this.parse_next_line(2); // COLLECTION var preface = this.preface; this.preface = ''; var node = ''; var type = ''; var indicator = ''; var escape = ''; var chomp = ''; var info = this.parse_qualifiers(preface); var anchor = info[0]... | 5443 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5443/ce2ae9241f68d23fbd28bb06e2e082d4462e2cda/yaml_load.js/clean/lib/CGI/Ex/yaml_load.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/railties/html/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/railties/html/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/railties/html/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/railties/html/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/railties/html/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/railties/html/javascripts/prototype.js |
iterator(value = collections.pluck(index)); return value; | return iterator(collections.pluck(index)); | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); }, | 2019 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2019/cb20644c026e010b58d134c622b7dd70eddae16a/prototype.js/buggy/phpmyfaq/inc/js/prototype.js |
} | }, | zip: function() { var iterator = Prototype.K, args = $A(arguments); if (typeof args.last() == 'function') iterator = args.pop(); var collections = [this].concat(args).map($A); return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; }); } | 949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js |
if (!Event.isLeftClick(evt)) return; | zoomBarDown:function(evt) { this.map.events.register("mousemove", this, this.passEventToSlider); this.map.events.register("mouseup", this, this.passEventToSlider); this.mouseDragStart = evt.xy.copyOf(); this.zoomStart = evt.xy.copyOf(); this.div.style.cursor = "move"; Event... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/c92cd6d88a59f79879c73965c26269e13afa25e3/PanZoomBar.js/buggy/lib/OpenLayers/Control/PanZoomBar.js | |
if (!Event.isLeftClick(evt)) return; | zoomBarDown:function(evt) { this.map.events.register("mousemove", this, this.passEventToSlider); this.map.events.register("mouseup", this, this.passEventToSlider); this.mouseDragStart = evt.xy.copyOf(); this.zoomStart = evt.xy.copyOf(); this.div.style.cursor = "move"; Event... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/c92cd6d88a59f79879c73965c26269e13afa25e3/PanZoomBar.js/clean/lib/OpenLayers/Control/PanZoomBar.js | |
if (!Event.isLeftClick(evt)) return; | zoomBarUp:function(evt) { if (this.zoomStart) { this.div.style.cursor="default"; this.map.events.remove("mousemove"); this.map.events.remove("mouseup"); var deltaY = this.zoomStart.y - evt.xy.y this.map.zoomTo(this.map.zoom + Math.round(deltaY/this.zoomS... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/c92cd6d88a59f79879c73965c26269e13afa25e3/PanZoomBar.js/buggy/lib/OpenLayers/Control/PanZoomBar.js | |
if (!Event.isLeftClick(evt)) return; | zoomBarUp:function(evt) { if (this.zoomStart) { this.div.style.cursor="default"; this.map.events.remove("mousemove"); this.map.events.remove("mouseup"); var deltaY = this.zoomStart.y - evt.xy.y this.map.zoomTo(this.map.zoom + Math.round(deltaY/this.zoomS... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/c92cd6d88a59f79879c73965c26269e13afa25e3/PanZoomBar.js/clean/lib/OpenLayers/Control/PanZoomBar.js | |
this.map.viewPortDiv.removeChild(this.zoomBox); this.zoomBox = null; } | this.removeZoomBox(); } | zoomBoxEnd: function(evt) { if (this.mouseDragStart != null) { if (Math.abs(this.mouseDragStart.x - evt.xy.x) > 5 || Math.abs(this.mouseDragStart.y - evt.xy.y) > 5) { var start = this.map.getLonLatFromViewPortPx( this.mouseDragStart ); var end =... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/c38874b3745030f20fadeecec3f517ed70e9b134/MouseDefaults.js/clean/lib/OpenLayers/Control/MouseDefaults.js |
this.map.viewPortDiv.removeChild(document.getElementById("zoomBox")); | this.map.viewPortDiv.removeChild(this.zoomBox); | zoomBoxEnd: function(evt) { if (this.mouseDragStart != null) { if (Math.abs(this.mouseDragStart.x - evt.xy.x) > 5 || Math.abs(this.mouseDragStart.y - evt.xy.y) > 5) { var start = this.map.getLonLatFromViewPortPx( this.mouseDragStart ); var end =... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/24381c2f370fe994a653f81074f91e58fc0333d5/MouseDefaults.js/clean/lib/OpenLayers/Control/MouseDefaults.js |
this.map.viewPortDiv.removeChild(document.getElementById("zoomBox")); | this.map.viewPortDiv.removeChild(this.zoomBox); | zoomBoxEnd: function(evt) { if (this.mouseDragStart != null) { if (Math.abs(this.mouseDragStart.x - evt.xy.x) > 5 || Math.abs(this.mouseDragStart.y - evt.xy.y) > 5) { var start = this.map.getLonLatFromViewPortPx( this.mouseDragStart ); var end =... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/24381c2f370fe994a653f81074f91e58fc0333d5/MouseDefaults.js/buggy/lib/OpenLayers/Control/MouseDefaults.js |
this.map.viewPortDiv.removeChild(this.zoomBox); this.zoomBox = null; } | this.removeZoomBox(); } | zoomBoxEnd: function(evt) { if (this.mouseDragStart != null) { if (Math.abs(this.mouseDragStart.x - evt.xy.x) > 5 || Math.abs(this.mouseDragStart.y - evt.xy.y) > 5) { var start = this.map.getLonLatFromViewPortPx( this.mouseDragStart ); var end =... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/c38874b3745030f20fadeecec3f517ed70e9b134/MouseDefaults.js/clean/lib/OpenLayers/Control/MouseDefaults.js |
var oldZoom = this.zoom; | zoomExtent: function() { var fullExtent = this.getFullExtent(); this.zoom = this.getZoomForExtent( fullExtent ); this.setCenter( new OpenLayers.LatLon( (fullExtent.minlat+fullExtent.maxlat)/2, (fullExtent.minlon+fullExtent.maxlon)/2 ) ); ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/ed9b57b6df737ed58b33843285251114e8507962/Map.js/buggy/lib/OpenLayers/Map.js | |
this.moveToNewExtent(true); | zoomExtent: function() { var fullExtent = this.getFullExtent(); this.zoom = this.getZoomForExtent( fullExtent ); this.setCenter( new OpenLayers.LatLon( (fullExtent.minlat+fullExtent.maxlat)/2, (fullExtent.minlon+fullExtent.maxlon)/2 ) ); ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/ed9b57b6df737ed58b33843285251114e8507962/Map.js/buggy/lib/OpenLayers/Map.js | |
this.zoom = this.getZoomForExtent( fullExtent ); | zoomExtent: function() { var fullExtent = this.getFullExtent(); var oldZoom = this.zoom; this.zoom = this.getZoomForExtent( fullExtent ); this.setCenter( new OpenLayers.LonLat((fullExtent.left+fullExtent.right)/2, (fullExtent.bottom+fullExtent.top)... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/cdd26c1df23791ffc4e172c84fd58753580904b5/Map.js/buggy/lib/OpenLayers/Map.js | |
(fullExtent.bottom+fullExtent.top)/2) | (fullExtent.bottom+fullExtent.top)/2), 0 | zoomExtent: function() { var fullExtent = this.getFullExtent(); var oldZoom = this.zoom; this.zoom = this.getZoomForExtent( fullExtent ); this.setCenter( new OpenLayers.LonLat((fullExtent.left+fullExtent.right)/2, (fullExtent.bottom+fullExtent.top)... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/cdd26c1df23791ffc4e172c84fd58753580904b5/Map.js/buggy/lib/OpenLayers/Map.js |
this.zoom = this.getZoomForExtent( fullExtent ); | zoomExtent: function() { var fullExtent = this.getFullExtent(); var oldZoom = this.zoom; this.zoom = this.getZoomForExtent( fullExtent ); this.setCenter( new OpenLayers.LonLat((fullExtent.left+fullExtent.right)/2, (fullExtent.bottom+fullExtent.top)... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/cdd26c1df23791ffc4e172c84fd58753580904b5/Map.js/clean/lib/OpenLayers/Map.js | |
(fullExtent.bottom+fullExtent.top)/2) | (fullExtent.bottom+fullExtent.top)/2), 0 | zoomExtent: function() { var fullExtent = this.getFullExtent(); var oldZoom = this.zoom; this.zoom = this.getZoomForExtent( fullExtent ); this.setCenter( new OpenLayers.LonLat((fullExtent.left+fullExtent.right)/2, (fullExtent.bottom+fullExtent.top)... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/cdd26c1df23791ffc4e172c84fd58753580904b5/Map.js/clean/lib/OpenLayers/Map.js |
var oldZoom = this.zoom; | zoomExtent: function() { var fullExtent = this.getFullExtent(); this.zoom = this.getZoomForExtent( fullExtent ); this.setCenter( new OpenLayers.LatLon( (fullExtent.minlat+fullExtent.maxlat)/2, (fullExtent.minlon+fullExtent.maxlon)/2 ) ); ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/ed9b57b6df737ed58b33843285251114e8507962/Map.js/buggy/lib/OpenLayers/Map.js | |
this.moveToNewExtent(true); | zoomExtent: function() { var fullExtent = this.getFullExtent(); this.zoom = this.getZoomForExtent( fullExtent ); this.setCenter( new OpenLayers.LatLon( (fullExtent.minlat+fullExtent.maxlat)/2, (fullExtent.minlon+fullExtent.maxlon)/2 ) ); ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/ed9b57b6df737ed58b33843285251114e8507962/Map.js/buggy/lib/OpenLayers/Map.js | |
this.moveToNewExtent(true); this.events.triggerEvent("zoomend", {oldZoom: oldZoom, newZoom: this.zoom}); | this.moveToNewExtent(oldZoom); | zoomTo: function(zoom) { if (zoom >= 0 && zoom <= this.getZoomLevels()) { var oldZoom = this.zoom; this.zoom = zoom; this.moveToNewExtent(true); this.events.triggerEvent("zoomend", {oldZoom: oldZoom, newZoom: this.zoom}); } }, | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/ed9b57b6df737ed58b33843285251114e8507962/Map.js/buggy/lib/OpenLayers/Map.js |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.