rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
13
136k
meta
stringlengths
132
347
if (isMisspelled) { MisspelledWord = word; FillSuggestedList();
if (isMisspelled) { FillSuggestedList(word);
function CheckWord(){ word = dialog.ReplaceWordInput.value; if (word) { isMisspelled = spellChecker.CheckCurrentWord(word); if (isMisspelled) { MisspelledWord = word; FillSuggestedList(); SetReplaceEnable(); } else { ClearTreelist(dialog.SuggestedList); var item = AppendStringToTreel...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/68ae5ca18043aa6409fbbc134ce4b24225fe8b60/EdSpellCheck.js/buggy/editor/ui/dialogs/content/EdSpellCheck.js
} else {
} else {
function CheckWord(){ word = dialog.ReplaceWordInput.value; if (word) { isMisspelled = spellChecker.CheckCurrentWord(word); if (isMisspelled) { MisspelledWord = word; FillSuggestedList(); SetReplaceEnable(); } else { ClearTreelist(dialog.SuggestedList); var item = AppendStringToTreel...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/68ae5ca18043aa6409fbbc134ce4b24225fe8b60/EdSpellCheck.js/buggy/editor/ui/dialogs/content/EdSpellCheck.js
dump("SpellCheck: CheckWord\n"); word = dialog.wordInput.value;
word = dialog.replaceWordInput.value;
function CheckWord(){ dump("SpellCheck: CheckWord\n"); word = dialog.wordInput.value; if (word != "") { dump("CheckWord: Word in edit field="+word+"\n"); isMisspelled = spellChecker.CheckCurrentWord(word); if (isMisspelled) { dump("CheckWord says word was misspelled\n"); misspelledWord = word; ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/fe32b459e5126c249d5d658ad3aa540809026fa6/EdSpellCheck.js/buggy/editor/ui/dialogs/content/EdSpellCheck.js
dump("CheckWord: Word in edit field="+word+"\n");
function CheckWord(){ dump("SpellCheck: CheckWord\n"); word = dialog.wordInput.value; if (word != "") { dump("CheckWord: Word in edit field="+word+"\n"); isMisspelled = spellChecker.CheckCurrentWord(word); if (isMisspelled) { dump("CheckWord says word was misspelled\n"); misspelledWord = word; ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/fe32b459e5126c249d5d658ad3aa540809026fa6/EdSpellCheck.js/buggy/editor/ui/dialogs/content/EdSpellCheck.js
if (!word) {
if (word) {
function CheckWord(){ word = dialog.ReplaceWordInput.value; if (!word) { isMisspelled = spellChecker.CheckCurrentWord(word); if (isMisspelled) { MisspelledWord = word; FillSuggestedList(); SetReplaceEnable(); } else { ClearTreelist(dialog.SuggestedList); var item = AppendStringToTree...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/734ad8b6f82e66dd2adbe3f40d3fd9cd70d503db/EdSpellCheck.js/clean/editor/ui/dialogs/content/EdSpellCheck.js
childrenWith: function(element, className) { var children = $(element).getElementsByTagName('*'); var elements = new Array(); for (var i = 0; i < children.length; i++) if (Element.Class.has(children[i], className)) elements.push(children[i]); return elements;
childrenWith: function(element, className) { var children = $(element).getElementsByTagName('*'); var elements = new Array(); for (var i = 0; i < children.length; i++) if (Element.Class.has(children[i], className)) elements.push(children[i]); return elements;
childrenWith: function(element, className) { var children = $(element).getElementsByTagName('*'); var elements = new Array(); for (var i = 0; i < children.length; i++) if (Element.Class.has(children[i], className)) elements.push(children[i]); return elements; }
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/8a342036a177e27b9f776c900bbae999b6ce8e3c/effects.js/buggy/tracks/public/javascripts/effects.js
return [$A($(element).getElementsByTagName('*'))[findFirst ? 'detect' : 'select']( function(c) { return c.className ? Element.hasClassName(c, className) : false; })].flatten();
var classNameRegExp = new RegExp("(^|\\s)" + className + "(\\s|$)"); var results = $A($(element).getElementsByTagName('*'))[findFirst ? 'detect' : 'select']( function(c) { return (c.className && c.className.match(classNameRegExp)); }); if(!results) results = []; return results;
Element.childrenWithClassName = function(element, className, findFirst) { return [$A($(element).getElementsByTagName('*'))[findFirst ? 'detect' : 'select']( function(c) { return c.className ? Element.hasClassName(c, className) : false; })].flatten();}
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js
return [$A($(element).getElementsByTagName('*'))[findFirst ? 'detect' : 'select']( function(c) { return c.className ? Element.hasClassName(c, className) : false; })].flatten();
var classNameRegExp = new RegExp("(^|\\s)" + className + "(\\s|$)"); var results = $A($(element).getElementsByTagName('*'))[findFirst ? 'detect' : 'select']( function(c) { return (c.className && c.className.match(classNameRegExp)); }); if(!results) results = []; return results;
Element.childrenWithClassName = function(element, className, findFirst) { return [$A($(element).getElementsByTagName('*'))[findFirst ? 'detect' : 'select']( function(c) { return c.className ? Element.hasClassName(c, className) : false; })].flatten();}
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/effects.js/clean/railties/html/javascripts/effects.js
chooseApp: function() { var nsIFilePicker = Components.interfaces.nsIFilePicker; var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance( nsIFilePicker ); fp.init( this.mDialog, this.getString( "chooseAppFilePickerTitle" ), nsIFilePicker.modeOpen ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/55a5e5ddbf4a7e9103b995d808c4466085d2123f/nsHelperAppDlg.js/clean/embedding/components/ui/helperAppDlg/nsHelperAppDlg.js
var fp = Components.classes["component:
var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance( this.nsIFilePicker );
chooseApp : function () { var fp = Components.classes["component://mozilla/filepicker"].createInstance( this.nsIFilePicker ); fp.init( window, this.getString( "chooseAppFilePickerTitle" ), this.nsIFilePicker.modeOpen ); // XXX - We want to say nsIFilePicker.filte...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0257791053c2b38e1dfaf2ee11afae973e82e394/helperAppLauncher.js/clean/xpfe/components/ucth/resources/helperAppLauncher.js
if (navigator.platform == "Windows")
if (navigator.platform == "Win32")
function chooseApp(){ const nsIFilePicker = Components.interfaces.nsIFilePicker; var filePicker = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker); if (filePicker) { const FP = Components.interfaces.nsIFilePicker var windowTitle = gBundle.GetStringFromName("chooseHandler"); var ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3c17a84a912c58cb5ca3ccc9d2798616460b4a64/pref-applications-new.js/buggy/xpfe/components/prefwindow/resources/content/pref-applications-new.js
var filePicker = Components.classes["component:
var filePicker = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);
function chooseApp(){ const nsIFilePicker = Components.interfaces.nsIFilePicker; var filePicker = Components.classes["component://mozilla/filepicker"].createInstance(nsIFilePicker); if (filePicker) { const FP = Components.interfaces.nsIFilePicker var windowTitle = gBundle.GetStringFromName("chooseHandler"); ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0257791053c2b38e1dfaf2ee11afae973e82e394/pref-applications-new.js/buggy/xpfe/components/prefwindow/resources/content/pref-applications-new.js
fileName = editorShell.GetLocalFileURL(window, "img");
fileName = editorShell.GetLocalFileURL(window, "img");
function chooseFile(){ // Get a local file, converted into URL format fileName = editorShell.GetLocalFileURL(window, "img"); if (fileName && fileName != "") { dialog.srcInput.value = fileName; checkForImage( "image.srcInput" ); doValueChanged(); } // Put focus into the input field dialog.srcI...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/5cb4feb3566948d7f7bf11b5396ee0a0efba2ad2/EdImageProps.js/clean/editor/ui/dialogs/content/EdImageProps.js
dialog.srcInput.value = fileName;
dialog.srcInput.value = fileName;
function chooseFile(){ // Get a local file, converted into URL format fileName = editorShell.GetLocalFileURL(window, "img"); if (fileName && fileName != "") { dialog.srcInput.value = fileName; checkForImage( "image.srcInput" ); doValueChanged(); } // Put focus into the input field dialog.srcI...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/5cb4feb3566948d7f7bf11b5396ee0a0efba2ad2/EdImageProps.js/clean/editor/ui/dialogs/content/EdImageProps.js
if (fileName && fileName != "")
if (fileName)
function chooseFile(){ // Get a local image file, converted into URL format fileName = GetLocalFileURL("img"); if (fileName && fileName != "") { dialog.BackgroundImageInput = filename; ValidateAndPreviewImage(true); } SetTextfieldFocus(dialog.BackgroundImageInput);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c14165d094712ddf8413059b747aa894f5195632/EdColorProps.js/clean/editor/ui/dialogs/content/EdColorProps.js
dialog.BackgroundImageInput = filename;
dialog.BackgroundImageInput.value = fileName;
function chooseFile(){ // Get a local image file, converted into URL format fileName = GetLocalFileURL("img"); if (fileName && fileName != "") { dialog.BackgroundImageInput = filename; ValidateAndPreviewImage(true); } SetTextfieldFocus(dialog.BackgroundImageInput);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c14165d094712ddf8413059b747aa894f5195632/EdColorProps.js/clean/editor/ui/dialogs/content/EdColorProps.js
SetTextfieldFocus(dialog.hrefInput);
SetTextboxFocus(dialog.hrefInput);
function chooseFile(){ // Get a local file, converted into URL format var fileName = GetLocalFileURL("html"); if (fileName) { dialog.hrefInput.value = fileName; // Call this to do OK button enabling ChangeText(); } // Put focus into the input field SetTextfieldFocus(dialog.hrefInput);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1e7ee6f0f96dbc0326edd55283ca67952efda4df/EdLinkProps.js/clean/editor/ui/dialogs/content/EdLinkProps.js
SetTextfieldFocus(dialog.urlInput);
SetTextboxFocus(dialog.urlInput);
function chooseFile(){ // Get a local file, converted into URL format fileName = editorShell.GetLocalFileURL(window, "img"); if (fileName && fileName != "") { dialog.urlInput.value = fileName; } // Put focus into the input field SetTextfieldFocus(dialog.urlInput);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1e7ee6f0f96dbc0326edd55283ca67952efda4df/EdImageMapHotSpot.js/buggy/editor/ui/dialogs/content/EdImageMapHotSpot.js
SetTextfieldFocus(dialog.srcInput);
SetTextboxFocus(dialog.srcInput);
function chooseFile(){ // Get a local file, converted into URL format var fileName = GetLocalFileURL("img"); if (fileName) { dialog.srcInput.value = fileName; doOverallEnabling(); } GetImageFromURL(); // Put focus into the input field SetTextfieldFocus(dialog.srcInput);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1e7ee6f0f96dbc0326edd55283ca67952efda4df/EdImageProps.js/clean/editor/ui/dialogs/content/EdImageProps.js
SetTextfieldFocus(dialog.BackgroundImageInput);
SetTextboxFocus(dialog.BackgroundImageInput);
function chooseFile(){ // Get a local image file, converted into URL format var fileName = GetLocalFileURL("img"); if (fileName) { dialog.BackgroundImageInput.value = fileName; ValidateAndPreviewImage(true); } SetTextfieldFocus(dialog.BackgroundImageInput);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1e7ee6f0f96dbc0326edd55283ca67952efda4df/EdColorProps.js/clean/editor/ui/dialogs/content/EdColorProps.js
SetTextfieldFocus(dialog.BackgroundImageInput);
SetTextboxFocus(dialog.BackgroundImageInput);
function ChooseImageFile(){ // Get a local image file, converted into URL format var fileName = GetLocalFileURL("img"); if (fileName) { dialog.BackgroundImageInput.value = fileName; ValidateAndPreviewImage(true); } SetTextfieldFocus(dialog.BackgroundImageInput);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1e7ee6f0f96dbc0326edd55283ca67952efda4df/pref-composer.js/buggy/editor/ui/composer/content/pref-composer.js
dump("*** setting rootFolderAttribute to " + aRootFolder + "\n");
function chooseProfileFolder( aRootFolder ){ if( !aRootFolder ) { try { var fp = Components.classes["component://mozilla/filepicker"].createInstance(Components.interfaces.nsIFilePicker); fp.init(window, bundle.GetStringFromName("chooseFolder"), Components.interfaces.nsIFilePicker.modeGetFolder); fp.a...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c3d226dd614523c02a17db9aeda8dbf37dc20661/newProfile1_2.js/clean/profile/resources/content/newProfile1_2.js
fp.setFilters(Components.interfaces.nsIFilePicker.filterAll);
fp.appendFilters(Components.interfaces.nsIFilePicker.filterAll);
function chooseProfileFolder( aRootFolder ){ if( !aRootFolder ) { try { var fp = Components.classes["component://mozilla/filepicker"].createInstance(Components.interfaces.nsIFilePicker); fp.init(window, bundle.GetStringFromName("chooseFolder"), Components.interfaces.nsIFilePicker.modeGetFolder); fp.s...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/2804c173c560ade19a248b6f40dac0f2b5e0587d/newProfile1_2.js/clean/profile/resources/content/newProfile1_2.js
var fp = Components.classes["component:
var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(Components.interfaces.nsIFilePicker);
function chooseProfileFolder( aRootFolder ){ if( !aRootFolder ) { try { var fp = Components.classes["component://mozilla/filepicker"].createInstance(Components.interfaces.nsIFilePicker); fp.init(window, bundle.GetStringFromName("chooseFolder"), Components.interfaces.nsIFilePicker.modeGetFolder); fp.a...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0257791053c2b38e1dfaf2ee11afae973e82e394/newProfile1_2.js/clean/profile/resources/content/newProfile1_2.js
dirChooser.displayDirectory = gDefaultProfileParent;
function chooseProfileFolder(){ var newProfileRoot; var dirChooser = C["@mozilla.org/filepicker;1"].createInstance(I.nsIFilePicker); dirChooser.init(window, gProfileManagerBundle.getString("chooseFolder"), I.nsIFilePicker.modeGetFolder); dirChooser.appendFilters(I.nsIFilePicker.filterAll); dirCh...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a2f801cfd6158f95f238c83ce23b2af71d9b80c7/createProfileWizard.js/buggy/toolkit/profile/content/createProfileWizard.js
var radioPanel = document.getElementById("viewchoiceRadioPanel"); var radioButtons = radioPanel.getElementsByTagName("input"); for(var i=0; i<radioButtons.length; i++) { if(radioButtons[i].type == "radio") { var panelId = "module_table_" + radioButtons[i].value; var panel = document.getElementById(panelId); if(radioBu...
var radioPanel = document.getElementById("viewchoiceRadioPanel"); var radioButtons = radioPanel.getElementsByTagName("input"); for(var i=0; i<radioButtons.length; i++) { if(radioButtons[i].type == "radio") { var panelId = "module_table_" + radioButtons[i].value; var panel = document.getElementById(panelId); if(radioBu...
function chooserModeChanged() { var radioPanel = document.getElementById("viewchoiceRadioPanel"); var radioButtons = radioPanel.getElementsByTagName("input"); for(var i=0; i<radioButtons.length; i++) { if(radioButtons[i].type == "radio") { var panelId = "module_table_"...
9897 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9897/aa3cfe0355bb63a18f28f853c13d4daf996b9768/collapsiblePanel.js/buggy/website/js/collapsiblePanel.js
if(!aPath) {
if (!aPath) {
chromeToPath : function (aPath) { if(!aPath) { jslibError(null, "(no path defined)", "NS_ERROR_INVALID_ARG", JS_FILEUTILS_FILE+":chromeToPath"); return null; } var uri = C.classes[JS_FILEUTILS_SIMPLEURI_PROGID].createInstance(JS_FILEUTILS_I_URI); var path; if(aPath.search(/^chrome:/) == 0) { try { va...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ad31f8ed11639845cff55b2a989a1a6243a89a9b/fileUtils.js/clean/calendar/resources/content/jslib/io/fileUtils.js
var path;
var rv;
chromeToPath : function (aPath) { if(!aPath) { jslibError(null, "(no path defined)", "NS_ERROR_INVALID_ARG", JS_FILEUTILS_FILE+":chromeToPath"); return null; } var uri = C.classes[JS_FILEUTILS_SIMPLEURI_PROGID].createInstance(JS_FILEUTILS_I_URI); var path; if(aPath.search(/^chrome:/) == 0) { try { va...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ad31f8ed11639845cff55b2a989a1a6243a89a9b/fileUtils.js/clean/calendar/resources/content/jslib/io/fileUtils.js
if(aPath.search(/^chrome:/) == 0) {
if (/^chrome:/.test(aPath)) {
chromeToPath : function (aPath) { if(!aPath) { jslibError(null, "(no path defined)", "NS_ERROR_INVALID_ARG", JS_FILEUTILS_FILE+":chromeToPath"); return null; } var uri = C.classes[JS_FILEUTILS_SIMPLEURI_PROGID].createInstance(JS_FILEUTILS_I_URI); var path; if(aPath.search(/^chrome:/) == 0) { try { va...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ad31f8ed11639845cff55b2a989a1a6243a89a9b/fileUtils.js/clean/calendar/resources/content/jslib/io/fileUtils.js
path = uri.path;
rv = uri.path;
chromeToPath : function (aPath) { if(!aPath) { jslibError(null, "(no path defined)", "NS_ERROR_INVALID_ARG", JS_FILEUTILS_FILE+":chromeToPath"); return null; } var uri = C.classes[JS_FILEUTILS_SIMPLEURI_PROGID].createInstance(JS_FILEUTILS_I_URI); var path; if(aPath.search(/^chrome:/) == 0) { try { va...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ad31f8ed11639845cff55b2a989a1a6243a89a9b/fileUtils.js/clean/calendar/resources/content/jslib/io/fileUtils.js
var rv; try { var dir = new C.Constructor(JS_FILEUTILS_DR_PROGID, JS_FILEUTILS_I_PROPS); rv = (new dir()).get(JS_FILEUTILS_CHROME_DIR, C.interfaces.nsIFile).path; rv = path.replace(/\/chrome/, rv); } catch (e) { jslibError(e, "(problem getting file instance)", "NS_ERROR_UNEXPECTED", JS_FILEUTILS_FILE+"...
if (/^\/|\\|:chrome/.test(rv)) { try { rv = "file: } catch (e) { jslibError(e, "(problem getting file instance)", "NS_ERROR_UNEXPECTED", JS_FILEUTILS_FILE+":chromeToPath"); rv = ""; }
chromeToPath : function (aPath) { if(!aPath) { jslibError(null, "(no path defined)", "NS_ERROR_INVALID_ARG", JS_FILEUTILS_FILE+":chromeToPath"); return null; } var uri = C.classes[JS_FILEUTILS_SIMPLEURI_PROGID].createInstance(JS_FILEUTILS_I_URI); var path; if(aPath.search(/^chrome:/) == 0) { try { va...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ad31f8ed11639845cff55b2a989a1a6243a89a9b/fileUtils.js/clean/calendar/resources/content/jslib/io/fileUtils.js
else if(aPath.search(/^file:/) == 0) { rv=this.urlToPath(aPath);
else if (/^file:/.test(aPath)) { rv = this.urlToPath(aPath);
chromeToPath : function (aPath) { if(!aPath) { jslibError(null, "(no path defined)", "NS_ERROR_INVALID_ARG", JS_FILEUTILS_FILE+":chromeToPath"); return null; } var uri = C.classes[JS_FILEUTILS_SIMPLEURI_PROGID].createInstance(JS_FILEUTILS_I_URI); var path; if(aPath.search(/^chrome:/) == 0) { try { va...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ad31f8ed11639845cff55b2a989a1a6243a89a9b/fileUtils.js/clean/calendar/resources/content/jslib/io/fileUtils.js
rv=null;
rv = "";
chromeToPath : function (aPath) { if(!aPath) { jslibError(null, "(no path defined)", "NS_ERROR_INVALID_ARG", JS_FILEUTILS_FILE+":chromeToPath"); return null; } var uri = C.classes[JS_FILEUTILS_SIMPLEURI_PROGID].createInstance(JS_FILEUTILS_I_URI); var path; if(aPath.search(/^chrome:/) == 0) { try { va...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ad31f8ed11639845cff55b2a989a1a6243a89a9b/fileUtils.js/clean/calendar/resources/content/jslib/io/fileUtils.js
var existingChannel = parent.channels[name]; if (typeof existingChannel == "object") return existingChannel;
if (name in parent.channels) return parent.channels[name];
function CIRCChannel (parent, name){ name = name.toLowerCase(); var existingChannel = parent.channels[name]; if (typeof existingChannel == "object") return existingChannel; this.parent = parent; this.name = name; this.users = new Object(); this.bans = new Object(); this.mode = new...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/irc.js/clean/extensions/irc/js/lib/irc.js
this.usersStable = true;
function CIRCChannel (parent, name){ name = name.toLowerCase(); var existingChannel = parent.channels[name]; if (typeof existingChannel == "object") return existingChannel; this.parent = parent; this.name = name; this.users = new Object(); this.bans = new Object(); this.mode = new...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/irc.js/clean/extensions/irc/js/lib/irc.js
var existingUser = parent.users[nick]; if (typeof existingUser != "undefined")
if (nick in parent.users)
function CIRCChanUser (parent, nick, isOp, isVoice){ var properNick = nick; nick = nick.toLowerCase(); var existingUser = parent.users[nick]; if (typeof existingUser != "undefined") { if (typeof isOp != "undefined") existingUser.isOp = isOp; if (typeof isVoice != "undefined") existingUs...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/irc.js/clean/extensions/irc/js/lib/irc.js
protoUser = new CIRCUser (parent.parent, properNick);
var protoUser = new CIRCUser (parent.parent, properNick);
function CIRCChanUser (parent, nick, isOp, isVoice){ var properNick = nick; nick = nick.toLowerCase(); var existingUser = parent.users[nick]; if (typeof existingUser != "undefined") { if (typeof isOp != "undefined") existingUser.isOp = isOp; if (typeof isVoice != "undefined") existingUs...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/irc.js/clean/extensions/irc/js/lib/irc.js
this.getURL = cusr_geturl;
function CIRCChanUser (parent, nick, isOp, isVoice){ var properNick = nick; nick = nick.toLowerCase(); var existingUser = parent.users[nick]; if (typeof existingUser != "undefined") { if (typeof isOp != "undefined") existingUser.isOp = isOp; if (typeof isVoice != "undefined") existingUs...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c30e3af8136ef61e0b86004c726dd99c740f0bba/irc.js/buggy/extensions/irc/js/lib/irc.js
this.servers = new Object();
function CIRCNetwork (name, serverList, eventPump){ this.name = name; this.serverList = serverList; this.eventPump = eventPump;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ee3e25cd866563b5083f4eb42f44f9b25afaeeda/irc.js/buggy/extensions/irc/js/lib/irc.js
function CIRCServer (parent, connection)
function CIRCServer (parent, connection, password)
function CIRCServer (parent, connection){ var serverName = connection.host + ":" + connection.port; var s = parent.servers[serverName]; if (!s) { s = this; s.channels = new Object(); s.users = new Object(); } s.name = serverName; s.parent = parent; s.connection = connect...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/irc.js/clean/extensions/irc/js/lib/irc.js
var s = parent.servers[serverName]; if (!s)
var s; if (serverName in parent.servers) { s = parent.servers[serverName]; } else
function CIRCServer (parent, connection){ var serverName = connection.host + ":" + connection.port; var s = parent.servers[serverName]; if (!s) { s = this; s.channels = new Object(); s.users = new Object(); } s.name = serverName; s.parent = parent; s.connection = connect...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/irc.js/clean/extensions/irc/js/lib/irc.js
s.password = password;
function CIRCServer (parent, connection){ var serverName = connection.host + ":" + connection.port; var s = parent.servers[serverName]; if (!s) { s = this; s.channels = new Object(); s.users = new Object(); } s.name = serverName; s.parent = parent; s.connection = connect...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/irc.js/clean/extensions/irc/js/lib/irc.js
s.name = serverName;
function CIRCServer (parent, connection){ var serverName = connection.host + ":" + connection.port; var s = parent.servers[serverName]; if (!s) { s = this; s.channels = new Object(); s.users = new Object(); } s.parent = parent; s.connection = connection; s.sendQueue = ne...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c30e3af8136ef61e0b86004c726dd99c740f0bba/irc.js/buggy/extensions/irc/js/lib/irc.js
this.parent = parent; this.connection = connection; this.channels = new Object(); this.users = new Object(); this.sendQueue = new Array(); this.lastSend = new Date("1/1/1980"); this.sendsThisRound = 0; this.savedLine = ""; this.lag = -1; this.usersStable = true;
var serverName = connection.host + ":" + connection.port; var s = parent.servers[serverName]; if (!s) { s = this; s.channels = new Object(); s.users = new Object(); } s.parent = parent; s.connection = connection; s.sendQueue = new Array(); s.lastSend = new Date("1/1/1980"); s.sendsThisRound = 0; s.savedLine = ""; s.la...
function CIRCServer (parent, connection){ this.parent = parent; this.connection = connection; this.channels = new Object(); this.users = new Object(); this.sendQueue = new Array(); this.lastSend = new Date("1/1/1980"); this.sendsThisRound = 0; this.savedLine = ""; this.lag = -1; this.u...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ee3e25cd866563b5083f4eb42f44f9b25afaeeda/irc.js/buggy/extensions/irc/js/lib/irc.js
connection.startAsyncRead(this);
connection.startAsyncRead(s);
function CIRCServer (parent, connection){ this.parent = parent; this.connection = connection; this.channels = new Object(); this.users = new Object(); this.sendQueue = new Array(); this.lastSend = new Date("1/1/1980"); this.sendsThisRound = 0; this.savedLine = ""; this.lag = -1; this.u...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ee3e25cd866563b5083f4eb42f44f9b25afaeeda/irc.js/buggy/extensions/irc/js/lib/irc.js
this.parent.eventPump.addEvent(new CEvent ("server", "poll", this, "onPoll"));
s.parent.eventPump.addEvent(new CEvent ("server", "poll", s, "onPoll")); parent.servers[serverName] = s; return s;
function CIRCServer (parent, connection){ this.parent = parent; this.connection = connection; this.channels = new Object(); this.users = new Object(); this.sendQueue = new Array(); this.lastSend = new Date("1/1/1980"); this.sendsThisRound = 0; this.savedLine = ""; this.lag = -1; this.u...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ee3e25cd866563b5083f4eb42f44f9b25afaeeda/irc.js/buggy/extensions/irc/js/lib/irc.js
var existingUser = parent.users[nick]; if (typeof existingUser == "object")
if (nick in parent.users)
function CIRCUser (parent, nick, name, host){ var properNick = nick; nick = nick.toLowerCase(); var existingUser = parent.users[nick]; if (typeof existingUser == "object") { if (name) existingUser.name = name; if (host) existingUser.host = host; return existingUser; } this....
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/irc.js/clean/extensions/irc/js/lib/irc.js
var existingUser = parent.users[nick];
function CIRCUser (parent, nick, name, host){ var properNick = nick; nick = nick.toLowerCase(); var existingUser = parent.users[nick]; if (typeof existingUser == "object") { if (name) existingUser.name = name; if (host) existingUser.host = host; return existingUser; } this....
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/irc.js/clean/extensions/irc/js/lib/irc.js
a[i] = $.trim(a[i]);
clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { var table = ""; if ( !a[i].indexOf("<thead") || !a[i].indexOf("<tbody") ) { table = "thead"; a[i] = "<table>" + a[i] + "</table>"; } else if ( !a[i].indexOf("<tr") ) { table = "tr"; ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/e218628dda347f5aa9241046780f3345713d7a35/jquery.js/clean/src/jquery/jquery.js
if ( tr ) { div = div.firstChild.firstChild; }
$.clean = function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { var div = document.createElement("div"); div.innerHTML = a[i]; for ( var j = 0; j < div.childNodes.length; j++ ) { r[r.length] = div.childNodes[j]; } } else if ( a[i].length ) { for ( var k = 0;...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/83c75321619f9968e4373a13aced5f83d4228962/jquery.js/clean/jquery/jquery.js
} else if ( a[i].length ) {
} else if ( a[i].length && !a[i].nodeType ) {
$.clean = function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { if ( !a[i].indexOf("<tr") ) { var tr = true; a[i] = "<table>" + a[i] + "</table>"; } else if ( !a[i].indexOf("<td") || !a[i].indexOf("<th") ) { var td = true; a[i] = "<table><tbody><tr>" + a[i...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/aabfccf371ac9a16979772dc6411fbe806138fac/jquery.js/buggy/jquery/jquery.js
for ( var i = 0; i < a.length; i++ ) {
for ( var i = 0, al = a.length; i < al; i++ ) {
clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { var arg = a[i]; if ( typeof arg == "string" ) { // Convert html string into DOM nodes // Trim whitespace, otherwise indexOf won't work as expected var s = jQuery.trim(arg), s3 = s.substring(0,3), s6 = s.substring(0,6), div = docume...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/65a88fae8919e5da774dcc45c9b42220f875b697/jquery.js/clean/src/jquery/jquery.js
for ( var n = 0; n < arg.length; n++ )
for ( var n = 0, argl = arg.length; n < argl; n++ )
clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { var arg = a[i]; if ( typeof arg == "string" ) { // Convert html string into DOM nodes // Trim whitespace, otherwise indexOf won't work as expected var s = jQuery.trim(arg), s3 = s.substring(0,3), s6 = s.substring(0,6), div = docume...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/65a88fae8919e5da774dcc45c9b42220f875b697/jquery.js/clean/src/jquery/jquery.js
if ( !a[i].indexOf("<tr") ) { var tr = true;
if ( !a[i].indexOf("<thead") || !a[i].indexOf("<tbody") ) { table = "thead"; a[i] = "<table>" + a[i] + "</table>"; } else if ( !a[i].indexOf("<tr") ) { table = "tr";
clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { if ( !a[i].indexOf("<tr") ) { var tr = true; a[i] = "<table>" + a[i] + "</table>"; } else if ( !a[i].indexOf("<td") || !a[i].indexOf("<th") ) { var td = true; a[i] = "<table><tbody><tr...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/fe392e6a741a97edf1208d341d884f8f6bcf0739/jquery.js/clean/src/jquery/jquery.js
var td = true;
table = "td";
clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { if ( !a[i].indexOf("<tr") ) { var tr = true; a[i] = "<table>" + a[i] + "</table>"; } else if ( !a[i].indexOf("<td") || !a[i].indexOf("<th") ) { var td = true; a[i] = "<table><tbody><tr...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/fe392e6a741a97edf1208d341d884f8f6bcf0739/jquery.js/clean/src/jquery/jquery.js
if ( tr || td ) { div = div.firstChild.firstChild; if ( td ) div = div.firstChild;
if ( table ) { div = div.firstChild; if ( table != "thead" ) div = div.firstChild; if ( table == "td" ) div = div.firstChild;
clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { if ( !a[i].indexOf("<tr") ) { var tr = true; a[i] = "<table>" + a[i] + "</table>"; } else if ( !a[i].indexOf("<td") || !a[i].indexOf("<th") ) { var td = true; a[i] = "<table><tbody><tr...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/fe392e6a741a97edf1208d341d884f8f6bcf0739/jquery.js/clean/src/jquery/jquery.js
} else if ( a[i].jquery || a[i].length && !a[i].nodeType ) for ( var k = 0; k < a[i].length; k++ ) r.push( a[i][k] ); else if ( a[i] !== null ) r.push( a[i].nodeType ? a[i] : document.createTextNode(a[i].toString()) );
} else if ( a[i].jquery || a[i].length && !a[i].nodeType ) for ( var k = 0; k < a[i].length; k++ ) r.push( a[i][k] ); else if ( a[i] !== null ) r.push( a[i].nodeType ? a[i] : document.createTextNode(a[i].toString()) );
clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { if ( !a[i].indexOf("<tr") ) { var tr = true; a[i] = "<table>" + a[i] + "</table>"; } else if ( !a[i].indexOf("<td") || !a[i].indexOf("<th") ) { var td = true; a[i] = "<table><tbody><tr...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/fe392e6a741a97edf1208d341d884f8f6bcf0739/jquery.js/clean/src/jquery/jquery.js
if ( !a[i].indexOf("<thead") || !a[i].indexOf("<tbody") ) {
if ( !a[i].indexOf("<opt") ) { table = "thead"; a[i] = "<select>" + a[i] + "</select>"; } else if ( !a[i].indexOf("<thead") || !a[i].indexOf("<tbody") ) {
clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { // trim whitespace, otherwise indexOf won't work as expected a[i] = jQuery.trim(a[i]); var table = ""; if ( !a[i].indexOf("<thead") || !a[i].indexOf("<tbody") ) { table = "thead"; a[i...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/14b09024cbe39bc16200448170ccbd183e3a9ec2/jquery.js/buggy/src/jquery/jquery.js
$.clean = function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { if ( !a[i].indexOf("<tr") ) { var tr = true; a[i] = "<table>" + a[i] + "</table>"; } else if ( !a[i].indexOf("<td") || !a[i].indexOf("<th") ) { var td = true; a[i] = "<table><tbody><tr>" + a[i...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/d584a884b6377553d6ba544c10484dc2a866caee/jquery.js/buggy/jquery/jquery.js
r[r.length] =
r[r.length] =
$.clean = function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { if ( !a[i].indexOf("<tr") ) { var tr = true; a[i] = "<table>" + a[i] + "</table>"; } else if ( !a[i].indexOf("<td") || !a[i].indexOf("<th") ) { var td = true; a[i] = "<table><tbody><tr>" + a[i...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/d584a884b6377553d6ba544c10484dc2a866caee/jquery.js/buggy/jquery/jquery.js
arg = div.childNodes; } if ( arg.length != undefined && !arg.nodeType )
for ( var j = 0; j < div.childNodes.length; j++ ) r.push( div.childNodes[j] ); } else if ( arg.length != undefined && !arg.nodeType )
clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { var arg = a[i]; if ( arg.constructor == String ) { // Convert html string into DOM nodes // Trim whitespace, otherwise indexOf won't work as expected var s = jQuery.trim(arg), div = document.createElement("div"), wrap = [0,"",""]; i...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/f1f3d6f300f6db94910b11f387c7f9b741627c02/jquery.js/buggy/src/jquery/jquery.js
if ( a[i].constructor == String ) { a[i] = jQuery.trim(a[i]); var table = "";
if ( a[i].constructor == String ) { var s = jQuery.trim(a[i]), div = document.createElement("div"), wrap = [0,"",""];
clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { // trim whitespace, otherwise indexOf won't work as expected a[i] = jQuery.trim(a[i]); var table = ""; if ( !a[i].indexOf("<opt") ) { table = "thead"; a[i] = "<select>" + a[i] + "...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/24142f60314f916a3eef563553c3305d26112e08/jquery.js/buggy/src/jquery/jquery.js
if ( !a[i].indexOf("<opt") ) { table = "thead"; a[i] = "<select>" + a[i] + "</select>"; } else if ( !a[i].indexOf("<thead") || !a[i].indexOf("<tbody") ) { table = "thead"; a[i] = "<table>" + a[i] + "</table>"; } else if ( !a[i].indexOf("<tr") ) { table = "tr"; a[i] = "<table>" + a[i] + "</table>"; } else if ( !a[i].ind...
if ( !s.indexOf("<opt") ) wrap = [1, "<select>", "</select>"]; else if ( !s.indexOf("<thead") || !s.indexOf("<tbody") ) wrap = [1, "<table>", "</table>"]; else if ( !s.indexOf("<tr") ) wrap = [2, "<table>", "</table>"]; else if ( !s.indexOf("<td") || !s.indexOf("<th") ) wrap = [3, "<table><tbody><tr>", "</tr></tbody></...
clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { // trim whitespace, otherwise indexOf won't work as expected a[i] = jQuery.trim(a[i]); var table = ""; if ( !a[i].indexOf("<opt") ) { table = "thead"; a[i] = "<select>" + a[i] + "...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/24142f60314f916a3eef563553c3305d26112e08/jquery.js/buggy/src/jquery/jquery.js
var div = document.createElement("div"); div.innerHTML = a[i];
div.innerHTML = wrap[1] + s + wrap[2]; while ( wrap[0]-- ) div = div.firstChild; a[i] = div.childNodes; }
clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { // trim whitespace, otherwise indexOf won't work as expected a[i] = jQuery.trim(a[i]); var table = ""; if ( !a[i].indexOf("<opt") ) { table = "thead"; a[i] = "<select>" + a[i] + "...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/24142f60314f916a3eef563553c3305d26112e08/jquery.js/buggy/src/jquery/jquery.js
if ( table ) { div = div.firstChild; if ( table != "thead" ) div = div.firstChild; if ( table == "td" ) div = div.firstChild; }
if ( a[i].length != undefined && !a[i].nodeType ) for ( var n=0; n < a[i].length; n++ ) r.push(a[i][n]); else if ( a[i] !== null ) r.push( a[i].nodeType ? a[i] : document.createTextNode(a[i].toString()) ); }
clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { // trim whitespace, otherwise indexOf won't work as expected a[i] = jQuery.trim(a[i]); var table = ""; if ( !a[i].indexOf("<opt") ) { table = "thead"; a[i] = "<select>" + a[i] + "...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/24142f60314f916a3eef563553c3305d26112e08/jquery.js/buggy/src/jquery/jquery.js
for ( var j = 0; j < div.childNodes.length; j++ ) r.push( div.childNodes[j] ); } else if ( a[i].jquery || a[i].length && !a[i].nodeType ) for ( var k = 0; k < a[i].length; k++ ) r.push( a[i][k] ); else if ( a[i] !== null ) r.push( a[i].nodeType ? a[i] : document.createTextNode(a[i].toString()) ); }
clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { // trim whitespace, otherwise indexOf won't work as expected a[i] = jQuery.trim(a[i]); var table = ""; if ( !a[i].indexOf("<opt") ) { table = "thead"; a[i] = "<select>" + a[i] + "...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/24142f60314f916a3eef563553c3305d26112e08/jquery.js/buggy/src/jquery/jquery.js
for ( var j = 0; j < div.childNodes.length; j++ ) r.push( div.childNodes[j] );
arg = div.childNodes;
clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { var arg = a[i]; if ( arg.constructor == String ) { // Convert html string into DOM nodes // Trim whitespace, otherwise indexOf won't work as expected var s = jQuery.trim(arg), div = document.createElement("div"), wrap = [0,"",""]; i...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/4f92b3430119e734dea39ab4f4636e64d2c26903/jquery.js/buggy/src/jquery/jquery.js
else if ( arg.length != undefined && !arg.nodeType ) for ( var n = 0; n < arg.length; n++ )
if ( arg.length != undefined && ( (jQuery.browser.safari && typeof arg == 'function') || !arg.nodeType ) ) for ( var n = 0; n < arg.length; n++ )
clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { var arg = a[i]; if ( arg.constructor == String ) { // Convert html string into DOM nodes // Trim whitespace, otherwise indexOf won't work as expected var s = jQuery.trim(arg), div = document.createElement("div"), wrap = [0,"",""]; i...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/4f92b3430119e734dea39ab4f4636e64d2c26903/jquery.js/buggy/src/jquery/jquery.js
if ( td ) { div = div.firstChild; }
if ( td ) div = div.firstChild;
$.clean = function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { if ( !a[i].indexOf("<tr") ) { var tr = true; a[i] = "<table>" + a[i] + "</table>"; } else if ( !a[i].indexOf("<td") || !a[i].indexOf("<th") ) { var td = true; a[i] = "<table><tbody><tr>" + a[i...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/c3c706d3f24dbad0fdeb80fe9caf158bd9d6de66/jquery.js/buggy/jquery/jquery.js
for ( var j = 0; j < div.childNodes.length; j++ ) {
for ( var j = 0; j < div.childNodes.length; j++ )
$.clean = function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { if ( !a[i].indexOf("<tr") ) { var tr = true; a[i] = "<table>" + a[i] + "</table>"; } else if ( !a[i].indexOf("<td") || !a[i].indexOf("<th") ) { var td = true; a[i] = "<table><tbody><tr>" + a[i...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/c3c706d3f24dbad0fdeb80fe9caf158bd9d6de66/jquery.js/buggy/jquery/jquery.js
} } else if ( a[i].length && !a[i].nodeType ) { for ( var k = 0; k < a[i].length; k++ ) {
} else if ( a[i].length && !a[i].nodeType ) for ( var k = 0; k < a[i].length; k++ )
$.clean = function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { if ( !a[i].indexOf("<tr") ) { var tr = true; a[i] = "<table>" + a[i] + "</table>"; } else if ( !a[i].indexOf("<td") || !a[i].indexOf("<th") ) { var td = true; a[i] = "<table><tbody><tr>" + a[i...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/c3c706d3f24dbad0fdeb80fe9caf158bd9d6de66/jquery.js/buggy/jquery/jquery.js
} } else if ( a[i] !== null ) {
else if ( a[i] !== null )
$.clean = function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { if ( !a[i].indexOf("<tr") ) { var tr = true; a[i] = "<table>" + a[i] + "</table>"; } else if ( !a[i].indexOf("<td") || !a[i].indexOf("<th") ) { var td = true; a[i] = "<table><tbody><tr>" + a[i...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/c3c706d3f24dbad0fdeb80fe9caf158bd9d6de66/jquery.js/buggy/jquery/jquery.js
}
$.clean = function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { if ( a[i].constructor == String ) { if ( !a[i].indexOf("<tr") ) { var tr = true; a[i] = "<table>" + a[i] + "</table>"; } else if ( !a[i].indexOf("<td") || !a[i].indexOf("<th") ) { var td = true; a[i] = "<table><tbody><tr>" + a[i...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/c3c706d3f24dbad0fdeb80fe9caf158bd9d6de66/jquery.js/buggy/jquery/jquery.js
$.cleanSpaces = function(t){return t.replace(/^\s+|\s+$/g, '')};
$.cleanSpaces = function(t){ return t.replace(/^\s+|\s+$/g, '') };
$.cleanSpaces = function(t){return t.replace(/^\s+|\s+$/g, '')};
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/f0034d64e3890553f214db0708b9a831476ea46a/jquery.js/buggy/jquery/jquery.js
return t.replace(/^\s+|\s+$/g, '');
return t.replace(/^\s+|\s+$/g, "");
$.cleanSpaces = function(t){ return t.replace(/^\s+|\s+$/g, '');};
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/c3c706d3f24dbad0fdeb80fe9caf158bd9d6de66/jquery.js/buggy/jquery/jquery.js
var element = $(element);
element = $(element);
cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } }
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/9867ca01ad65827d23c0bf6cc14d8a64137e927d/prototype.js/buggy/tracks/public/javascripts/prototype.js
if (node.nodeType == 3 && !/\S/.test(node.nodeValue))
if (node.nodeType == 3 && !/\S/.test(node.nodeValue))
cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } }
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/9867ca01ad65827d23c0bf6cc14d8a64137e927d/prototype.js/buggy/tracks/public/javascripts/prototype.js
}
},
cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } }
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/9867ca01ad65827d23c0bf6cc14d8a64137e927d/prototype.js/buggy/tracks/public/javascripts/prototype.js
var element = $(element);
element = $(element);
cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } }
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
}
},
cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } }
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
var element = $(element);
element = $(element);
cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } }
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js
}
},
cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } }
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js
var element = $(element);
element = $(element);
cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } }
708 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/708/3f913f897829fb026ef98df2d57f8da94ee5339d/prototype.js/clean/public/javascripts/prototype.js
if (node.nodeType == 3 && !/\S/.test(node.nodeValue))
if (node.nodeType == 3 && !/\S/.test(node.nodeValue))
cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } }
708 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/708/3f913f897829fb026ef98df2d57f8da94ee5339d/prototype.js/clean/public/javascripts/prototype.js
}
},
cleanWhitespace: function(element) { var element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } }
708 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/708/3f913f897829fb026ef98df2d57f8da94ee5339d/prototype.js/clean/public/javascripts/prototype.js
for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i];
var node = element.firstChild; while (node) { var nextNode = node.nextSibling;
cleanWhitespace: function(element) { element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } return element; },
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/55c6c64da0fbbfba74a0b4ad68022bf640a0a049/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
Element.remove(node);
element.removeChild(node); node = nextNode;
cleanWhitespace: function(element) { element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } return element; },
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/55c6c64da0fbbfba74a0b4ad68022bf640a0a049/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i];
var node = element.firstChild; while (node) { var nextNode = node.nextSibling;
cleanWhitespace: function(element) { element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } return element; },
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/55c6c64da0fbbfba74a0b4ad68022bf640a0a049/prototype.js/clean/railties/html/javascripts/prototype.js
Element.remove(node);
element.removeChild(node); node = nextNode;
cleanWhitespace: function(element) { element = $(element); for (var i = 0; i < element.childNodes.length; i++) { var node = element.childNodes[i]; if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) Element.remove(node); } return element; },
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/55c6c64da0fbbfba74a0b4ad68022bf640a0a049/prototype.js/clean/railties/html/javascripts/prototype.js
for (i = 0; i < arguments.length; i++)
for (var i = 0; i < arguments.length; i++)
clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; },
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/railties/html/javascripts/prototype.js
for (i = 0; i < arguments.length; i++)
for (var i = 0; i < arguments.length; i++)
clear: function() { for (i = 0; i < arguments.length; i++) $(arguments[i]).value = ''; },
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js
return true;
function clear () { try { var cs_class = Components.classes['@mozilla.org/consoleservice;1']; var cs_iface = Components.interfaces.nsIConsoleService; var cs_isupports = cs_class.getService(); var cs = cs_isupports.QueryInterface(cs_iface); } catch(exn) { // Couldn't get the cons...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/35e4e62f1ebe9750222f25fb1ed9a43e45b5dab6/console.js/buggy/xpfe/components/console/resources/content/console.js
node = document.getElementById("fileAttachmentMenu");
var node = document.getElementById("fileAttachmentMenu");
function ClearAttachmentList() { // we also have to disable the File/Attachments menuitem node = document.getElementById("fileAttachmentMenu"); if (node) node.setAttribute("disabled", "true"); // clear selection var list = document.getElementById('attachmentList'); list.clearSelection(); while (list.hasChild...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/5f5a9dd71ae4ad6dc00c4f9cf438579817dd4558/msgHdrViewOverlay.js/clean/mailnews/base/resources/content/msgHdrViewOverlay.js
attachBox.setAttribute("hide", "true");
attachBox.setAttribute("collapsed", "true");
function ClearAttachmentMenu() { var popup = document.getElementById("attachmentPopup"); if ( popup ) { while ( popup.childNodes.length ) popup.removeChild(popup.childNodes[0]); } var attachBox = document.getElementById("attachmentBox"); if (attachBox) attachBox.setAttribute("hide", "true"); ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/66a169ecde9845865fdc6cabf005cc4223ee6bea/msgHdrViewOverlay.js/clean/mailnews/base/resources/content/msgHdrViewOverlay.js
return 0;
return null;
function clearBreakpointByNumber (number){ var bpr = console.breakpoints.childData[number]; if (!bpr) { display (getMsg(MSN_ERR_BP_NOINDEX, number, MT_ERROR)); return 0; } bpr.enabled = false; display (getMsg(MSN_BP_CLEARED, [bpr.fileName, bpr.line, bp...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7544d3415d65bb702cb3060dd8ac2a22f009997b/venkman-debugger.js/clean/extensions/venkman/resources/content/venkman-debugger.js
display (getMsg(MSN_BP_CLEARED, [bpr.fileName, bpr.line, bpr.scriptMatches]));
function clearBreakpointByNumber (number){ var bpr = console.breakpoints.childData[number]; if (!bpr) { display (getMsg(MSN_ERR_BP_NOINDEX, number, MT_ERROR)); return 0; } bpr.enabled = false; display (getMsg(MSN_BP_CLEARED, [bpr.fileName, bpr.line, bp...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7544d3415d65bb702cb3060dd8ac2a22f009997b/venkman-debugger.js/clean/extensions/venkman/resources/content/venkman-debugger.js
return bpr.scriptMatches;
return bpr;
function clearBreakpointByNumber (number){ var bpr = console.breakpoints.childData[number]; if (!bpr) { display (getMsg(MSN_ERR_BP_NOINDEX, number, MT_ERROR)); return 0; } bpr.enabled = false; display (getMsg(MSN_BP_CLEARED, [bpr.fileName, bpr.line, bp...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7544d3415d65bb702cb3060dd8ac2a22f009997b/venkman-debugger.js/clean/extensions/venkman/resources/content/venkman-debugger.js
function clearChildNodes(id)
DWRUtil.clearChildNodes = function(id)
function clearChildNodes(id){ var elem = document.getElementById(id); while (elem.childNodes.length > 0) { elem.removeChild(elem.firstChild); }}
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/1c2e43c84790bfe925e41713280232cd61fc9288/util.js/clean/java/uk/ltd/getahead/dwr/util.js
var elem = document.getElementById(id); while (elem.childNodes.length > 0)
var ele = document.getElementById(id); if (ele == null)
function clearChildNodes(id){ var elem = document.getElementById(id); while (elem.childNodes.length > 0) { elem.removeChild(elem.firstChild); }}
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/1c2e43c84790bfe925e41713280232cd61fc9288/util.js/clean/java/uk/ltd/getahead/dwr/util.js
elem.removeChild(elem.firstChild);
alert("clearChildNodes() can't find an element with id: " + id + "."); throw id; } while (ele.childNodes.length > 0) { ele.removeChild(ele.firstChild);
function clearChildNodes(id){ var elem = document.getElementById(id); while (elem.childNodes.length > 0) { elem.removeChild(elem.firstChild); }}
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/1c2e43c84790bfe925e41713280232cd61fc9288/util.js/clean/java/uk/ltd/getahead/dwr/util.js