rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 13 136k | meta stringlengths 132 347 |
|---|---|---|---|
if (debugMode) { sendLogMessageToRClater(message, logLevel); } | function logToRc(message, logLevel) { //sendToRC(message, "logLevel=" + logLevel);} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/cd4ca8e4a183901b5fae2aff5175fe5707855627/selenium-seleneserunner.js/buggy/code/javascript/core/scripts/selenium-seleneserunner.js | |
sendToRC("logLevel=" + logLevel + ":" + message.replace(/[\n\r\015]/, " ") + "\n"); | sendToRC("logLevel=" + logLevel + ":" + message.replace(/[\n\r\015]/g, " ") + "\n"); | function logToRc(message, logLevel) { if (logLevel == null) { logLevel = "debug"; } if (debugMode) { sendToRC("logLevel=" + logLevel + ":" + message.replace(/[\n\r\015]/, " ") + "\n"); }} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/76a494a3a86a91358a61cf83f1a1dce87aa759a8/selenium-seleneserunner.js/clean/code/javascript/core/scripts/selenium-seleneserunner.js |
sendToRC("logLevel=" + logLevel + ":" + message + "\n"); | sendLogMessageToRClater(message, logLevel); | function logToRc(message, logLevel) { if (debugMode) { sendToRC("logLevel=" + logLevel + ":" + message + "\n"); }} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/a45590122265044fcacdd946fda9f4d780897b18/selenium-seleneserunner.js/clean/code/javascript/core/scripts/selenium-seleneserunner.js |
function lookForToken(token) { | function lookForToken(token, persist) { | function lookForToken(token) { if (window.location.search.indexOf(token) != -1) { document.cookie = ("DataApplet="+token+"; path=/"); return true; } return (document.cookie.indexOf("DataApplet="+token) != -1);} | 3753 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3753/82638a6970b44dcedfb93295b0a83ecf5c4382f9/data.js/clean/pspdash/Templates/data.js |
document.cookie = ("DataApplet="+token+"; path=/"); | var ckie = "DataApplet=" + token + "; path=/"; if (persist) { ckie = ckie + "; expires=Wednesday, 31-Dec-08 23:00:00 GMT"; } document.cookie = ckie; | function lookForToken(token) { if (window.location.search.indexOf(token) != -1) { document.cookie = ("DataApplet="+token+"; path=/"); return true; } return (document.cookie.indexOf("DataApplet="+token) != -1);} | 3753 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3753/82638a6970b44dcedfb93295b0a83ecf5c4382f9/data.js/clean/pspdash/Templates/data.js |
loop: function() { var timePos = new Date().getTime(); | loop: function(timePos) { | loop: function() { var timePos = new Date().getTime(); if(timePos >= this.startOn) { if(timePos >= this.finishOn) { this.cancel(); this.render(1.0); if(this.finish) this.finish(); if(this.options.afterFinish) this.options.afterFinish(this); return; } var pos ... | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/cd20286092d311391869aa6031bdd86b5e047d0f/effects.js/clean/src/effects.js |
if(!this.interval) this.interval = setInterval(this.loop.bind(this), 1000/this.options.fps); | loop: function() { var timePos = new Date().getTime(); if(timePos >= this.startOn) { if(timePos >= this.finishOn) { this.cancel(); this.render(1.0); if(this.finish) this.finish(); if(this.options.afterFinish) this.options.afterFinish(this); return; } var pos ... | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/cd20286092d311391869aa6031bdd86b5e047d0f/effects.js/clean/src/effects.js | |
loop: function() { var timePos = new Date().getTime(); if(timePos >= this.finishOn) { this.render(this.options.to); if(this.finish) this.finish(); if(this.options.afterFinish) this.options.afterFinish(this); return; | loop: function(timePos) { if(timePos >= this.startOn) { if(timePos >= this.finishOn) { this.render(1.0); this.cancel(); this.event('beforeFinish'); if(this.finish) this.finish(); this.event('afterFinish'); return; } var pos = (timePos - this.startOn) / (this.finishOn - this.startOn); var frame = Math.round(pos * this... | loop: function() { var timePos = new Date().getTime(); if(timePos >= this.finishOn) { this.render(this.options.to); if(this.finish) this.finish(); if(this.options.afterFinish) this.options.afterFinish(this); return; } var pos = (timePos - this.startOn) / (this.finishOn - this.star... | 742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/effects.js/buggy/public/javascripts/effects.js |
var pos = (timePos - this.startOn) / (this.finishOn - this.startOn); var frame = Math.round(pos * this.options.fps * this.options.duration); if(frame > this.currentFrame) { this.render(pos); this.currentFrame = frame; } this.timeout = setTimeout(this.loop.bind(this), 10); | loop: function() { var timePos = new Date().getTime(); if(timePos >= this.finishOn) { this.render(this.options.to); if(this.finish) this.finish(); if(this.options.afterFinish) this.options.afterFinish(this); return; } var pos = (timePos - this.startOn) / (this.finishOn - this.star... | 742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/effects.js/buggy/public/javascripts/effects.js | |
this.render(this.options.to); | this.render(1.0); | loop: function() { var timePos = new Date().getTime(); if(timePos >= this.finishOn) { this.render(this.options.to); if(this.finish) this.finish(); if(this.options.afterFinish) this.options.afterFinish(this); return; } var pos = (timePos - this.startOn) / (this.finishOn - this.star... | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/b62adddaf6f47d2b721ec8d476b77567baee1ba9/effects.js/clean/src/effects.js |
var reName4 = /([^@]+)*@.*/ | var reName4 = /([^@]+)@.*/ | function mail_get_name(strIn) { var reName1 = /[^\"]*\"([^\"]*)\".*/ //quoted name var reName2 = /(\S[^<]+)\s+<.*/ //unquoted name var reName3 = /[^<]*<([^@>]+).*/ //first part of <email address> var reName4 = /([^@]+)*@.*/ //first part of email address if (reName1.test(strIn)) return strIn.replace(reName1,"$1");... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/e655e5bc99dd3ae23b0e179b84e1882f1220e8b2/mailutil.js/buggy/load/mailutil.js |
} while(mainbar.items[mainbar.current].disabled || mainbar.items[mainbar.current].retval==undefined)) | } while(mainbar.items[mainbar.current].disabled || mainbar.items[mainbar.current].retval==undefined) | function main_left(){ do { if(mainbar.current==0) mainbar.current=mainbar.items.length; mainbar.current--; } while(mainbar.items[mainbar.current].disabled || mainbar.items[mainbar.current].retval==undefined)) next_key=mainbar.items[mainbar.current].retval; if(next_key=='G' || next_key==';') next_key='';} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/423000dd1e3d520e62419d6cdeb7f99188c25460/lbshell.js/buggy/lbshell.js |
} while(mainbar.items[mainbar.current].disabled || mainbar.items[mainbar.current].retval==undefined)) | } while(mainbar.items[mainbar.current].disabled || mainbar.items[mainbar.current].retval==undefined) | function main_right(){ do { mainbar.current++; if(mainbar.current==mainbar.items.length) mainbar.current=0; } while(mainbar.items[mainbar.current].disabled || mainbar.items[mainbar.current].retval==undefined)) next_key=mainbar.items[mainbar.current].retval; if(next_key=='G' || next_key==';') next_key='';} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/423000dd1e3d520e62419d6cdeb7f99188c25460/lbshell.js/buggy/lbshell.js |
this.hotkeys=KEY_DOWN+";"; | this.hotkeys=KEY_DOWN+";"+ctrl('O')+ctrl('U')+ctrl('T')+ctrl('K')+ctrl('P'); | function Mainbar(){ /* ToDo: They all need this... feels like a bug to ME */ this.items=new Array(); this.direction=1; this.xpos=2; this.ypos=1; this.hotkeys=KEY_DOWN+";"; this.add("|File","F",undefined,undefined,undefined,user.compare_ars("REST T")); this.add("|Messages","M"); this.add("|Email","E",undefined,undefined... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/34f6c69cd3ce42ea1878ef314f794dabc773eb90/lbshell.js/clean/lbshell.js |
win.user_parent = parent; | win.user_parent = (parent && parent != undefined) ? parent : false; | function make_hop_iwindow( id, klass, parent ) { var win = document.createElement( "div" ); win.id = id; win.className = klass; win.name = "hop-iwindow"; var t = "\<TABLE id='" + id + "-main' class='hop-iwindow' \ cellpadding='0' cellspacing='0' border='0'>\ <TR>\ <TD class='hop-iwindow-top' valign=... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/85e974053073d7c6e820994093c18cf1fffe3fbd/hop-iwindow.js/buggy/share/hop-iwindow.js |
win.el_handle.onmousedown = function( event ) { if( event == undefined ) event = window.event; hop_iwindow_drag( event, win ) }; | hop_add_event_listener( win.el_handle, "mousedown", function( event ) { hop_iwindow_drag( event, win ) } ); | function make_hop_iwindow( id, klass, parent ) { var win = document.createElement( "div" ); win.id = id; win.className = klass; win.name = "hop-iwindow"; var t = "\<TABLE id='" + id + "-main' class='hop-iwindow' \ cellpadding='0' cellspacing='0' border='0'>\ <TR>\ <TD class='hop-iwindow-top' valign=... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-iwindow.js/clean/share/hop-iwindow.js |
win.el_resize_middle.onmousedown = function( event ) { if( event == undefined ) event = window.event; hop_iwindow_resize( event, win, false, true ); }; | hop_add_event_listener( win.el_resize_middle, "mousedown", function( event ) { hop_iwindow_resize( event, win, false, true ) } ); hop_add_event_listener( win.el_resize_right, "mousedown", function( event ) { hop_iwindow_resize( event, win, true, true ) } ); | function make_hop_iwindow( id, klass, parent ) { var win = document.createElement( "div" ); win.id = id; win.className = klass; win.name = "hop-iwindow"; var t = "\<TABLE id='" + id + "-main' class='hop-iwindow' \ cellpadding='0' cellspacing='0' border='0'>\ <TR>\ <TD class='hop-iwindow-top' valign=... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-iwindow.js/clean/share/hop-iwindow.js |
win.el_resize_right.onmousedown = function( event ) { if( event == undefined ) event = window.event; hop_iwindow_resize( event, win, true, true ); }; win.el_resize_left.onmousedown = function( event ) { if( event == undefined ) event = window.event; hop_iwindow_resize( event, win, false, false ); }; | hop_add_event_listener( win.el_resize_left, "mousedown", function( event ) { hop_iwindow_resize( event, win, false, false ) } ); | function make_hop_iwindow( id, klass, parent ) { var win = document.createElement( "div" ); win.id = id; win.className = klass; win.name = "hop-iwindow"; var t = "\<TABLE id='" + id + "-main' class='hop-iwindow' \ cellpadding='0' cellspacing='0' border='0'>\ <TR>\ <TD class='hop-iwindow-top' valign=... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-iwindow.js/clean/share/hop-iwindow.js |
function make_hop_iwindow( id, class, parent ) { | function make_hop_iwindow( id, klass, parent ) { var win = document.createElement( "div" ); win.id = id; win.className = klass; win.name = "hop-iwindow"; var t = "\ <TABLE id='" + id + "-main' class='hop-iwindow' \ cellpadding='0' cellspacing='0' border='0'>\ <TR>\ <TD class='hop-iwindow-top' valign='top'>\ <TABLE id... | function make_hop_iwindow( id, class, parent ) { | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/737cbaf83d84c17cd17f1c4c7d6d6aaf1da87b7a/hop-iwindow.js/clean/share/hop-iwindow.js |
function make_hop_iwindow( id, klass, parent ) { var win = document.createElement( "div" ); win.id = id; win.className = klass; win.name = "hop-iwindow"; var t = "\<TABLE id='" + id + "-main' class='hop-iwindow' \ cellpadding='0' cellspacing='0' border='0'>\ <TR>\ <TD class='hop-iwindow-top' vali... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/d6084b08745dad0eb19b44957aabebface67a1ec/hop-iwindow.js/clean/share/hop-iwindow.js | ||
if( event == undefined ) event = window.event; | function make_hop_iwindow( id, klass, parent ) { var win = document.createElement( "div" ); win.id = id; win.className = klass; win.name = "hop-iwindow"; var t = "\<TABLE id='" + id + "-main' class='hop-iwindow' \ cellpadding='0' cellspacing='0' border='0'>\ <TR>\ <TD class='hop-iwindow-top' valign=... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/d9d6b2e3c521aa0e9b012cc36e10a59371fdfee5/hop-iwindow.js/buggy/share/hop-iwindow.js | |
while((nl[nl.length-1].text.length%8) { | while(nl[nl.length-1].text.length%8) { | function make_lines(str, attr, nl_is_hardcr){ nl=new Array(); var spos=0; var apos=0; thisattr=7; while(spos < str.length) { var done=false; nl[nl.length]=new Line; while(spos < str.length && !done) { if(apos < attr.length) { thisattr=ascii(attr.charAt(apos)); apos++; } switch(str.charAt(spos)) { case... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/265d8d3ebb39c7634ca01c8ea8368593ca47e03c/fseditor.js/clean/fseditor.js |
} } return(nl); } | function make_lines(str, attr, nl_is_hardcr){ nl=new Array(); var spos=0; var apos=0; thisattr=7; while(spos < str.length) { var done=false; nl[nl.length]=new Line; while(spos < str.length && !done) { if(apos < attr.length) { thisattr=ascii(attr.charAt(apos)); apos++; } switch(str.charAt(spos)) { case... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/265d8d3ebb39c7634ca01c8ea8368593ca47e03c/fseditor.js/clean/fseditor.js | |
spos++; | function make_lines(str, attr, nl_is_hardcr){ nl=new Array(); var spos=0; var apos=0; thisattr=7; while(spos < str.length) { var done=false; nl[nl.length]=new Line; while(spos < str.length && !done) { if(apos < attr.length) { thisattr=ascii(attr.charAt(apos)); apos++; } switch(str.charAt(spos)) { case... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/6c0eaca1c558bd4ac391e23cfd6897b4442b8d83/fseditor.js/buggy/fseditor.js | |
if((!(thisattr&0x80) && lastattr&0x80) || (!(thisattr&0x08) && lastattr&0x08)) { | if(((!(thisattr&0x80)) && (lastattr&0x80)) || ((!(thisattr&0x08)) && (lastattr&0x08))) { | function make_strings(soft,embed_colour){ var i; var str=''; var attrs=''; /* ToDo: Do we want to explicitly init the attr if it's normal? */ var lastattr=7; var thisattr; for(i=0; i<line.length; i++) { if(embed_colour) { for(j=0;j<line[i].text.length;j++) { if((thisattr=ascii(line[i].attr.substr(j,1)))!=lastattr... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/4feb357987699a30d21e959879afc99e2111a294/fseditor.js/buggy/fseditor.js |
if(thisattr&0x80 && (!lastattr&0x80)) /* Blink */ | if((thisattr&0x80) && (!(lastattr&0x80))) /* Blink */ | function make_strings(soft,embed_colour){ var i; var str=''; var attrs=''; /* ToDo: Do we want to explicitly init the attr if it's normal? */ var lastattr=7; var thisattr; for(i=0; i<line.length; i++) { if(embed_colour) { for(j=0;j<line[i].text.length;j++) { if((thisattr=ascii(line[i].attr.substr(j,1)))!=lastattr... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/4feb357987699a30d21e959879afc99e2111a294/fseditor.js/buggy/fseditor.js |
if(thisattr&0x08 && (!lastattr&0x08)) /* High Intensity */ | if((thisattr&0x08) && (!(lastattr&0x08))) /* High Intensity */ | function make_strings(soft,embed_colour){ var i; var str=''; var attrs=''; /* ToDo: Do we want to explicitly init the attr if it's normal? */ var lastattr=7; var thisattr; for(i=0; i<line.length; i++) { if(embed_colour) { for(j=0;j<line[i].text.length;j++) { if((thisattr=ascii(line[i].attr.substr(j,1)))!=lastattr... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/4feb357987699a30d21e959879afc99e2111a294/fseditor.js/buggy/fseditor.js |
if (element._overflow) return; | if (element._overflow) return element; | makeClipping: function(element) { element = $(element); if (element._overflow) return; element._overflow = element.style.overflow || 'auto'; if ((Element.getStyle(element, 'overflow') || 'visible') != 'hidden') element.style.overflow = 'hidden'; return element; }, | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/e4fbd7ea1ad67665241c7a4b0836d999119110a3/prototype.js/clean/lib/prototype.js |
return CONTEXT_PREFIX+'/'+PUBLICATION_ID+"/info-"+area+"/"+link+"?lenya.usecase=tab.overview"; | return CONTEXT_PREFIX+'/'+PUBLICATION_ID+"/"+area+"/"+link+"?lenya.usecase=tab.overview"; | var makeHref = function makeDefaultHref(area, link){ return CONTEXT_PREFIX+'/'+PUBLICATION_ID+"/info-"+area+"/"+link+"?lenya.usecase=tab.overview"; } | 791 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/557a10f847801104aeda788a600585527a89d6b2/tree.js/clean/src/webapp/lenya/resources/javascript/tree.js |
if(Element.getStyle(element, 'position')=='static') { | var pos = Element.getStyle(element, 'position'); if(pos =='static' || !pos) { | Element.makePositioned = function(element) { element = $(element); if(Element.getStyle(element, 'position')=='static') { element._madePositioned = true; element.style.position = "relative"; // Opera returns the offset relative to the positioning context, when an element is position relative // but top an... | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/50a4f8657717d3be324fdb42e230d18e5a60c70f/util.js/buggy/src/util.js |
if(Element.getStyle(element, 'position') == "") | if(Element.getStyle(element, 'position')=='static') | Element.makePositioned = function(element) { element = $(element); if(Element.getStyle(element, 'position') == "") element.style.position = "relative";} | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/61e30b5c5639eaadd361e3760b3245758eda7de2/effects.js/clean/src/effects.js |
tinyMCE.importPluginLanguagePack('table','en,tr,ar,cs,da,de,el,es,fi,fr_ca,hu,it,ja,ko,nl,nb,pl,pt,pt_br,sv,tw,zh_cn,fr,de,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,cy,is,zh_tw,zh_tw_utf8,sk');var TinyMCE_TablePlugin={getInfo:function(){return{longname:'Tables',author:'Moxiecode Systems',authorurl:'http: | tinyMCE.importPluginLanguagePack('table');var TinyMCE_TablePlugin={getInfo:function(){return{longname:'Tables',author:'Moxiecode Systems AB',authorurl:'http: | tinyMCE.importPluginLanguagePack('table','en,tr,ar,cs,da,de,el,es,fi,fr_ca,hu,it,ja,ko,nl,nb,pl,pt,pt_br,sv,tw,zh_cn,fr,de,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,cy,is,zh_tw,zh_tw_utf8,sk');var TinyMCE_TablePlugin={getInfo:function(){return{longname:'Tables',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',i... | 10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/editor_plugin.js/buggy/mambots/editors/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin.js |
part.appendChild(document.createTextNode(init)); | part.innerHTML = init; | function makeTimePart(className, init, range_start, range_end) { var part = Calendar.createElement("span", cell); part.className = className; part.appendChild(document.createTextNode(init)); part.calendar = cal; part.ttip = Calendar._TT["TIME_PART"]; part.navtype = 50; part._range = []; if (t... | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/buggy/branches/BRANCH_0_8_6/cacti/include/jscalendar/calendar.js |
part.appendChild(document.createTextNode(init)); | part.innerHTML = init; | function makeTimePart(className, init, range_start, range_end) { var part = Calendar.createElement("span", cell); part.className = className; part.appendChild(document.createTextNode(init)); part.calendar = cal; part.ttip = Calendar._TT["TIME_PART"]; part.navtype = 50; part._range = []; if (t... | 5527 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5527/8aafb027d457b746fd546c4a097b431e06b00849/calendar.js/clean/trunk/cacti/include/js/jscalendar/calendar.js |
"resizable,centerscreen,modal"); } | "resizable,centerscreen,modal"); } | function manageMenuItemClicked() { window.openDialog("chrome://greasemonkey/content/manage.xul", "manager", "resizable,centerscreen,modal"); } | 2115 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2115/315119498beb3f038b2f331f4abecd4970a6a857/browser.js/clean/src/content/browser.js |
cached.content = cached.content.replace(closes_re, rewrite_closes_fn); | var new_content = cached.content.replace(closes_re, rewrite_closes_fn); if (cached.content_type == 'text/plain') { cached.content = '<pre>' + new_content + '</pre>'; vs.plain = "0"; } else { cached.content = new_content; } | function mangle_deb_bugnumbers(cached, vs) { if (!cached.uri.match(/^[a-z0-9]+:\/\/[a-z0-9A-Z.-]+debian\.org/) && !cached.uri.match(/changelog\.Debian/)) return true; var num_re = /([0-9]+)/g; var rewrite_closes_fn = function (str) { return str.replace(num_re, '<a href="http://bugs.debian.org/$1... | 2461 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2461/2e9d433402d44eafa1630e10760b2635a5d6072b/hooks.js/clean/contrib/smjs/hooks.js |
cached.content = cached.content.replace(closes_re, rewrite_closes_fn); | var new_content = cached.content.replace(closes_re, rewrite_closes_fn); if (cached.content_type == 'text/plain') { cached.content = '<pre>' + new_content + '</pre>'; vs.plain = "0"; } else { cached.content = new_content; } | function mangle_deb_bugnumbers(cached, vs) { if (!cached.uri.match(/^[a-z0-9]+:\/\/[a-z0-9A-Z.-]+debian\.org/) && !cached.uri.match(/changelog\.Debian/)) return true; var num_re = /([0-9]+)/g; var rewrite_closes_fn = function (str) { return str.replace(num_re, '<a href="http://bugs.debian.org/$1... | 2130 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2130/2e9d433402d44eafa1630e10760b2635a5d6072b/hooks.js/buggy/contrib/smjs/hooks.js |
if (cached.content_type == 'text/plain') { | if (cached.type == 'text/plain') { | function mangle_deb_bugnumbers(cached, vs) { if (!cached.uri.match(/^[a-z0-9]+:\/\/[a-z0-9A-Z.-]+debian\.org/) && !cached.uri.match(/changelog\.Debian/)) return true; var num_re = /([0-9]+)/g; var rewrite_closes_fn = function (str) { return str.replace(num_re, '<a href="http://bugs.debian.org/$1... | 2130 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2130/8d91c501a6f02679723a00dc1e8ad6ddd883a64c/hooks.js/clean/contrib/smjs/hooks.js |
if (cached.content_type == 'text/plain') { | if (cached.type == 'text/plain') { | function mangle_deb_bugnumbers(cached, vs) { if (!cached.uri.match(/^[a-z0-9]+:\/\/[a-z0-9A-Z.-]+debian\.org/) && !cached.uri.match(/changelog\.Debian/)) return true; var num_re = /([0-9]+)/g; var rewrite_closes_fn = function (str) { return str.replace(num_re, '<a href="http://bugs.debian.org/$1... | 2461 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2461/8d91c501a6f02679723a00dc1e8ad6ddd883a64c/hooks.js/clean/contrib/smjs/hooks.js |
Sortable._marker.style.zIndex = 'absolute'; | mark: function(dropon, position) { if(!Sortable._marker) { Sortable._marker = document.createElement('DIV'); Element.hide(Sortable._marker); Element.Class.add(Sortable._marker, 'dropmarker'); Sortable._marker.style.position = 'absolute'; Sortable._marker.style.zIndex = 'absolute'; doc... | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/da511d61a89ac202ae751b4db93e89d430866ab3/dragdrop.js/buggy/src/dragdrop.js | |
Sortable._marker = document.createElement('DIV'); | Sortable._marker = $('dropmarker') || document.createElement('DIV'); | mark: function(dropon, position) { if(!Sortable._marker) { Sortable._marker = document.createElement('DIV'); Element.hide(Sortable._marker); Element.Class.add(Sortable._marker, 'dropmarker'); Sortable._marker.style.position = 'absolute'; document.getElementsByTagName("body").item(0).append... | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/27843cc794ea572255b05d7eb65aaef3e9da252e/dragdrop.js/clean/src/dragdrop.js |
Sortable._marker.style.top = offsets[1] + 'px'; if(position=='after') Sortable._marker.style.top = (offsets[1]+dropon.clientHeight) + 'px'; | mark: function(dropon, position) { // mark on ghosting only var sortable = Sortable.options(dropon.parentNode); if(sortable && !sortable.ghosting) return; if(!Sortable._marker) { Sortable._marker = $('dropmarker') || document.createElement('DIV'); Element.hide(Sortable._marker); Element.ad... | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/82f05ba4cca87df8f3e362ed292d459529b1295d/dragdrop.js/clean/src/dragdrop.js | |
Sortable._marker.style.top = offsets[1] + 'px'; if(position=='after') if(sortable.overlap == 'horizontal') Sortable._marker.style.left = (offsets[0]+dropon.clientWidth) + 'px'; else Sortable._marker.style.top = (offsets[1]+dropon.clientHeight) + 'px'; | mark: function(dropon, position) { // mark on ghosting only var sortable = Sortable.options(dropon.parentNode); if(sortable && !sortable.ghosting) return; if(!Sortable._marker) { Sortable._marker = $('dropmarker') || document.createElement('DIV'); Element.hide(Sortable._marker); Element.ad... | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/82f05ba4cca87df8f3e362ed292d459529b1295d/dragdrop.js/clean/src/dragdrop.js | |
var sortable = Sortable.options(dropon.parentNode); if(sortable && !sortable.ghosting) return; | mark: function(dropon, position) { if(!Sortable._marker) { Sortable._marker = $('dropmarker') || document.createElement('DIV'); Element.hide(Sortable._marker); Element.Class.add(Sortable._marker, 'dropmarker'); Sortable._marker.style.position = 'absolute'; document.getElementsByTagName("bo... | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/a4b6caf034e1f20e4517a9aee6de46727b624d9a/dragdrop.js/clean/src/dragdrop.js | |
this.getEntry(this.index).scrollIntoView(false); | markNext: function() { if(this.index < this.entryCount-1) this.index++ else this.index = 0; }, | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/70498f115e3022b441a0f2e34eaa65445f758f7f/controls.js/clean/src/controls.js | |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/railties/html/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
this.getEntry(this.index).scrollIntoView(true); | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCount-1; }, | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/70498f115e3022b441a0f2e34eaa65445f758f7f/controls.js/clean/src/controls.js | |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/actionpack/lib/action_view/helpers/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/actionpack/lib/action_view/helpers/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/actionpack/lib/action_view/helpers/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/actionpack/lib/action_view/helpers/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/railties/html/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/actionpack/lib/action_view/helpers/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/actionpack/lib/action_view/helpers/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/railties/html/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/812b3a43c3a8a6efb4298c4118a3a6294a8a9830/controls.js/buggy/src/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/clean/railties/html/javascripts/controls.js |
else this.index = this.entryCcount-1; | else this.index = this.entryCount-1; | markPrevious: function() { if(this.index > 0) this.index-- else this.index = this.entryCcount-1; }, | 107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/7d101d58400acaff232091485c8e140f0a37cbaf/controls.js/buggy/actionpack/lib/action_view/helpers/javascripts/controls.js |
return mtchstr.match(final_mask); | return mtchstr.toUpperCase().match(final_mask.toUpperCase()); | function match_irc_mask(mtchstr,mask) { final_mask="^"; mask=mask.replace(/[.]/g,"\\\."); mask=mask.replace(/[?]/g,"."); mask=mask.replace(/[*]/g,".*?"); final_mask=final_mask + mask + "$"; return mtchstr.match(final_mask);} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/995570afd2ebfd8ca9cc37782b0e8fc41222eae4/ircd.js/clean/ircd.js |
return elements.select(selector.match.bind(selector)); | return elements.select(selector.match.bind(selector)).collect(Element.extend); | matchElements: function(elements, expression) { var selector = new Selector(expression); return elements.select(selector.match.bind(selector)); }, | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/5b4e6f2ec3060c014c75fcb350d82a0f1753e449/prototype.js/clean/lib/prototype.js |
PatternMatcher.matches = function(pattern, actual) { return new PatternMatcher(pattern).matches(actual); }; | this.matches = function(actual) { return this.regexp.test(actual); }; | PatternMatcher.matches = function(pattern, actual) { return new PatternMatcher(pattern).matches(actual);}; | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/732ba676fd79b000d33b0b863900a6e4d545f2e0/selenium-api.js/buggy/code/javascript/selenium-api.js |
PatternMatcher.matches = function(pattern, actual) { return new PatternMatcher(pattern).matches(actual); }; | this.matches = function(actual) { return this.regexp.test(actual); }; | PatternMatcher.matches = function(pattern, actual) { return new PatternMatcher(pattern).matches(actual);}; | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/c23d8c75e575edee0609da00f3d91908b062e9b5/selenium-api.js/buggy/code/javascript/selenium-api.js |
if (value >= (result || value)) | if (result == undefined || value >= result) | max: function(iterator) { var result; this.each(function(value, index) { value = (iterator || Prototype.K)(value, index); if (value >= (result || value)) result = value; }); return result; }, | 2320 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2320/19200c26046dc00f15305e03b7c1d28b4c38c952/prototype.js/clean/web/scripts/prototype.js |
if (value >= (result || value)) | if (result == undefined || value >= result) | max: function(iterator) { var result; this.each(function(value, index) { value = (iterator || Prototype.K)(value, index); if (value >= (result || value)) result = value; }); return result; }, | 2019 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2019/cb20644c026e010b58d134c622b7dd70eddae16a/prototype.js/buggy/phpmyfaq/inc/js/prototype.js |
return(this.isVertical() ? this.track.offsetHeight - this.alignY : this.track.offsetWidth - this.alignX); | return(this.isVertical() ? (this.track.offsetHeight != 0 ? this.track.offsetHeight : this.track.style.height.replace(/px$/,"")) - this.alignY : (this.track.offsetWidth != 0 ? this.track.offsetWidth : this.track.style.width.replace(/px$/,"")) - this.alignY); | maximumOffset: function(){ return(this.isVertical() ? this.track.offsetHeight - this.alignY : this.track.offsetWidth - this.alignX); }, | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/50fa4017bc8204abb70f0a2e72e3df33340e3077/slider.js/clean/src/slider.js |
if (menu == null|| object == null) | if (menu == null || object == null) | function menu_init(object_name){ var menu = document.getElementById(object_name + '_menu'); var object = document.getElementById(object_name); if (menu == null|| object == null) { return; } object.onclick = function() { /* Open or close the menu */ if (menu.style.display == 'none') { menu_show(object_name); } ... | 9568 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9568/017a5d8a5e3ae73b31ec82a071eacc7f2bdc02e8/menu.js/buggy/cms/trunk/javascript/menu.js |
menu.style.position = 'absolute'; menu.style.zIndex = 1000; | menu.style.position = is_gecko ? 'fixed' : 'absolute'; menu.style.zIndex = 1; | function menu_init(object_name){ var menu = document.getElementById(object_name + '_menu'); var object = document.getElementById(object_name); if (menu == null|| object == null) { return; } object.onclick = function() { /* Open or close the menu */ if (menu.style.display == 'none') { menu_show(object_name); } ... | 9568 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9568/017a5d8a5e3ae73b31ec82a071eacc7f2bdc02e8/menu.js/buggy/cms/trunk/javascript/menu.js |
if (!is_gecko) { var window_offset = (window.pageYOffset) ? window.pageYOffset : (document.body.scrollTop) ? document.body.scrollTop : document.documentElement.scrollTop; object_offsets['top'] = Number(window_offset) + object_offsets['top']; } | function menu_show(object_name){ var menu = document.getElementById(object_name + '_menu'); var object = document.getElementById(object_name); if (menu == null|| object == null) { return; } // If a menu is open, lets close it if (active_menu) { menu_hide(active_menu); } active_menu = object_name; // best to do this... | 9568 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9568/017a5d8a5e3ae73b31ec82a071eacc7f2bdc02e8/menu.js/buggy/cms/trunk/javascript/menu.js | |
function menuOut() { document.onclick = eventHideMenu; if (document.all) event.cancelBubble=true } | function menuOut() { document.onclick = eventHideMenu; if (window.event != null) window.event.cancelBubble=true; } | function menuOut() { document.onclick = eventHideMenu; if (document.all) event.cancelBubble=true } | 791 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/ebc78f352a92ad64ced940cdce53759233257fa2/menu.js/clean/src/webapp/lenya/resources/menu/menu.js |
function menuOver() { document.onclick = null; if (document.all) event.cancelBubble=true } | function menuOver() { document.onclick = null; if (window.event != null) window.event.cancelBubble=true; } | function menuOver() { document.onclick = null; if (document.all) event.cancelBubble=true } | 791 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/ebc78f352a92ad64ced940cdce53759233257fa2/menu.js/clean/src/webapp/lenya/resources/menu/menu.js |
if (!AutoValidator.validate(formObj)) { alert(tinyMCE.getLang('lang_invalid_data')); return false; } | function mergeCells() { var args = new Array(); var formObj = document.forms[0]; args["numcols"] = formObj.numcols.value; args["numrows"] = formObj.numrows.value; tinyMCEPopup.execCommand("mceTableMergeCells", false, args); tinyMCEPopup.close();} | 10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/merge_cells.js/clean/mambots/editors/tinymce/jscripts/tiny_mce/plugins/table/jscripts/merge_cells.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 Messagemenu(){ var width=31; if(width<8+msg_area.grp_list[bbs.curgrp].sub_list[bbs.cursub].name.length) width=8+msg_area.grp_list[bbs.curgrp].sub_list[bbs.cursub].name.length this.items=new Array(); this.xpos=7; this.ypos=2; this.lpadding="\xb3"; this.rpadding="\xb3"; this.hotkeys=KEY_LEFT+KEY_RIGHT+"\b\x7f\... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/34f6c69cd3ce42ea1878ef314f794dabc773eb90/lbshell.js/clean/lbshell.js |
if (value <= (result || value)) | if (result == undefined || value < result) | min: function(iterator) { var result; this.each(function(value, index) { value = (iterator || Prototype.K)(value, index); if (value <= (result || value)) result = value; }); return result; }, | 2320 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2320/19200c26046dc00f15305e03b7c1d28b4c38c952/prototype.js/clean/web/scripts/prototype.js |
if (value <= (result || value)) | if (result == undefined || value < result) | min: function(iterator) { var result; this.each(function(value, index) { value = (iterator || Prototype.K)(value, index); if (value <= (result || value)) result = value; }); return result; }, | 2019 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2019/cb20644c026e010b58d134c622b7dd70eddae16a/prototype.js/buggy/phpmyfaq/inc/js/prototype.js |
return new Color(rgb); | return new Color(rgb, 'rgb'); | mix: function(){ var colors = $A(arguments); var alpha = ($type(colors[colors.length-1]) == 'number') ? colors.pop() : 50; var rgb = this.copy(); colors.each(function(color){ color = new Color(color); for (var i = 0; i < 3; i++) rgb[i] = Math.round((rgb[i] / 100 * (100 - alpha)) + (color[i] / 100 * alpha)); }... | 5409 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5409/a22dce4bef6b4ef18ff83107a76bdac505312ab0/Color.js/clean/Addons/Color.js |
return new Color(rgb); | return new Color(rgb, 'rgb'); | mix: function(){ var colors = $A(arguments); var alpha = ($type(colors[colors.length-1]) == 'number') ? colors.pop() : 50; var rgb = this.copy(); colors.each(function(color){ color = new Color(color); for (var i = 0; i < 3; i++) rgb[i] = Math.round((rgb[i] / 100 * (100 - alpha)) + (color[i] / 100 * alpha)); }... | 6991 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6991/a22dce4bef6b4ef18ff83107a76bdac505312ab0/Color.js/buggy/Addons/Color.js |
if (colors.length == 2 && $type(colors[1]) == 'number'){ alpha = colors[1]; colors.pop(); } var mixed = this; | if ($type(colors[colors.length-1]) == 'number') alpha = colors.pop(); var mixed = this.copy(); | mix: function(){ var colors = $A(arguments); var alpha = 50; if (colors.length == 2 && $type(colors[1]) == 'number'){ alpha = colors[1]; colors.pop(); } var mixed = this; colors.each(function(color){ var rgb = []; color = new Color(color); for (var i = 0; i < 3; i++) rgb.push(Math.round((mixed[i] / 100... | 6991 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6991/af3f8ba3d7a60e124186780a2800f7d435426db3/Color.js/clean/Addons/Color.js |
var rgb = []; | mix: function(){ var colors = $A(arguments); var alpha = 50; if (colors.length == 2 && $type(colors[1]) == 'number'){ alpha = colors[1]; colors.pop(); } var mixed = this; colors.each(function(color){ var rgb = []; color = new Color(color); for (var i = 0; i < 3; i++) rgb.push(Math.round((mixed[i] / 100... | 6991 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6991/af3f8ba3d7a60e124186780a2800f7d435426db3/Color.js/clean/Addons/Color.js | |
for (var i = 0; i < 3; i++) rgb.push(Math.round((mixed[i] / 100 * (100 - alpha)) + (color[i] / 100 * alpha))); mixed = new Color(rgb); | for (var i = 0; i < 3; i++) mixed[i] = Math.round((mixed[i] / 100 * (100 - alpha)) + (color[i] / 100 * alpha)); | mix: function(){ var colors = $A(arguments); var alpha = 50; if (colors.length == 2 && $type(colors[1]) == 'number'){ alpha = colors[1]; colors.pop(); } var mixed = this; colors.each(function(color){ var rgb = []; color = new Color(color); for (var i = 0; i < 3; i++) rgb.push(Math.round((mixed[i] / 100... | 6991 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6991/af3f8ba3d7a60e124186780a2800f7d435426db3/Color.js/clean/Addons/Color.js |
if (colors.length == 2 && $type(colors[1]) == 'number'){ alpha = colors[1]; colors.pop(); } var mixed = this; | if ($type(colors[colors.length-1]) == 'number') alpha = colors.pop(); var mixed = this.copy(); | mix: function(){ var colors = $A(arguments); var alpha = 50; if (colors.length == 2 && $type(colors[1]) == 'number'){ alpha = colors[1]; colors.pop(); } var mixed = this; colors.each(function(color){ var rgb = []; color = new Color(color); for (var i = 0; i < 3; i++) rgb.push(Math.round((mixed[i] / 100... | 5409 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5409/af3f8ba3d7a60e124186780a2800f7d435426db3/Color.js/clean/Addons/Color.js |
var rgb = []; | mix: function(){ var colors = $A(arguments); var alpha = 50; if (colors.length == 2 && $type(colors[1]) == 'number'){ alpha = colors[1]; colors.pop(); } var mixed = this; colors.each(function(color){ var rgb = []; color = new Color(color); for (var i = 0; i < 3; i++) rgb.push(Math.round((mixed[i] / 100... | 5409 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5409/af3f8ba3d7a60e124186780a2800f7d435426db3/Color.js/clean/Addons/Color.js | |
for (var i = 0; i < 3; i++) rgb.push(Math.round((mixed[i] / 100 * (100 - alpha)) + (color[i] / 100 * alpha))); mixed = new Color(rgb); | for (var i = 0; i < 3; i++) mixed[i] = Math.round((mixed[i] / 100 * (100 - alpha)) + (color[i] / 100 * alpha)); | mix: function(){ var colors = $A(arguments); var alpha = 50; if (colors.length == 2 && $type(colors[1]) == 'number'){ alpha = colors[1]; colors.pop(); } var mixed = this; colors.each(function(color){ var rgb = []; color = new Color(color); for (var i = 0; i < 3; i++) rgb.push(Math.round((mixed[i] / 100... | 5409 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5409/af3f8ba3d7a60e124186780a2800f7d435426db3/Color.js/clean/Addons/Color.js |
cocoon.sendStatus(201); | sendStatus(201); | function mkcol() { var status = executeUsecase("webdav.mkcol"); if(status) cocoon.sendStatus(201); else sendStatus(403);} | 791 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/9d1ab8859a513ebaf83a9822a20202259ce57d92/webdav.js/buggy/src/webapp/lenya/pubs/default/lenya/usecases/webdav/webdav.js |
this.modechar = modechar; this.args = args; this.state = state; this.list = list; this.isnick = isnick; | this.modechar = modechar; /* The mode's character */ this.args = args; /* Does this mode take only a single arg? */ this.state = state; /* Stateful? (changes channel behaviour) */ this.list = list; /* Does this mode accept a list? */ this.isnick = isnick; /* Is nick (true) or a n!u@h mask (false) */ | function Mode(modechar,args,state,list,isnick) { // The mode's character this.modechar = modechar; // Does this mode take a single argument only? this.args = args; // Is this mode a stateful mode? (i.e. changes channel behaviour) this.state = state; // Can this mode accept a list? this.list = list; // Is the list a nic... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/4f81e4cda527089e4dcaa415a66740375f48551b/ircd_channel.js/clean/load/ircd_channel.js |
function Mode (modechar,args,state,list,isnick) { | function Mode(modechar,args,state,list,isnick) { | function Mode (modechar,args,state,list,isnick) { // The mode's character this.modechar = modechar; // Does this mode take a single argument only? this.args = args; // Is this mode a stateful mode? (i.e. changes channel behaviour) this.state = state; // Can this mode accept a list? this.list = list; // Is the list a ni... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/1cebcfca3a6240f246861645e271d6418b89f0b2/ircd_channel.js/buggy/load/ircd_channel.js |
var fullURL = "/TestRunner.html?singletest=" + escape(browserBot.modalDialogTest) + "&autoURL=" + escape(url) + "&runInterval=" + runInterval; | var doc_location = document.location.toString(); var end_of_base_ref = doc_location.indexOf('TestRunner.html') var base_ref = doc_location.substring(0,end_of_base_ref) var fullURL = base_ref + "TestRunner.html?singletest=" + escape(browserBot.modalDialogTest) + "&autoURL=" + escape(url) + "&runInterval=" + runInterv... | function modifyWindowToRecordPopUpDialogs(window, browserBot) { // we will call the previous version of this method from within our own interception oldShowModalDialog = window.showModalDialog; window.showModalDialog = function(url, args, features) { var fullURL = "/TestRunner.html?s... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/ba056b47f419a2a95c4c6651a92db65a8276f84c/selenium-browserbot.js/buggy/code/javascript/selenium-browserbot.js |
var fullURL = "/TestRunner.html?singletest=" + escape(browserBot.modalDialogTest) + "&autoURL=" + escape(url) + "&runInterval=" + runInterval; | var doc_location = document.location.toString(); var end_of_base_ref = doc_location.indexOf('TestRunner.html') var base_ref = doc_location.substring(0,end_of_base_ref) var fullURL = base_ref + "TestRunner.html?singletest=" + escape(browserBot.modalDialogTest) + "&autoURL=" + escape(url) + "&runInterval=" + runInterv... | function modifyWindowToRecordPopUpDialogs(window, browserBot) { // we will call the previous version of this method from within our own interception oldShowModalDialog = window.showModalDialog; window.showModalDialog = function(url, args, features) { var fullURL = "/TestRunner.html?s... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/5154a03212c702af5ce91bddf4cd77f43559ece2/selenium-browserbot.js/buggy/code/javascript/selenium-browserbot.js |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.