rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
13
136k
meta
stringlengths
132
347
var menuPopupElement = document.createElement("menupopup"); alert(languagePairs[lang].length); for(var i = 1; i < languagePairs[lang].length ; i++)
/* var menuPopupElement = document.createElement("menupopup"); alert(languagePairs[locale].length); for(var i = 1; i < languagePairs[local].length ; i++)
function onTranslatePopup(){ // Get the selected text var focusedWindow = document.commandDispatcher.focusedWindow; var selection = focusedWindow.__proto__.getSelection.call(focusedWindow); // if the selected text is blank then don't display the context menu, otherwise, display the first 14 characters + .....
9817 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9817/423110b01481b4c8108fd05971951604f6efe1fe/translate.js/buggy/branch/options/chrome/content/translate.js
var languagePair = languagePairs[lang][i] + "_" + languagePairs[lang][0];
var languagePair = languagePairs[locale][i] + "_" + languagePairs[locale][0];
function onTranslatePopup(){ // Get the selected text var focusedWindow = document.commandDispatcher.focusedWindow; var selection = focusedWindow.__proto__.getSelection.call(focusedWindow); // if the selected text is blank then don't display the context menu, otherwise, display the first 14 characters + .....
9817 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9817/423110b01481b4c8108fd05971951604f6efe1fe/translate.js/buggy/branch/options/chrome/content/translate.js
item = document.getElementById("translate-context"); sep = document.getElementById("translateSeparator");
function onTranslatePopup(){ // Get the selected text var focusedWindow = document.commandDispatcher.focusedWindow; var selection = focusedWindow.__proto__.getSelection.call(focusedWindow); // if the selected text is blank then don't display the context menu, otherwise, display the first 14 characters + .....
9817 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9817/423110b01481b4c8108fd05971951604f6efe1fe/translate.js/buggy/branch/options/chrome/content/translate.js
document.getElementById("translateSeparator");.appendChild(menuItemElement);
function onTranslatePopup(){ // Get the selected text var focusedWindow = document.commandDispatcher.focusedWindow; var selection = focusedWindow.__proto__.getSelection.call(focusedWindow); // if the selected text is blank then don't display the context menu, otherwise, display the first 14 characters + .....
9817 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9817/423110b01481b4c8108fd05971951604f6efe1fe/translate.js/buggy/branch/options/chrome/content/translate.js
this.defaultWheelDown();
this.defaultWheelDown(e);
onWheelEvent: function(e){ // first determine whether or not the wheeling was inside the map var inMap = false; var elem = OpenLayers.Event.element(e); while(elem != null) { if (this.map && elem == this.map.div) { inMap = true; break; ...
2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/15c2ab578fabf2c24ed636bbb490243d82a68076/MouseDefaults.js/clean/lib/OpenLayers/Control/MouseDefaults.js
this.defaultWheelUp();
this.defaultWheelUp(e);
onWheelEvent: function(e){ // first determine whether or not the wheeling was inside the map var inMap = false; var elem = OpenLayers.Event.element(e); while(elem != null) { if (this.map && elem == this.map.div) { inMap = true; break; ...
2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/15c2ab578fabf2c24ed636bbb490243d82a68076/MouseDefaults.js/clean/lib/OpenLayers/Control/MouseDefaults.js
this.defaultWheelDown();
this.defaultWheelDown(e);
onWheelEvent: function(e){ // first determine whether or not the wheeling was inside the map var inMap = false; var elem = OpenLayers.Event.element(e); while(elem != null) { if (this.map && elem == this.map.div) { inMap = true; break; ...
2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/15c2ab578fabf2c24ed636bbb490243d82a68076/MouseDefaults.js/buggy/lib/OpenLayers/Control/MouseDefaults.js
this.defaultWheelUp();
this.defaultWheelUp(e);
onWheelEvent: function(e){ // first determine whether or not the wheeling was inside the map var inMap = false; var elem = OpenLayers.Event.element(e); while(elem != null) { if (this.map && elem == this.map.div) { inMap = true; break; ...
2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/15c2ab578fabf2c24ed636bbb490243d82a68076/MouseDefaults.js/buggy/lib/OpenLayers/Control/MouseDefaults.js
return originalOpen(newUrl, two);
return originalOpen(newUrl, windowName, windowFeatures, replaceFlag);
windowToModify.open = function(url, windowName, windowFeatures, replaceFlag) { if (url.startsWith("http://") || url.startsWith("https://") || url.startsWith("/")) { return originalOpen(url, windowName, windowFeatures, replaceFlag); } // Reduce the current path to the directory ...
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/3e1a42f9a649c59c24f202492560d72c0b691eb2/selenium-browserbot.js/buggy/code/javascript/selenium-browserbot.js
return originalOpen(newUrl, two);
return originalOpen(newUrl, windowName, windowFeatures, replaceFlag);
windowToModify.open = function(url, windowName, windowFeatures, replaceFlag) { if (url.startsWith("http://") || url.startsWith("https://") || url.startsWith("/")) { return originalOpen(url, windowName, windowFeatures, replaceFlag); } // Reduce the current path to the directory ...
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/392961261f4ecac84ce9915cac37bd26394ba083/selenium-browserbot.js/clean/code/javascript/selenium-browserbot.js
NewWindow('/cgi-bin/getcurrentepg2?ref='+xy, 'EPG', '600', '700', 'yes');
NewWindow('/getcurrentepg2?ref='+xy, 'EPG', '600', '700', 'yes');
function openEPG(xy){ NewWindow('/cgi-bin/getcurrentepg2?ref='+xy, 'EPG', '600', '700', 'yes');}
6281 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6281/b688a21e909847df1756bbf702e2682959202cd0/index.js/clean/tuxbox/enigma/data/htdocs/index.js
if (xy == undefined) xy = "";
function openEPG(xy){ NewWindow('/getcurrentepg2?ref='+xy, 'EPG', screen.width, screen.height, 'yes');}
6281 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6281/888302f8be792a5dfea4ed2969c0274048ba48ac/index.js/clean/tuxbox/enigma/data/htdocs/index.js
currentDocument = null;
function openLocation(target, onloadCallback) { var el = new SelfRemovingLoadListener(onloadCallback); addLoadListener(getIframe(), el.invoke); getIframe().src = target;}
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/372f0fea11088c31100c973444ebeb1c27022a77/selenium-browserbot.js/clean/javascript/selenium-browserbot.js
currentDocument = null;
function openLocation(target, onloadCallback) { var el = new SelfRemovingLoadListener(onloadCallback); addLoadListener(getIframe(), el.invoke); getIframe().src = target;}
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/b845efcbd913c9121c01866d3803959609b3585d/selenium-browserbot.js/buggy/javascript/selenium-browserbot.js
"SeleniumLog.html", "SeleniumLog",
getDocumentBase(document) + "SeleniumLog.html", "SeleniumLog",
openLogWindow: function() { this.logWindow = window.open( "SeleniumLog.html", "SeleniumLog", "width=600,height=250,bottom=0,right=0,status,scrollbars,resizable" ); return this.logWindow; },
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/b89eae6caef41d28a2b952919757a0f66c120dae/selenium-logging.js/clean/code/javascript/core/scripts/selenium-logging.js
if (browserVersion.appearsToBeBrokenInitialIE6) { var pendingMessage = new LogMessage("warn", "You appear to be running an unpatched IE 6, which is not stable and can crash due to memory problems. We recommend you run Windows update to install a more stable version of IE."); this.pendingMessages.push(pendingMessage); ...
openLogWindow: function() { this.logWindow = window.open( getDocumentBase(document) + "SeleniumLog.html", "SeleniumLog", "width=600,height=1000,bottom=0,right=0,status,scrollbars,resizable" ); this.logWindow.moveTo(window.screenX + 1210, window.screenY + window.outerHeight...
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/2926652532e34f5b463decd00e6cb0836ad65b1d/selenium-logging.js/clean/code/javascript/core/scripts/selenium-logging.js
NewWindow('/cgi-bin/getMultiEPG?ref='+xy, 'MultiEPG', '1000', '800', 'yes');
NewWindow('/getMultiEPG?ref='+xy, 'MultiEPG', screen.width, screen.height, 'yes');
function openMultiEPG(xy){ NewWindow('/cgi-bin/getMultiEPG?ref='+xy, 'MultiEPG', '1000', '800', 'yes');}
6281 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6281/f35cbb3fb41ebcf6b642f19e8e4d03110f553123/index.js/buggy/tuxbox/enigma/data/htdocs/index.js
dojo.debug("closed popup.");
function openPopup(url, width, height, formid, action, loadfunc) { closePopup(); var objOverlay = document.getElementById("dialogoverlay"); if(!objOverlay) { var objBody = document.getElementsByTagName("body").item(0); objOverlay = document.createElement("div"); objOverlay.setAttribute('id','dialogoverlay'); objOve...
1857 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1857/516705b8f0b226d950d4b984f1f7bd320363a288/menulayer.js/buggy/static/javascripts/menulayer.js
dojo.debug("making corners.");
function openPopup(url, width, height, formid, action, loadfunc) { closePopup(); var objOverlay = document.getElementById("dialogoverlay"); if(!objOverlay) { var objBody = document.getElementsByTagName("body").item(0); objOverlay = document.createElement("div"); objOverlay.setAttribute('id','dialogoverlay'); objOve...
1857 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1857/516705b8f0b226d950d4b984f1f7bd320363a288/menulayer.js/buggy/static/javascripts/menulayer.js
if (tinyMCE.isMSIE)
if (tinyMCE.isIE)
openWindow : function(template, args) { var html, width, height, x, y, resizable, scrollbars, url; args['mce_template_file'] = template['file']; args['mce_width'] = template['width']; args['mce_height'] = template['height']; tinyMCE.windowArgs = args; html = template['html']; if (!(width = parseInt(template['wi...
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 ((tinyMCE.isMSIE && !tinyMCE.isOpera) && resizable != 'yes' && tinyMCE.settings["dialog_type"] == "modal") {
if ((tinyMCE.isRealIE) && resizable != 'yes' && tinyMCE.settings["dialog_type"] == "modal") {
openWindow : function(template, args) { var html, width, height, x, y, resizable, scrollbars, url; args['mce_template_file'] = template['file']; args['mce_width'] = template['width']; args['mce_height'] = template['height']; tinyMCE.windowArgs = args; html = template['html']; if (!(width = parseInt(template['wi...
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
var TinyMCE_InlinePopupsPlugin={getInfo:function(){return{longname:'Inline Popups',author:'Moxiecode Systems',authorurl:'http:
var TinyMCE_InlinePopupsPlugin={getInfo:function(){return{longname:'Inline Popups',author:'Moxiecode Systems AB',authorurl:'http:
var TinyMCE_InlinePopupsPlugin={getInfo:function(){return{longname:'Inline Popups',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_inlinepopups.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};}};tinyMCE.addPlugin("inlinepopups",T...
10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/editor_plugin.js/clean/mambots/editors/tinymce/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin.js
log(ntype + ": " + nmessage);
function oper_notice(ntype,nmessage) { for(thisoper in Clients) { var oper=Clients[thisoper]; if ((oper.mode&USERMODE_OPER) && !oper.parent) oper.rawout(":" + servername + " NOTICE " + oper.nick + " :*** " + ntype + " -- " + nmessage); }}
4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/932a434bc900126d724150bfed8b94b9a8e530e1/ircd.js/buggy/ircd.js
this.fromLocatorString = function(locatorString) { var locatorType = 'label'; var locatorValue = locatorString; var result = locatorString.match(/^([a-zA-Z]+)=(.*)/); if (result) { locatorType = result[1]; locatorValue = result[2]; } if ('label' == locatorType) { return new OptionLocatorByLabel(locatorValue); } else i...
function OptionLocatorFactory() { this.fromLocatorString = function(locatorString) { var locatorType = 'label'; var locatorValue = locatorString; // If there is a locator prefix, use the specified strategy var result = locatorString.match(/^([a-zA-Z]+)=(.*)/); if (result) { ...
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/3b44b078ad64a491bc2e0d28cd5e2fb1cab0b379/selenium-api.js/clean/code/javascript/selenium-api.js
this.fromLocatorString = function(locatorString) { var locatorType = 'label'; var locatorValue = locatorString; var result = locatorString.match(/^([a-zA-Z]+)=(.*)/); if (result) { locatorType = result[1]; locatorValue = result[2]; } if ('label' == locatorType) { return new OptionLocatorByLabel(locatorValue); } else i...
function OptionLocatorFactory() { this.fromLocatorString = function(locatorString) { var locatorType = 'label'; var locatorValue = locatorString; // If there is a locator prefix, use the specified strategy var result = locatorString.match(/^([a-zA-Z]+)=(.*)/); if (result) { ...
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/2c3a29cf7b2d255e58bdf4babc5554df9b57d2d8/selenium-api.js/buggy/code/javascript/selenium-api.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/railties/html/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/buggy/railties/html/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/railties/html/javascripts/dragdrop.js
var element = $(element); for(var i=0;i<this.sortables.length;i++) if(this.sortables[i].element == element) return this.sortables[i]; return null;
element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element){ var element = $(element); for(var i=0;i<this.sortables.length;i++) if(this.sortables[i].element == element) return this.sortables[i]; return null; },
742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/dragdrop.js/clean/public/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/buggy/railties/html/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/buggy/railties/html/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
2320 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2320/19200c26046dc00f15305e03b7c1d28b4c38c952/dragdrop.js/clean/web/scripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/buggy/railties/html/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/buggy/railties/html/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/railties/html/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/railties/html/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/railties/html/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/buggy/railties/html/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/buggy/railties/html/javascripts/dragdrop.js
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element });
options: function(element) { element = Sortable._findRootElement($(element)); if(!element) return; return Sortable.sortables[element.id];
options: function(element){ element = $(element); return this.sortables.detect(function(s) { return s.element == element }); },
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
function options() {
function options(type) {
function options() { cocoon.response.setHeader("DAV","1"); var options = "OPTIONS,GET,PUT,LOCK,PROPFIND,DELETE";// var options = "OPTIONS,GET,HEAD,POST,DELETE,TRACE,PUT,LOCK" // + ",MKCOL,PROPFIND,PROPPATCH,COPY,MOVE"; cocoon.response.setHeader("Allow",options); //interoperability with Windows 2000 v...
791 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/49863727a7ad4a093c1368d1ec485b53b956a824/webdav.js/buggy/src/webapp/lenya/pubs/default/lenya/usecases/webdav/webdav.js
var options = "OPTIONS,GET,PUT,LOCK,PROPFIND,DELETE";
var options = ""; if (type == "file") { options = "OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,PUT,LOCK,UNLOCK"; } else { options = "OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,LOCK,UNLOCK"; }
function options() { cocoon.response.setHeader("DAV","1"); var options = "OPTIONS,GET,PUT,LOCK,PROPFIND,DELETE";// var options = "OPTIONS,GET,HEAD,POST,DELETE,TRACE,PUT,LOCK" // + ",MKCOL,PROPFIND,PROPPATCH,COPY,MOVE"; cocoon.response.setHeader("Allow",options); //interoperability with Windows 2000 v...
791 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/49863727a7ad4a093c1368d1ec485b53b956a824/webdav.js/buggy/src/webapp/lenya/pubs/default/lenya/usecases/webdav/webdav.js
if (!this.sendq.bytes && !sendsock.send(send_data + "\r\n"))
if (this.sendq.bytes || !sendsock.send(send_data + "\r\n"))
function originatorout(str,origin) { var send_data; var sendsock; if (debug) log(format("[%s->%s]: %s",origin.nick,this.nick,str)); sendsock = this.socket; if(this.local && !this.server) { if (origin.server) send_data = ":" + origin.nick + " " + str; else send_data = ":" + origin.nuh + " " + str; } else if (this...
4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/a480ba7e9bd9e28acd5b0581357f6a699cc03670/ircd.js/buggy/ircd.js
sendsock = Servers[this.parent].socket;
sendsock = Servers[this.parent.toLowerCase()].socket;
function originatorout(str,origin) { var send_data; var sendsock; if (debug) log(format("[%s->%s]: %s",origin.nick,this.nick,str)); sendsock = this.socket; if(this.local && !this.server) { if (origin.server) send_data = ":" + origin.nick + " " + str; else send_data = ":" + origin.nuh + " " + str; } else if (this...
4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/9b31fc080a4a6c10c64fce10214bfae574877b10/ircd.js/clean/ircd.js
send_data = ":" + origin.nuh + " " + str; } else if (this.parent) {
if (origin.server) send_data = ":" + origin.nick + " " + str; else send_data = ":" + origin.nuh + " " + str; } else if (this.server) { send_data = ":" + origin.nick + " " + str; } else if (!this.local) {
function originatorout(str,origin) { var send_data; var sendsock; if (debug) log(format("[%s->%s]: %s",origin.nick,this.nick,str)); sendsock = this.socket; if(this.local && !this.server) { send_data = ":" + origin.nuh + " " + str; } else if (this.parent) { sendsock = Servers[this.parent].socket; send_data = ":" + o...
4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/906f77be442b63d7184d7076d5f4ce67c3aae953/ircd.js/buggy/ircd.js
send_data = ":" + origin.nick + " " + str; } else if (this.server) {
function originatorout(str,origin) { var send_data; var sendsock; if (debug) log(format("[%s->%s]: %s",origin.nick,this.nick,str)); sendsock = this.socket; if(this.local && !this.server) { send_data = ":" + origin.nuh + " " + str; } else if (this.parent) { sendsock = Servers[this.parent].socket; send_data = ":" + o...
4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/906f77be442b63d7184d7076d5f4ce67c3aae953/ircd.js/buggy/ircd.js
return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight;
return ((this.offset[1]+element.offsetHeight)-this.ycomp) / element.offsetHeight;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth;
return ((this.offset[0]+element.offsetWidth)-this.xcomp) / element.offsetWidth;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight;
return ((this.offset[1]+element.offsetHeight)-this.ycomp) / element.offsetHeight;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth;
return ((this.offset[0]+element.offsetWidth)-this.xcomp) / element.offsetWidth;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight;
return ((this.offset[1]+element.offsetHeight)-this.ycomp) / element.offsetHeight;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth;
return ((this.offset[0]+element.offsetWidth)-this.xcomp) / element.offsetWidth;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight;
return ((this.offset[1]+element.offsetHeight)-this.ycomp) / element.offsetHeight;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth;
return ((this.offset[0]+element.offsetWidth)-this.xcomp) / element.offsetWidth;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight;
return ((this.offset[1]+element.offsetHeight)-this.ycomp) / element.offsetHeight;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth;
return ((this.offset[0]+element.offsetWidth)-this.xcomp) / element.offsetWidth;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight;
return ((this.offset[1]+element.offsetHeight)-this.ycomp) / element.offsetHeight;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth;
return ((this.offset[0]+element.offsetWidth)-this.xcomp) / element.offsetWidth;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight;
return ((this.offset[1]+element.offsetHeight)-this.ycomp) / element.offsetHeight;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth;
return ((this.offset[0]+element.offsetWidth)-this.xcomp) / element.offsetWidth;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight;
return ((this.offset[1]+element.offsetHeight)-this.ycomp) / element.offsetHeight;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth;
return ((this.offset[0]+element.offsetWidth)-this.xcomp) / element.offsetWidth;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight;
return ((this.offset[1]+element.offsetHeight)-this.ycomp) / element.offsetHeight;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth;
return ((this.offset[0]+element.offsetWidth)-this.xcomp) / element.offsetWidth;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight;
return ((this.offset[1]+element.offsetHeight)-this.ycomp) / element.offsetHeight;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth;
return ((this.offset[0]+element.offsetWidth)-this.xcomp) / element.offsetWidth;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/c9f2389c010ba9364a4454b45b3cedd4dd273c38/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js
return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight;
return ((this.offset[1]+element.offsetHeight)-this.ycomp) / element.offsetHeight;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
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
return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth;
return ((this.offset[0]+element.offsetWidth)-this.xcomp) / element.offsetWidth;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
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
return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight;
return ((this.offset[1]+element.offsetHeight)-this.ycomp) / element.offsetHeight;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
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
return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth;
return ((this.offset[0]+element.offsetWidth)-this.xcomp) / element.offsetWidth;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
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
return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight;
return ((this.offset[1]+element.offsetHeight)-this.ycomp) / element.offsetHeight;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/5fec2a22b3ffc5a2da695845e2922706e29402bb/prototype-ext.js/buggy/src/prototype-ext.js
return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth;
return ((this.offset[0]+element.offsetWidth)-this.xcomp) / element.offsetWidth;
overlap: function(mode, element) { if(!mode) return 0; if(mode == 'vertical') return ((element.offsetTop+element.offsetHeight)-this.ycomp) / element.offsetHeight; if(mode == 'horizontal') return ((element.offsetLeft+element.offsetWidth)-this.xcomp) / element.offsetWidth; },
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/5fec2a22b3ffc5a2da695845e2922706e29402bb/prototype-ext.js/buggy/src/prototype-ext.js
overlap: function(mode, element) { if (!mode) return 0; if (mode == 'vertical') return ((this.offset[1] + element.offsetHeight) - this.ycomp) /
overlap: function(mode, element) { if (!mode) return 0; if (mode == 'vertical') return ((this.offset[1] + element.offsetHeight) - this.ycomp) /
overlap: function(mode, element) { if (!mode) return 0; if (mode == 'vertical') return ((this.offset[1] + element.offsetHeight) - this.ycomp) / element.offsetHeight; if (mode == 'horizontal') return ((this.offset[0] + element.offsetWidth) - this.xcomp) / element.offsetWidth; }...
742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/prototype.js/buggy/public/javascripts/prototype.js
return ((this.offset[0] + element.offsetWidth) - this.xcomp) /
return ((this.offset[0] + element.offsetWidth) - this.xcomp) /
overlap: function(mode, element) { if (!mode) return 0; if (mode == 'vertical') return ((this.offset[1] + element.offsetHeight) - this.ycomp) / element.offsetHeight; if (mode == 'horizontal') return ((this.offset[0] + element.offsetWidth) - this.xcomp) / element.offsetWidth; }...
742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/prototype.js/buggy/public/javascripts/prototype.js
(g < 16 ? '0' : '') + g.toString(16) + (b < 16 ? '0' : '') + b.toString(16);
(g < 16 ? '0' : '') + g.toString(16) + (b < 16 ? '0' : '') + b.toString(16);
fb.pack = function (rgb) { var r = Math.round(rgb[0] * 255); var g = Math.round(rgb[1] * 255); var b = Math.round(rgb[2] * 255); return '#' + (r < 16 ? '0' : '') + r.toString(16) + (g < 16 ? '0' : '') + g.toString(16) + (b < 16 ? '0' : '') + b.toString(16); }
3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/49f6f3bf71daf78f75c731db626a40f2284838b2/farbtastic.js/buggy/misc/farbtastic/farbtastic.js
new_string = this;
var new_string = this;
String.prototype.pad_left = function(pad_length, pad_string) { new_string = this; for (var i = 0; new_string.length < pad_length; i++) { new_string = pad_string + new_string; } return new_string;}
1086 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1086/3daf7bde2e150c623b80a3a0518196121bd4ea36/core.js/clean/django/contrib/admin/media/js/core.js
if(element == document.body) return [0, 0];
Position.page = function(forElement) { if(element == document.body) return [0, 0]; var valueT = 0, valueL = 0; var element = forElement; do { valueT += element.offsetTop || 0; valueL += element.offsetLeft || 0; // Safari fix if (element.offsetParent==document.body) if (Element.getStyle(element,'po...
4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/e8c39d48af400cd700cad64b8c66b855d356a5bc/util.js/clean/src/util.js
this.title = function() {return this.currentDocument.title;};
this.title = function() { return this.currentDocument.title; };
var PageBot = function(pageWindow) { if (pageWindow) { this.currentWindow = pageWindow; this.currentDocument = pageWindow.document; this.location = pageWindow.location; this.title = function() {return this.currentDocument.title;}; } // Register all locateElementBy* functions // T...
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/0e14a53996e4d4f6077da9fa5f25415f4fff0108/selenium-browserbot.js/buggy/code/javascript/core/scripts/selenium-browserbot.js
PageBot = function(pageWindow, browserBot) { this.currentWindow = pageWindow; this.browserBot = browserBot; this.currentDocument = pageWindow.document; this.location = pageWindow.location.pathname; this.title = function() {return this.currentDocument.title}; modifyWindowToRecordAlerts(pageWindow, brow...
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/d234886e8fa68dac43c3506a745065790965587c/selenium-browserbot.js/buggy/javascript/selenium-browserbot.js
return this.locateElementByIdentifier(locator, inDocument) || this.locateElementByDomTraversal(locator, inDocument) || this.locateElementByXPath(locator, inDocument);
if (locator.startsWith(' return this.locateElementByXPath(locator, inDocument); } if (locator.startsWith('document.')) { return this.locateElementByDomTraversal(locator, inDocument); } return this.locateElementByIdentifier(locator, inDocument);
PageBot = function(pageWindow) { if (pageWindow) { this.currentWindow = pageWindow; this.currentDocument = pageWindow.document; this.location = pageWindow.location; this.title = function() {return this.currentDocument.title;}; } // Register all locateElementBy* functions // TODO ...
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/ea5a924ee70e3252794128058125022ac719f685/selenium-browserbot.js/clean/code/javascript/selenium-browserbot.js
PageBot = function(pageWindow) {
var PageBot = function(pageWindow) {
PageBot = function(pageWindow) { if (pageWindow) { this.currentWindow = pageWindow; this.currentDocument = pageWindow.document; this.location = pageWindow.location; this.title = function() {return this.currentDocument.title;}; } // Register all locateElementBy* functions // TODO ...
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/10e591b5be05718f2e4d76628c0765675e463e1b/selenium-browserbot.js/buggy/code/javascript/core/scripts/selenium-browserbot.js
this.title = function() { return this.currentDocument.title; };
this.title = function() {return this.currentDocument.title;};
var PageBot = function(pageWindow) { if (pageWindow) { this.currentWindow = pageWindow; this.currentDocument = pageWindow.document; this.location = pageWindow.location; this.title = function() { return this.currentDocument.title; }; } // Register all locateElementB...
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/6b0b260c628dcdbf842d816728bb3bdcc6219faa/selenium-browserbot.js/buggy/code/javascript/core/scripts/selenium-browserbot.js
return this.locateElementByIdentifier(locator, inDocument) || this.locateElementByDomTraversal(locator, inDocument) || this.locateElementByXPath(locator, inDocument);
if (locator.startsWith(' return this.locateElementByXPath(locator, inDocument); } if (locator.startsWith('document.')) { return this.locateElementByDomTraversal(locator, inDocument); } return this.locateElementByIdentifier(locator, inDocument);
PageBot = function(pageWindow) { if (pageWindow) { this.currentWindow = pageWindow; this.currentDocument = pageWindow.document; this.location = pageWindow.location; this.title = function() {return this.currentDocument.title;}; } // Register all locateElementBy* functions // TODO ...
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/918f8d394d531142ffd702f7bf13140055e35ee3/selenium-browserbot.js/clean/code/javascript/selenium-browserbot.js
this.location = pageWindow.location.pathname;
this.location = pageWindow.location;
PageBot = function(pageWindow) { if (pageWindow) { this.currentWindow = pageWindow; this.currentDocument = pageWindow.document; this.location = pageWindow.location.pathname; this.title = function() {return this.currentDocument.title;}; } // Register all locateElementBy* functions ...
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/e7ef48632ccd6eb6a75316090903d555f278d4a3/selenium-browserbot.js/buggy/code/javascript/selenium-browserbot.js
this.locatorFunctions = new Array();
PageBot = function(pageWindow) { if (pageWindow) { this.currentWindow = pageWindow; this.currentDocument = pageWindow.document; this.location = pageWindow.location.pathname; this.title = function() {return this.currentDocument.title;}; } // Register all locateElementBy* functions ...
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/c4c251f7b8e27dbf5413c4f8cd8bab0e135fb135/selenium-browserbot.js/buggy/code/javascript/selenium-browserbot.js
this.locatorFunctions.push(locatorFunction);
PageBot = function(pageWindow) { if (pageWindow) { this.currentWindow = pageWindow; this.currentDocument = pageWindow.document; this.location = pageWindow.location.pathname; this.title = function() {return this.currentDocument.title;}; } // Register all locateElementBy* functions ...
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/c4c251f7b8e27dbf5413c4f8cd8bab0e135fb135/selenium-browserbot.js/buggy/code/javascript/selenium-browserbot.js
/** * Find a locator based on a prefix. */ this.getLocator = function(prefix) { return this.locators[prefix]; }; /** * The implicit locator, that is used when no prefix is supplied. */ this.implicitLocator = function(locator, inDocument) { return this.getLocator("identifier")(locator, inDocument) || this.getLocator(...
PageBot = function(pageWindow) { if (pageWindow) { this.currentWindow = pageWindow; this.currentDocument = pageWindow.document; this.location = pageWindow.location.pathname; this.title = function() {return this.currentDocument.title;}; } // Register all locateElementBy* functions ...
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/c4c251f7b8e27dbf5413c4f8cd8bab0e135fb135/selenium-browserbot.js/buggy/code/javascript/selenium-browserbot.js
this.location = pageWindow.location.pathname
this.location = pageWindow.location.pathname; this.title = function() {return this.currentDocument.title};
PageBot = function(pageWindow, browserBot) { this.currentWindow = pageWindow; this.browserBot = browserBot; this.currentDocument = pageWindow.document; this.location = pageWindow.location.pathname}
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/4ef9dce64cb8bc638dd0887dfc6ace54d10ce2e4/selenium-browserbot.js/buggy/javascript/selenium-browserbot.js
this.locatorFunctions = new Array(); for (var f in this) { if (typeof(this[f]) == 'function' && f.match(/^locate/)) { this.locatorFunctions.push(this[f]);
this.locatorFunctions = new Array(); this.locators = {}; for (var functionName in this) { var result = /^locateElementBy([A-Z].+)$/.exec(functionName); if (result != null) { var locatorFunction = this[functionName]; if (typeof(locatorFunction) != 'function') { continue;
PageBot = function(pageWindow) { if (pageWindow) { this.currentWindow = pageWindow; this.currentDocument = pageWindow.document; this.location = pageWindow.location.pathname; this.title = function() {return this.currentDocument.title;}; // Register all locate* functions this....
4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/28e92872d79dde130d1e6dfb1c795eb73f87a0ce/selenium-browserbot.js/buggy/code/javascript/selenium-browserbot.js