rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
13
136k
meta
stringlengths
132
347
new Effect.Appear(update,{duration:0.15});
Effect.Appear(update,{duration:0.15});
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + ...
708 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/708/3f913f897829fb026ef98df2d57f8da94ee5339d/controls.js/buggy/public/javascripts/controls.js
}, batch.metadata.timeout);
}, batch.timeout);
batch.interval = setInterval(function() { clearInterval(batch.interval); DWREngine._abortRequest(batch); }, batch.metadata.timeout);
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/204a8dcf112f6bc2c3897fc4507d023e0e08dfd5/engine.js/clean/java/uk/ltd/getahead/dwr/engine.js
$('commentform').elements('comment[author]').value = getCookie('author'); $('commentform').elements('comment[url]').value = getCookie('url');
$('commentform').elements['comment[author]'].value = getCookie('author'); $('commentform').elements['comment[url]'].value = getCookie('url');
register_onload(function() { if ($('commentform')) { $('commentform').elements('comment[author]').value = getCookie('author'); $('commentform').elements('comment[url]').value = getCookie('url'); if ($('commentform').elements('comment[url]').value != '' || $('commentform').elements('comment[email]')...
708 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/708/e54c6218a8882326c89f938db0302cdbace6d933/typo.js/buggy/public/javascripts/typo.js
if ($('commentform').elements('comment[url]').value != '' || $('commentform').elements('comment[email]').value != '') {
if ($('commentform').elements['comment[url]'].value != '' || $('commentform').elements['comment[email]'].value != '') {
register_onload(function() { if ($('commentform')) { $('commentform').elements('comment[author]').value = getCookie('author'); $('commentform').elements('comment[url]').value = getCookie('url'); if ($('commentform').elements('comment[url]').value != '' || $('commentform').elements('comment[email]')...
708 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/708/e54c6218a8882326c89f938db0302cdbace6d933/typo.js/buggy/public/javascripts/typo.js
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute';
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeig...
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/clean/railties/html/javascripts/controls.js
} new Effect.Appear(update,{duration:0.3}); };
} new Effect.Appear(update,{duration:0.15}); };
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeig...
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/16669774903dd7bfaaf1bf8f0c72e49ebaeffeeb/controls.js/clean/railties/html/javascripts/controls.js
$("div.more,div.short",this.parentNode.parentNode).toggle().find("div.desc",function(){
$("div.more,div.short",this.parentNode.parentNode).toggle('slow').find("div.desc",function(){
$(document).ready(function(){ $("span.tooltip").each(function(){ if ( types[ this.innerHTML ] ) this.title = types[ this.innerHTML ]; }).ToolTipDemo('#fff'); $("a.name").click(function(){ $("div.more,div.short",this.parentNode.parentNode).toggle().find("div.desc",function(){ $(this).html( $(this).html().replace(/...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ccf9d4406296fed48aae0989f2303287f133ed9e/doc.js/buggy/build/docs/js/doc.js
batch.interval = setInterval(function() { DWREngine._abortRequest(batch); }, batch.timeout);
batch.interval = setInterval(function() { dwr.engine._abortRequest(batch); }, batch.timeout);
batch.interval = setInterval(function() { DWREngine._abortRequest(batch); }, batch.timeout);
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/3edb5a1fd9763d1db91f61d8efca822206f14560/engine.js/clean/java/org/directwebremoting/engine.js
var rgb = [];
colors.each(function(color){ var rgb = []; color = new Color(color); for (var i = 0; i < 3; i++) rgb.push(Math.round((mixed[i] / 100 * (100 - alpha)) + (color[i] / 100 * alpha))); mixed = new Color(rgb); });
5733 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5733/af3f8ba3d7a60e124186780a2800f7d435426db3/Color.js/buggy/Addons/Color.js
for (var i = 0; i < 3; i++) rgb.push(Math.round((mixed[i] / 100 * (100 - alpha)) + (color[i] / 100 * alpha))); mixed = new Color(rgb);
for (var i = 0; i < 3; i++) mixed[i] = Math.round((mixed[i] / 100 * (100 - alpha)) + (color[i] / 100 * alpha));
colors.each(function(color){ var rgb = []; color = new Color(color); for (var i = 0; i < 3; i++) rgb.push(Math.round((mixed[i] / 100 * (100 - alpha)) + (color[i] / 100 * alpha))); mixed = new Color(rgb); });
5733 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5733/af3f8ba3d7a60e124186780a2800f7d435426db3/Color.js/buggy/Addons/Color.js
var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + 'px'; update.style.width = element.offsetWidth + 'px';
Position.clone(element, update, {setHeight: false, offsetTop: element.offsetHeight});
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + ...
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/9867ca01ad65827d23c0bf6cc14d8a64137e927d/controls.js/buggy/tracks/public/javascripts/controls.js
new Effect.Appear(update,{duration:0.15});
Effect.Appear(update,{duration:0.15});
function(element, update){ if(!update.style.position || update.style.position=='absolute') { update.style.position = 'absolute'; var offsets = Position.cumulativeOffset(element); update.style.left = offsets[0] + 'px'; update.style.top = (offsets[1] + element.offsetHeight) + ...
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/9867ca01ad65827d23c0bf6cc14d8a64137e927d/controls.js/buggy/tracks/public/javascripts/controls.js
return function() {
return function() {
return function() { this.initialize.apply(this, arguments); }
708 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/708/3f913f897829fb026ef98df2d57f8da94ee5339d/prototype.js/clean/public/javascripts/prototype.js
this.last = this.last == a ? b : a; e.preventDefault(); return this.last.apply( this, [e] ) || false; }) :
this.last = this.last == a ? b : a; e.preventDefault(); return this.last.apply( this, [e] ) || false; }) :
return a && b ? this.click(function(e){ // Figure out which function to execute this.last = this.last == a ? b : a; // Make sure that clicks stop e.preventDefault(); // and execute the function return this.last.apply( this, [e] ) || false; }) :
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/9477c418dbf50f2341dec7c02f60ab3d77da5378/event.js/clean/event/event.js
var asciiBytes = aBytes.filter(function (n) {return !(0x80 & n);});
name = name.split("").filter(function (el) { return chars.indexOf(el) != -1; }).join("");
var asciiBytes = aBytes.filter(function (n) {return !(0x80 & n);});
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/5828ec64ba17fe405f0d5504ddc37c9c1c1c3e75/nsSearchService.js/clean/browser/components/search/nsSearchService.js
jQuery.map( this, function(a){ return a } ) :
this.each(function(i){ if ( this == obj ) pos = i; });
jQuery.map( this, function(a){ return a } ) :
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/69efa31318238a1af5644da7aa5dc691dc33b376/jquery.js/clean/src/jquery/jquery.js
window.setTimeout(function() { a.step(); }, 100);
window.setTimeout(function() { a.step(); }, 50);
window.setTimeout(function() { a.step(); }, 100);
6194 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6194/0c9dbfb1886431acd553b36f5efdc9bde4db94eb/graphics.js/clean/src/webapp/api/scripts/graphics.js
if (!el || ((param[1] != '*') && ($Element(el, 'getTag') != param[1]))) return;
if (!el || ((param[1] != '*') && (Element.prototype.getTag.call(el) != param[1]))) return;
selector.clean().split(' ').each(function(sel, i){ var param = sel.match('^(\\w*|\\*)(?:#([\\w_-]+)|\\.([\\w_-]+))?(?:\\[["\']?(\\w+)["\']?(?:([\\*\\^\\$]?=)["\']?(\\w*)["\']?)?\\])?$'); //PARAM ARRAY: 0 = full string: 1 = tag; 2 = id; 3 = class; 4 = attribute; 5 = operator; 6 = value; if (!param) return; par...
5733 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5733/b57774298a216831aaf9ee0a5b41fa9aa6fc447e/Dom.js/buggy/Addons/Dom.js
$.get(files[num],function(js){ js = js.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&"); try { eval(js); } catch(e) { Test.push( [ false, "Died on test #" + Test.length + ": " + e ] ); } var good = 0, bad = 0; var ol = document.createElement("ol"); var li = "", state = "pass"; for ( var i = 0; i < ...
synchronize(function() { blocking = true; $.get('index.html', function(content) { var div = $(document.createElement('div')).html(content) .find('[@id=main]').html(); $('#main').html(div); blocking = false; process(); });
$.get(files[num],function(js){ js = js.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&"); try { eval(js); } catch(e) { Test.push( [ false, "Died on test #" + Test.length + ": " + e ] ); } var good = 0, bad = 0; var ol = document.createElement("ol"); var li = "", state = "pass"; for ( var i...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/97ea47492fe13ddb1108045c244d5af6570ace92/test.js/buggy/build/test/js/test.js
this.loadTimer=setTimeout(function () {This.onDragLoadTarget(targetToBeLoaded)}, This.springLoadedMenuDelay);
setTimeout(function() { BookmarksMenu.delayedHideOpenInTabsMenuItem(); }, 0);
this.loadTimer=setTimeout(function () {This.onDragLoadTarget(targetToBeLoaded)}, This.springLoadedMenuDelay);
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a429b6720a457cbc90d1df942a1f58abece300ce/bookmarksMenu.js/buggy/browser/components/bookmarks/content/bookmarksMenu.js
children.flatten().each( function(e) { if(typeof e=='object') element.appendChild(e) else if(Builder._isStringOrNumber(e)) element.appendChild(Builder._text(e));
$R(1,arguments.length-1).each( function(index) { element.className = element.className.split(' ').reject( function(klass) { return (klass == removeClasses[index]) } ).join(' ');
children.flatten().each( function(e) { if(typeof e=='object') element.appendChild(e) else if(Builder._isStringOrNumber(e)) element.appendChild(Builder._text(e)); });
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/8a342036a177e27b9f776c900bbae999b6ce8e3c/effects.js/buggy/tracks/public/javascripts/effects.js
$("#docs").alphaPager( 1 );
$("#docs").alphaPager(function(a){ return $.fn.text.apply( [a.childNodes[1]] ).replace(/^\$\./,"").substr(0,1).toUpperCase(); });
$(document).ready(function(){ $("span.tooltip").each(function(){ if ( types[ this.innerHTML ] ) this.title = types[ this.innerHTML ]; }).ToolTipDemo('#fff'); $("a.name").click(function(){ $("div.more,div.short",this.parentNode.parentNode) .find("div.desc",function(){ $(this).html( $(this).html().replace(/\n\n/...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/e2d3c4341908aa2a36023c91a8a684d10e93339a/doc.js/clean/build/docs/js/doc.js
.find("div.desc",function(){
.find("div.desc").each(function(){
$(document).ready(function(){ $("span.tooltip").each(function(){ if ( types[ this.innerHTML ] ) this.title = types[ this.innerHTML ]; }).ToolTipDemo('#fff'); $("a.name").click(function(){ $("div.more,div.short",this.parentNode.parentNode) .find("div.desc",function(){ $(this).html( $(this).html().replace(/\n\n/...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/fb11b33d68f64ea446f2f8c6d3ef2aed3652349f/doc.js/clean/build/docs/js/doc.js
})
}).end()
$(document).ready(function(){ $("span.tooltip").each(function(){ if ( types[ this.innerHTML ] ) this.title = types[ this.innerHTML ]; }).ToolTipDemo('#fff'); $("a.name").click(function(){ $("div.more,div.short",this.parentNode.parentNode) .find("div.desc",function(){ $(this).html( $(this).html().replace(/\n\n/...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/fb11b33d68f64ea446f2f8c6d3ef2aed3652349f/doc.js/clean/build/docs/js/doc.js
return $.fn.text.apply( [a.childNodes[1]] ).replace(/^\$\./,"").substr(0,1).toUpperCase();
return $.fn.text.apply( [a.getElementsByTagName("span")[2]] ).replace(/^\$\./,"").substr(0,1).toUpperCase();
$(document).ready(function(){ $("span.tooltip").each(function(){ if ( types[ this.innerHTML ] ) this.title = types[ this.innerHTML ]; }).ToolTipDemo('#fff'); $("a.name").click(function(){ $("div.more,div.short",this.parentNode.parentNode) .find("div.desc",function(){ $(this).html( $(this).html().replace(/\n\n/...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/fb11b33d68f64ea446f2f8c6d3ef2aed3652349f/doc.js/clean/build/docs/js/doc.js
return a && b ? this.click(function(e){
return a && b && a.constructor == Function && b.constructor == Function ? this.click(function(e){
return a && b ? this.click(function(e){ // Figure out which function to execute this.last = this.last == a ? b : a; // Make sure that clicks stop e.preventDefault(); // and execute the function return this.last.apply( this, [e] ) || false; }) :
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/48ec10044f011ccfe9bd232d629682b59cccbd97/event.js/buggy/src/event/event.js
SimileAjax_onLoad = null;
(function() { var substring = SimileAjax.urlPrefix + "scripts/signal.js"; var heads = document.documentElement.getElementsByTagName("head"); for (var h = 0; h < heads.length; h++) { var node = heads[h].firstChild; while (node != null) { if (node.nodeType == 1 && node.tagName.toLowerCas...
6194 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6194/ad43220ac38569f1b1e9c78f3783829b1f665216/signal.js/clean/src/webapp/api/scripts/signal.js
return this.queue(function(){ var i = 0; for ( var p in prop ) { var e = new jQuery.fx( this, jQuery.speed(speed,callback,i++), p ); if ( prop[p].constructor == Number ) e.custom( e.cur(), prop[p] ); else e[ prop[p] ]( prop ); }
return this.each(function(){ var state = $(this).is(":hidden") ? "show" : "hide"; $(this).animate({height: state}, speed, callback);
return this.queue(function(){ var i = 0; for ( var p in prop ) { var e = new jQuery.fx( this, jQuery.speed(speed,callback,i++), p ); if ( prop[p].constructor == Number ) e.custom( e.cur(), prop[p] ); else e[ prop[p] ]( prop ); } });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/8a1adfcd2a0ea8fbb72ac53537cbfe6ebeba0cdf/fx.js/buggy/src/fx/fx.js
gBrowser.addEventListener("PageShow", function(evt) { setTimeout(pageShowEventHandlers, 0, evt); }, true);
gBrowser.addEventListener("pageshow", function(evt) { setTimeout(pageShowEventHandlers, 0, evt); }, true);
gBrowser.addEventListener("PageShow", function(evt) { setTimeout(pageShowEventHandlers, 0, evt); }, true);
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/83216585acfd1409e2c80119d6cc793b3e5c3569/browser.js/buggy/browser/base/content/browser.js
this.drops = this.drops.reject(function(e) { return e==element });
this.drops = this.drops.reject(function(d) { return d.element==element });
this.drops = this.drops.reject(function(e) { return e==element });
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
$('input[@type="submit"],input[@type="image"]', this).click(function(ev){ this.form.clicked = this; if (ev.offsetX != undefined) { this.form.clicked_x = ev.offsetX; this.form.clicked_y = ev.offsetY; } else { this.form.clicked_x = ev.pageX - this.offsetLeft; this.form.clicked_y = ev.pageY - this.offsetTop; } });
$.xml(mth, url, $.param(this.vars), function(r) { eval(r.responseText); });
$('input[@type="submit"],input[@type="image"]', this).click(function(ev){ this.form.clicked = this; if (ev.offsetX != undefined) { this.form.clicked_x = ev.offsetX; this.form.clicked_y = ev.offsetY; } else { this.form.clicked_x = ev.pageX - this.offsetLeft; this.form.clicked_y = ev.pageY - this.offsetTop; ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ce6af8e8894b14c7b2c41b64a097bc49acc73b19/form.js/buggy/form/form.js
return $.map( $a, function(b){ if ( b.constructor == String ) { return document.getElementById(b); } return b; });
return this.each(function(){ if ( b == undefined ) for ( var j in a ) $.attr(this,j,a[j]); else $.attr(this,a,b); });
return $.map( $a, function(b){ if ( b.constructor == String ) { return document.getElementById(b); } return b; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/c3c706d3f24dbad0fdeb80fe9caf158bd9d6de66/jquery.js/buggy/jquery/jquery.js
setTimeout(function(){ y.overflow = z.oo; if(y.height=="0px"||y.width=="0px"){z.ss("none");} if ( ty != "opacity" && z.o.auto ) { $.setAuto( z.el, "height" ); $.setAuto( z.el, "width" ); } if(z.o.onComplete.constructor == Function){z.el.$_ = z.o.onComplete;z.el.$_();} },13);
z.timer = setInterval(function(){ z.step(from, to); }, 13);
setTimeout(function(){ y.overflow = z.oo; if(y.height=="0px"||y.width=="0px"){z.ss("none");} if ( ty != "opacity" && z.o.auto ) { $.setAuto( z.el, "height" ); $.setAuto( z.el, "width" ); } if(z.o.onComplete.constructor == Function){z.el.$_ = z.o.onComplete;z.el.$_();} },13);
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/807c75dadf647a5f07b661ff62c102cd3797479a/fx.js/buggy/fx/fx.js
for ( var i = 0; i < t.length; i++ )
for ( var i = 0, tl = t.length; i < tl; i++ )
jQuery.map(this,function(a){ for ( var i = 0; i < t.length; i++ ) if ( jQuery.filter(t[i],[a]).r.length ) return a; return null; }) ||
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/65a88fae8919e5da774dcc45c9b42220f875b697/jquery.js/clean/src/jquery/jquery.js
function (event) { FeedHandler.onLinkAdded(event); },
setTimeout(function() { if (document.getElementById("highlight").checked) toggleHighlight(true); }, 0);
function (event) { FeedHandler.onLinkAdded(event); },
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/47ae4bc2411f4d8a41715c2a77fefbb1fdcc89b1/browser.js/clean/browser/base/content/browser.js
z.timer=setInterval(function(){z.step(f,t);}, 13);
setTimeout(function(){ y.overflow = z.oo; if(y.height=="0px"||y.width=="0px"){z.ss("none");} if ( ty != "opacity" && z.o.auto ) { $.setAuto( z.el, "height" ); $.setAuto( z.el, "width" ); } if(z.o.onComplete.constructor == Function){z.el.$_ = z.o.onComplete;z.el.$_();} },13);
z.timer=setInterval(function(){z.step(f,t);}, 13);
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/497bfb7909ada30e3410827808bc0c1a0d9843a7/fx.js/clean/fx/fx.js
return false;
return null;
jQuery.map(this,function(a){ for ( var i = 0; i < t.length; i++ ) if ( jQuery.filter(t[i],[a]).r.length ) return a; return false; }) ||
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/3ab145e5aaf68fca0973cb3a8a268739729a90d6/jquery.js/buggy/src/jquery/jquery.js
test("$.get(String, Hash, Function) - parse xml and use text() on nodes", function() { expect(2); stop(); $.get('data/dashboard.xml', function(xml) {
$.get('data/dashboard.xml', function(xml) {
test("$.get(String, Hash, Function) - parse xml and use text() on nodes", function() { expect(2); stop(); $.get('data/dashboard.xml', function(xml) { var content = []; $('tab', xml).each(function() { content.push($(this).text()); }); ok( content[0] == 'blabla', 'Check first tab'); ok( content[1] == 'blublu', 'Ch...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js
});
test("$.get(String, Hash, Function) - parse xml and use text() on nodes", function() { expect(2); stop(); $.get('data/dashboard.xml', function(xml) { var content = []; $('tab', xml).each(function() { content.push($(this).text()); }); ok( content[0] == 'blabla', 'Check first tab'); ok( content[1] == 'blublu', 'Ch...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js
test("$.get(String, Hash, Function) - parse xml and use text() on nodes", function() { expect(2);
test("test global handlers - success", function() { expect(8);
test("$.get(String, Hash, Function) - parse xml and use text() on nodes", function() { expect(2); stop(); $.get('data/dashboard.xml', function(xml) { var content = []; $('tab', xml).each(function() { content.push($(this).text()); }); ok( content[0] == 'blabla', 'Check first tab'); ok( content[1] == 'blublu', 'Ch...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js
$.get('data/dashboard.xml', function(xml) { var content = []; $('tab', xml).each(function() { content.push($(this).text()); }); ok( content[0] == 'blabla', 'Check first tab'); ok( content[1] == 'blublu', 'Check second tab'); start(); });
var counter = { complete: 0, success: 0, error: 0, send: 0 }, success = function() { counter.success++ }, error = function() { counter.error++ }, complete = function() { counter.complete++ }, send = function() { counter.send++ }; $('#foo').ajaxStart(complete).ajaxStop(complete).ajaxSend(send).ajaxComplete(complete).aj...
test("$.get(String, Hash, Function) - parse xml and use text() on nodes", function() { expect(2); stop(); $.get('data/dashboard.xml', function(xml) { var content = []; $('tab', xml).each(function() { content.push($(this).text()); }); ok( content[0] == 'blabla', 'Check first tab'); ok( content[1] == 'blublu', 'Ch...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js
if (iterator(value, index)) results.push(value);
if (iterator(value, index)) { result = value; throw $break; }
this.each(function(value, index) { if (iterator(value, index)) results.push(value); });
5150 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5150/44d85be227cc8496144d82df38b82dfcc1224861/prototype.js/clean/intermine/webapp/main/resources/main/js/prototype.js
setTimeout((function() { for (var i = 0; i < scripts.length; i++) eval(scripts[i].match(match)[1]); }).bind(this), 10);
this.each(function(value, index) { if (iterator(value, index)) results.push(value); });
setTimeout((function() { for (var i = 0; i < scripts.length; i++) eval(scripts[i].match(match)[1]); }).bind(this), 10);
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/9867ca01ad65827d23c0bf6cc14d8a64137e927d/prototype.js/buggy/tracks/public/javascripts/prototype.js
return a ? this.each(function(){ new fx.FadeSize(this,o).show(); }) : this._show();
z.timer=setInterval(function(){z.step(f,t);}, 13);
return a ? this.each(function(){ new fx.FadeSize(this,o).show(); }) : this._show();
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/f0034d64e3890553f214db0708b9a831476ea46a/fx.js/buggy/fx/fx.js
this.effects.findAll(function(e){ return e.state=='idle' }).each( function(e) { e.startOn += effect.finishOn; e.finishOn += effect.finishOn; });
this.effects = this.effects.reject(function(e) { return e==effect });
this.effects.findAll(function(e){ return e.state=='idle' }).each( function(e) { e.startOn += effect.finishOn; e.finishOn += effect.finishOn; });
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
$.get('data/dashboard.xml', function(xml) {
test("$.get(String, Hash, Function) - parse xml and use text() on nodes", function() { expect(2); stop(); $.get('data/dashboard.xml', function(xml) {
$.get('data/dashboard.xml', function(xml) { var content = []; $('tab', xml).each(function() { content.push($(this).text()); }); ok( content[0] == 'blabla', 'Check first tab'); ok( content[1] == 'blublu', 'Check second tab'); start(); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js
});
$.get('data/dashboard.xml', function(xml) { var content = []; $('tab', xml).each(function() { content.push($(this).text()); }); ok( content[0] == 'blabla', 'Check first tab'); ok( content[1] == 'blublu', 'Check second tab'); start(); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js
setTimeout(function(loc) { gURLBar.value = ""; gURLBar.value = loc; SetPageProxyState("valid"); }, 0, location);
setTimeout(function() { findField.value = browser.findString; }, 0, findField, browser);
setTimeout(function(loc) { gURLBar.value = ""; // hack for bug 249322 gURLBar.value = loc; SetPageProxyState("valid"); }, 0, location);
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e1400c9125f1ce96798a8c3ff2c3e918c4b7163a/browser.js/buggy/browser/base/content/browser.js
var stringValue = value.toString(); if (stringValue.match(pattern)) results.push((iterator || Prototype.K)(value, index)); })
if (iterator(value, index)) results.push(value); });
this.each(function(value, index) { var stringValue = value.toString(); if (stringValue.match(pattern)) results.push((iterator || Prototype.K)(value, index)); })
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
jQuery.map(this,function(a){ for ( var i = 0; i < t.length; i++ ) if ( jQuery.filter(t[i],[a]).r.length ) return a; }) ||
return this.pushStack( jQuery.map( this, function(a){ return a.cloneNode( deep != undefined ? deep : true ); }), arguments );
jQuery.map(this,function(a){ for ( var i = 0; i < t.length; i++ ) if ( jQuery.filter(t[i],[a]).r.length ) return a; }) ||
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ccf9d4406296fed48aae0989f2303287f133ed9e/jquery.js/clean/src/jquery/jquery.js
this.effects.findAll(function(e){ return e.state=='idle' }).each( function(e) { e.startOn += effect.finishOn; e.finishOn += effect.finishOn; });
this.effects = this.effects.reject(function(e) { return e==effect });
this.effects.findAll(function(e){ return e.state=='idle' }).each( function(e) { e.startOn += effect.finishOn; e.finishOn += effect.finishOn; });
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/effects.js/clean/railties/html/javascripts/effects.js
var stringValue = value.toString(); if (stringValue.match(pattern)) results.push((iterator || Prototype.K)(value, index)); })
if (iterator(value, index)) results.push(value); });
this.each(function(value, index) { var stringValue = value.toString(); if (stringValue.match(pattern)) results.push((iterator || Prototype.K)(value, index)); })
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js
setTimeout((function() { for (var i = 0; i < scripts.length; i++) eval(scripts[i].match(match)[1]); }).bind(this), 10);
this.each(function(value, index) { if (iterator(value, index)) results.push(value); });
setTimeout((function() { for (var i = 0; i < scripts.length; i++) eval(scripts[i].match(match)[1]); }).bind(this), 10);
708 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/708/3f913f897829fb026ef98df2d57f8da94ee5339d/prototype.js/clean/public/javascripts/prototype.js
if (i>0) do event.remove(els[i-1], type); while (--i);
if (i>0) do if (type != 'unload') event.remove(els[i-1], type); while (--i);
if ($.browser.msie) $(window).unload(function() { var event = jQuery.event, global = event.global; for (var type in global) { var els = global[type], i = els.length; if (i>0) do event.remove(els[i-1], type); while (--i); }});
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/25ee2d8e2efaf4cad8a6d4c247013e573d9d66e9/event.js/clean/src/event/event.js
return this.pushStack( jQuery.map( this, function(a){ return a.cloneNode( deep != undefined ? deep : true ); }), arguments );
jQuery.map(this,function(a){ for ( var i = 0; i < t.length; i++ ) if ( jQuery.filter(t[i],[a]).r.length ) return a; }) ||
return this.pushStack( jQuery.map( this, function(a){ return a.cloneNode( deep != undefined ? deep : true ); }), arguments );
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/69efa31318238a1af5644da7aa5dc691dc33b376/jquery.js/clean/src/jquery/jquery.js
this.effects.each( function(effect) { effect.render(1.0); effect.cancel(); effect.event('beforeFinish'); if(effect.finish) effect.finish(position); effect.event('afterFinish');
['top','left','width','height','fontSize'].each( function(k) { effect.originalStyle[k] = effect.element.style[k];
this.effects.each( function(effect) { effect.render(1.0); effect.cancel(); effect.event('beforeFinish'); if(effect.finish) effect.finish(position); effect.event('afterFinish'); });
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/8a342036a177e27b9f776c900bbae999b6ce8e3c/effects.js/buggy/tracks/public/javascripts/effects.js
return false;
jQuery.map(this,function(a){ for ( var i = 0; i < t.length; i++ ) if ( jQuery.filter(t[i],[a]).r.length ) return a; }) ||
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/af961d58c244224c14f3bb519214485cb670c64d/jquery.js/buggy/src/jquery/jquery.js
this.each(function(){this.parentNode.removeChild( this );});
return this.each(function(){ var b = a[0].cloneNode(true); this.parentNode.insertBefore( b, this ); while ( b.firstChild ) b = b.firstChild; b.appendChild( this ); });
this.each(function(){this.parentNode.removeChild( this );});
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/c3c706d3f24dbad0fdeb80fe9caf158bd9d6de66/jquery.js/buggy/jquery/jquery.js
z.timer=setInterval(function(){z.step(f,t);}, 13);
(function(){ for(var $i in $.fx.ty){(function(){ var c = $.fx.ty[$i]; $.fx[c] = function(a,b){ return new $.fx(a,b,c.toLowerCase()); }; })();} })();
z.timer=setInterval(function(){z.step(f,t);}, 13);
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/807c75dadf647a5f07b661ff62c102cd3797479a/fx.js/buggy/fx/fx.js
m.addEventListener("command", function() { for (var i = 0; i < undoItems.length; i++) undoCloseTab(); }, false);
function (event) { FeedHandler.onLinkAdded(event); },
m.addEventListener("command", function() { for (var i = 0; i < undoItems.length; i++) undoCloseTab(); }, false);
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/47ae4bc2411f4d8a41715c2a77fefbb1fdcc89b1/browser.js/clean/browser/base/content/browser.js
(function(){ for(var $i in $.fx.ty){(function(){ var c = $.fx.ty[$i]; $.fx[c] = function(a,b){ return new $.fx(a,b,c.toLowerCase(),c); }; })();} })();
z.timer=setInterval(function(){z.step(f,t);}, 13);
(function(){ for(var $i in $.fx.ty){(function(){ var c = $.fx.ty[$i]; $.fx[c] = function(a,b){ return new $.fx(a,b,c.toLowerCase(),c); }; })();}})();
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/497bfb7909ada30e3410827808bc0c1a0d9843a7/fx.js/clean/fx/fx.js
if ( document.readyState == "loaded" ||
if ( document.readyState == "loaded" ||
$.$$timer = setInterval(function(){ if ( document.readyState == "loaded" || document.readyState == "complete" ) { clearInterval( $.$$timer ); $.$$timer = null; $.ready(); } }, 10);
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/5c7551e318050731f0afc5d07caea37ce679c5b3/event.js/clean/event/event.js
$.get('data/dashboard.xml', function(xml) { var content = []; $('tab', xml).each(function() {
$('tab', xml).each(function() {
$.get('data/dashboard.xml', function(xml) { var content = []; $('tab', xml).each(function() { content.push($(this).text()); }); ok( content[0] == 'blabla', 'Check first tab'); ok( content[1] == 'blublu', 'Check second tab'); start(); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js
ok( content[0] == 'blabla', 'Check first tab'); ok( content[1] == 'blublu', 'Check second tab'); start(); });
$.get('data/dashboard.xml', function(xml) { var content = []; $('tab', xml).each(function() { content.push($(this).text()); }); ok( content[0] == 'blabla', 'Check first tab'); ok( content[1] == 'blublu', 'Check second tab'); start(); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js
$.get('data/dashboard.xml', function(xml) { var content = []; $('tab', xml).each(function() { content.push($(this).text()); }); ok( content[0] == 'blabla', 'Check first tab'); ok( content[1] == 'blublu', 'Check second tab'); start(); });
test("test global handlers - failure", function() { expect(8); stop(); var counter = { complete: 0, success: 0, error: 0, send: 0 }, success = function() { counter.success++ }, error = function() { counter.error++ }, complete = function() { counter.complete++ }, send = function() { counter.send++ }; $.ajaxTimeout(0); $...
$.get('data/dashboard.xml', function(xml) { var content = []; $('tab', xml).each(function() { content.push($(this).text()); }); ok( content[0] == 'blabla', 'Check first tab'); ok( content[1] == 'blublu', 'Check second tab'); start(); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js
var stringValue = value.toString(); if (stringValue.match(pattern)) results.push((iterator || Prototype.K)(value, index)); })
if (iterator(value, index)) results.push(value); });
this.each(function(value, index) { var stringValue = value.toString(); if (stringValue.match(pattern)) results.push((iterator || Prototype.K)(value, index)); })
5150 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5150/44d85be227cc8496144d82df38b82dfcc1224861/prototype.js/clean/intermine/webapp/main/resources/main/js/prototype.js
return this.each(function(){ new fx.Resize(this,o).show("height"); });
for(var i in fx.ty){(function(){ var c = fx.ty[i]; fx[c] = function(a,b){ return new fx(a,b,c.toLowerCase(),c);}; })()}
return this.each(function(){ new fx.Resize(this,o).show("height"); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/f0034d64e3890553f214db0708b9a831476ea46a/fx.js/buggy/fx/fx.js
if ( table && this.nodeName == "TABLE" ) {
if ( table && this.nodeName == "TABLE" && a[0].nodeName != "THEAD" ) {
return this.each(function(){ var obj = this; if ( table && this.nodeName == "TABLE" ) { var tbody = this.getElementsByTagName("tbody"); if ( !tbody.length ) { obj = document.createElement("tbody"); this.appendChild( obj ); } else obj = tbody[0]; } for ( var i = ( dir < 0 ? a.length - 1...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/fe392e6a741a97edf1208d341d884f8f6bcf0739/jquery.js/clean/src/jquery/jquery.js
this.effects = this.effects.reject(function(e) { return e==effect });
this.effects.each( function(effect) { effect.render(1.0); effect.cancel(); effect.event('beforeFinish'); if(effect.finish) effect.finish(position); effect.event('afterFinish'); });
this.effects = this.effects.reject(function(e) { return e==effect });
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
$('tab', xml).each(function() {
$.get('data/dashboard.xml', function(xml) { var content = []; $('tab', xml).each(function() {
$('tab', xml).each(function() { content.push($(this).text()); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js
ok( content[0] == 'blabla', 'Check first tab'); ok( content[1] == 'blublu', 'Check second tab'); start(); });
$('tab', xml).each(function() { content.push($(this).text()); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js
setTimeout(function () { FeedHandler.updateFeeds(); }, 0);
setTimeout(function(loc) { gURLBar.value = ""; gURLBar.value = loc; SetPageProxyState("valid"); }, 0, location);
setTimeout(function () { FeedHandler.updateFeeds(); }, 0);
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e1400c9125f1ce96798a8c3ff2c3e918c4b7163a/browser.js/buggy/browser/base/content/browser.js
this.each(function(value) { if (value == object) { found = true; throw _break; } });
this.each(function(value, index) { var stringValue = value.toString(); if (stringValue.match(pattern)) results.push((iterator || Prototype.K)(value, index)); })
this.each(function(value) { if (value == object) { found = true; throw _break; } });
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
jQuery.grep(this,function(a){ return a != t; }), arguments );
jQuery.grep(this,function(a){ return a != t; }) );
jQuery.grep(this,function(a){ return a != t; }), arguments );
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/94e59e287a9fde9425cd96713e8130aef06bc431/jquery.js/clean/src/jquery/jquery.js
jQuery.grep(this,function(a){ return a != t; }), arguments );
jQuery.map(this,function(a){ for ( var i = 0; i < t.length; i++ ) if ( jQuery.filter(t[i],[a]).r.length ) return a; }) ||
jQuery.grep(this,function(a){ return a != t; }), arguments );
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ccf9d4406296fed48aae0989f2303287f133ed9e/jquery.js/clean/src/jquery/jquery.js
this.effects = this.effects.reject(function(e) { return e==effect });
this.effects.each( function(effect) { effect.render(1.0); effect.cancel(); effect.event('beforeFinish'); if(effect.finish) effect.finish(position); effect.event('afterFinish'); });
this.effects = this.effects.reject(function(e) { return e==effect });
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/effects.js/clean/railties/html/javascripts/effects.js
this.each(function(value) { if (value == object) { found = true; throw _break; } });
this.each(function(value, index) { var stringValue = value.toString(); if (stringValue.match(pattern)) results.push((iterator || Prototype.K)(value, index)); })
this.each(function(value) { if (value == object) { found = true; throw _break; } });
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js
jQuery.map(this,function(a){ for ( var i = 0; i < t.length; i++ ) if ( jQuery.filter(t[i],[a]).r.length ) return a; }) ||
jQuery.grep(this,function(a){ return a != t; }), arguments );
jQuery.map(this,function(a){ for ( var i = 0; i < t.length; i++ ) if ( jQuery.filter(t[i],[a]).r.length ) return a; }) ||
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/69efa31318238a1af5644da7aa5dc691dc33b376/jquery.js/clean/src/jquery/jquery.js
['top','left','width','height','fontSize'].each( function(k) { effect.originalStyle[k] = effect.element.style[k];
['em','px','%'].each( function(fontSizeType) { if(fontSize.indexOf(fontSizeType)>0) { effect.fontSize = parseFloat(fontSize); effect.fontSizeType = fontSizeType; }
['top','left','width','height','fontSize'].each( function(k) { effect.originalStyle[k] = effect.element.style[k]; });
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/8a342036a177e27b9f776c900bbae999b6ce8e3c/effects.js/buggy/tracks/public/javascripts/effects.js
return this.each(function(){ var obj = this; if ( table && this.nodeName == "TABLE" ) { var tbody = this.getElementsByTagName("tbody"); if ( !tbody.length ) { obj = document.createElement("tbody"); this.appendChild( obj ); } else obj = tbody[0]; } for ( var i = ( dir < 0 ? a.length - ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/7d57c67749a4c38d80de6d5ed7917f4219ce34b4/jquery.js/buggy/jquery/jquery.js
i != ( dir < 0 ? dir : a.length ); i += dir ) fn.apply( obj, [ a[i] ] );
i != ( dir < 0 ? dir : a.length ); i += dir ) { fn.apply( obj, [ clone ? a[i].cloneNode(true) : a[i] ] ); }
return this.each(function(){ var obj = this; if ( table && this.nodeName == "TABLE" ) { var tbody = this.getElementsByTagName("tbody"); if ( !tbody.length ) { obj = document.createElement("tbody"); this.appendChild( obj ); } else obj = tbody[0]; } for ( var i = ( dir < 0 ? a.length - ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/7d57c67749a4c38d80de6d5ed7917f4219ce34b4/jquery.js/buggy/jquery/jquery.js
return this.each(function(){ var b = a[0].cloneNode(true); this.parentNode.insertBefore( b, this ); while ( b.firstChild ) b = b.firstChild; b.appendChild( this ); });
return this.domManip(function(){ for ( var i = 0; i < a.length; i++ ) this.appendChild( clone ? a[i].cloneNode(true) : a[i] ); });
return this.each(function(){ var b = a[0].cloneNode(true); this.parentNode.insertBefore( b, this ); while ( b.firstChild ) b = b.firstChild; b.appendChild( this ); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/c3c706d3f24dbad0fdeb80fe9caf158bd9d6de66/jquery.js/buggy/jquery/jquery.js
return $A(element.childNodes).collect( function(item) {
return $(this.findElements(element, options) || []).collect( function(item) {
return $A(element.childNodes).collect( function(item) { return (encodeURIComponent(options.name) + "[]=" + encodeURIComponent(item.id.split("_")[1])); }).join("&");
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/dragdrop.js/buggy/railties/html/javascripts/dragdrop.js
encodeURIComponent(item.id.split("_")[1]));
encodeURIComponent(item.id.match(options.format) ? item.id.match(options.format)[1] : ''));
return $A(element.childNodes).collect( function(item) { return (encodeURIComponent(options.name) + "[]=" + encodeURIComponent(item.id.split("_")[1])); }).join("&");
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/dragdrop.js/buggy/railties/html/javascripts/dragdrop.js
if ( table && this.nodeName == "TABLE" && a[0].nodeName != "THEAD" ) {
if ( table && this.nodeName.toUpperCase() == "TABLE" && a[0].nodeName.toUpperCase() != "THEAD" ) {
return this.each(function(){ var obj = this; if ( table && this.nodeName == "TABLE" && a[0].nodeName != "THEAD" ) { var tbody = this.getElementsByTagName("tbody"); if ( !tbody.length ) { obj = document.createElement("tbody"); this.appendChild( obj ); } else obj = tbody[0]; } for ( var i =...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/43d3deb7c81fb4bd35a7f98c5f01f5f653b4c5a2/jquery.js/buggy/src/jquery/jquery.js
(function(){ for(var $i in $.fx.ty){(function(){
for(var $i in $.fx.ty){(function(){
(function(){ for(var $i in $.fx.ty){(function(){ var c = $.fx.ty[$i]; $.fx[c] = function(a,b){ return new $.fx(a,b,c.toLowerCase(),c); }; })();}})();
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/807c75dadf647a5f07b661ff62c102cd3797479a/fx.js/buggy/fx/fx.js
return new $.fx(a,b,c.toLowerCase(),c);
return new $.fx(a,b,c.toLowerCase());
(function(){ for(var $i in $.fx.ty){(function(){ var c = $.fx.ty[$i]; $.fx[c] = function(a,b){ return new $.fx(a,b,c.toLowerCase(),c); }; })();}})();
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/807c75dadf647a5f07b661ff62c102cd3797479a/fx.js/buggy/fx/fx.js
})();
(function(){ for(var $i in $.fx.ty){(function(){ var c = $.fx.ty[$i]; $.fx[c] = function(a,b){ return new $.fx(a,b,c.toLowerCase(),c); }; })();}})();
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/807c75dadf647a5f07b661ff62c102cd3797479a/fx.js/buggy/fx/fx.js
m.addEventListener("command", function(aEvent) { undoCloseTab(aEvent.originalTarget.getAttribute("value")); }, false);
m.addEventListener("command", function() { for (var i = 0; i < undoItems.length; i++) undoCloseTab(); }, false);
m.addEventListener("command", function(aEvent) { undoCloseTab(aEvent.originalTarget.getAttribute("value")); }, false);
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7fcd6ffec17a79c4f8d7b0896812b98d72044a55/browser.js/clean/browser/base/content/browser.js
for ( var i=0; i < a.length; i++ )
for ( var i = 0, al = a.length; i < al; i++ )
return this.each(function(){ var obj = this; if ( table && this.nodeName.toUpperCase() == "TABLE" && a[0].nodeName.toUpperCase() == "TR" ) obj = this.getElementsByTagName("tbody")[0] || this.appendChild(document.createElement("tbody")); for ( var i=0; i < a.length; i++ ) fn.apply( obj, [ clone ? a[i].clon...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/65a88fae8919e5da774dcc45c9b42220f875b697/jquery.js/clean/src/jquery/jquery.js
for(var $i in $.fx.ty){(function(){
(function(){ for(var $i in $.fx.ty){(function(){
for(var $i in $.fx.ty){(function(){ var c = $.fx.ty[$i]; $.fx[c] = function(a,b){ return new $.fx(a,b,c.toLowerCase(),c); }; })();}
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/497bfb7909ada30e3410827808bc0c1a0d9843a7/fx.js/clean/fx/fx.js
})();
for(var $i in $.fx.ty){(function(){ var c = $.fx.ty[$i]; $.fx[c] = function(a,b){ return new $.fx(a,b,c.toLowerCase(),c); }; })();}
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/497bfb7909ada30e3410827808bc0c1a0d9843a7/fx.js/clean/fx/fx.js
$('tab', xml).each(function() { content.push($(this).text()); });
test("$.getIfModified(String, Hash, Function)", function() { expect(1); stop(); $.getIfModified("data/name.php", function(msg) { ok( /^ERROR/.test(msg), 'Check ifModified' ); start(); }); });
$('tab', xml).each(function() { content.push($(this).text()); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js
$('tab', xml).each(function() {
test("$.get(String, Hash, Function) - parse xml and use text() on nodes", function() { expect(2); stop(); $.get('data/dashboard.xml', function(xml) { var content = []; $('tab', xml).each(function() {
$('tab', xml).each(function() { content.push($(this).text()); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js
ok( content[0] == 'blabla', 'Check first tab'); ok( content[1] == 'blublu', 'Check second tab'); start(); }); });
$('tab', xml).each(function() { content.push($(this).text()); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js
this.each(function(value) { if (value == object) { found = true; throw $break; } });
this.each(function(value, index) { var stringValue = value.toString(); if (stringValue.match(pattern)) results.push((iterator || Prototype.K)(value, index)); })
this.each(function(value) { if (value == object) { found = true; throw $break; } });
5150 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5150/44d85be227cc8496144d82df38b82dfcc1224861/prototype.js/clean/intermine/webapp/main/resources/main/js/prototype.js
return this.each(function(){ new fx.Resize(this,o).hide("height"); });
fx[c] = function(a,b){ return new fx(a,b,c.toLowerCase(),c);};
return this.each(function(){ new fx.Resize(this,o).hide("height"); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/f0034d64e3890553f214db0708b9a831476ea46a/fx.js/buggy/fx/fx.js
this.effects.each( function(effect) { effect.render(1.0); effect.cancel(); effect.event('beforeFinish'); if(effect.finish) effect.finish(position); effect.event('afterFinish'); });
['top','left','width','height','fontSize'].each( function(k) { this.originalStyle[k] = this.element.style[k]; }.bind(this));
this.effects.each( function(effect) { effect.render(1.0); effect.cancel(); effect.event('beforeFinish'); if(effect.finish) effect.finish(position); effect.event('afterFinish'); });
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
test("$.getIfModified(String, Hash, Function)", function() { expect(1); stop(); $.getIfModified("data/name.php", function(msg) { ok( /^ERROR/.test(msg), 'Check ifModified' ); start(); }); });
$('tab', xml).each(function() { content.push($(this).text()); });
test("$.getIfModified(String, Hash, Function)", function() { expect(1); stop(); $.getIfModified("data/name.php", function(msg) { ok( /^ERROR/.test(msg), 'Check ifModified' ); start(); });});
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js
var args = arguments; return this.each(function(){ n.apply( this, args ); }); }; }
return this.each( n, arguments ); }; };
new function() { var b = navigator.userAgent.toLowerCase(); // Figure out what browser is being used jQuery.browser = { safari: /webkit/.test(b), opera: /opera/.test(b), msie: /msie/.test(b) && !/opera/.test(b), mozilla: /mozilla/.test(b) && !/compatible/.test(b) }; // Check to see if the W3C box model is being use...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/3d334ad8066f040e4878be45d8230a599176351b/jquery.js/clean/jquery/jquery.js