rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
13
136k
meta
stringlengths
132
347
jQuery.fn[ n ] = function(num,fn) {
jQuery.each( jQuery.macros.filter, function(i,n){ jQuery.fn[ n ] = function(num,fn) {
jQuery.fn[ n ] = function(num,fn) { return this.filter( ":" + n + "(" + num + ")", fn ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ccf9d4406296fed48aae0989f2303287f133ed9e/jquery.js/clean/src/jquery/jquery.js
});
jQuery.fn[ n ] = function(num,fn) { return this.filter( ":" + n + "(" + num + ")", fn ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ccf9d4406296fed48aae0989f2303287f133ed9e/jquery.js/clean/src/jquery/jquery.js
jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h );
for ( var i = 0; i < jQuery.macros.css.length; i++ ) new function() { var n = jQuery.macros.css[i]; jQuery.fn[ i ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); };
jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/efe0fef88082eebf66e9b7c250a6a072a5aa1966/jquery.js/clean/jquery/jquery.js
return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; });
}).sort(function(left, right) { var a = left.criteria, b = right.criteria; return a < b ? -1 : a > b ? 1 : 0; }).pluck('value');
return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; });
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js
jQuery.each( jQuery.macros.filter, function(i,n){ jQuery.fn[ n ] = function(num,fn) {
jQuery.fn[ n ] = function(num,fn) {
jQuery.each( jQuery.macros.filter, function(i,n){ jQuery.fn[ n ] = function(num,fn) { return this.filter( ":" + n + "(" + num + ")", fn ); }; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/69efa31318238a1af5644da7aa5dc691dc33b376/jquery.js/clean/src/jquery/jquery.js
});
jQuery.each( jQuery.macros.filter, function(i,n){ jQuery.fn[ n ] = function(num,fn) { return this.filter( ":" + n + "(" + num + ")", fn ); }; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/69efa31318238a1af5644da7aa5dc691dc33b376/jquery.js/clean/src/jquery/jquery.js
jQuery.fn[ n ] = function(num,fn) { return this.filter( ":" + n + "(" + num + ")", fn );
jQuery.each( jQuery.macros.each, function(i,n){ jQuery.fn[ i ] = function() { return this.each( n, arguments );
jQuery.fn[ n ] = function(num,fn) { return this.filter( ":" + n + "(" + num + ")", fn ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/feabeb8572979f7888bd73e80f436bece1448e5a/jquery.js/buggy/src/jquery/jquery.js
});
jQuery.fn[ n ] = function(num,fn) { return this.filter( ":" + n + "(" + num + ")", fn ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/feabeb8572979f7888bd73e80f436bece1448e5a/jquery.js/buggy/src/jquery/jquery.js
jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else jQuery.swap( e, { visibility: "hidden", position: "absolute", display: "" }, function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); });
jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); };
jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else jQuery.swap( e, { visibility: "hidden", position: "absolute", display: "" }, function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/7d57c67749a4c38d80de6d5ed7917f4219ce34b4/jquery.js/buggy/jquery/jquery.js
var fn = args ? (args.constructor == Function ? args : args[args.length-1]) : function(){};
return this.pushStack( $.map( this, function(a){ return jQuery.Select(t,a); }), arguments );
var fn = args ? (args.constructor == Function ? args : args[args.length-1]) : function(){};
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/214007721c67d9702571e45573cf32c61c2201a8/jquery.js/buggy/jquery/jquery.js
this.each(function(){ old[old.length] = this; ret = $.merge( ret, $.Select(t,this) ); });
$.grep(this.cur,function(a){ return a != t; });
this.each(function(){ old[old.length] = this; ret = $.merge( ret, $.Select(t,this) ); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/c3c706d3f24dbad0fdeb80fe9caf158bd9d6de66/jquery.js/buggy/jquery/jquery.js
return d.parentNode; });
return d.parentNode; });
this.cur = $.map(this.cur,function(d){ return d.parentNode; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/130b8a1c030ae7888934fcd8dee6695eac271fcb/jquery.js/clean/jquery/jquery.js
return $(this.findElements(element, options) || []).map( function(item) { return item.id.match(options.format) ? item.id.match(options.format)[1] : ''; });
(!only || (Element.classNames(e).detect(function(v) { return only.include(v) }))))
return $(this.findElements(element, options) || []).map( function(item) { return item.id.match(options.format) ? item.id.match(options.format)[1] : ''; });
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/130001c377e7abf17ea2f4f856cab30882a60f92/dragdrop.js/buggy/railties/html/javascripts/dragdrop.js
(!only || (Element.classNames(e).detect(function(v) { return only.include(v) }))))
return Sortable.sequence(element, arguments[1]).map( function(item) { return name + "[]=" + encodeURIComponent(item); }).join('&');
(!only || (Element.classNames(e).detect(function(v) { return only.include(v) }))))
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/railties/html/javascripts/dragdrop.js
( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h );
this.length ? this[0][n] : null : this.attr( n, h );
jQuery.fn[ i ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/6a50758086f2db26b12b12e8c58a42cbbd28a98a/jquery.js/buggy/jquery/jquery.js
test("$.post(String, Hash, Function) - simple with xml", function() { expect(2); stop(); $.post("data/name.php", {xml: "5-2"}, function(xml){
$.post("data/name.php", {xml: "5-2"}, function(xml){
test("$.post(String, Hash, Function) - simple with xml", function() { expect(2); stop(); $.post("data/name.php", {xml: "5-2"}, function(xml){ $('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); }); start(...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js
});
test("$.post(String, Hash, Function) - simple with xml", function() { expect(2); stop(); $.post("data/name.php", {xml: "5-2"}, function(xml){ $('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); }); start(...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js
this.length ? jQuery.css( this[0], n ) : null :
( this.length ? jQuery.css( this[0], n ) : null ) :
for ( var i in css ) new function() { var n = css[i]; jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? jQuery.css( this[0], n ) : null : this.css( n, h ); }; }
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/4737936c0b05236ecafa86f0186b0b236a2ff826/jquery.js/buggy/jquery/jquery.js
}
};
for ( var i in css ) new function() { var n = css[i]; jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? jQuery.css( this[0], n ) : null : this.css( n, h ); }; }
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/4737936c0b05236ecafa86f0186b0b236a2ff826/jquery.js/buggy/jquery/jquery.js
test("$.post(String, Hash, Function) - simple with xml", function() {
test("$.getJSON(String, Hash, Function) - JSON object", function() {
test("$.post(String, Hash, Function) - simple with xml", function() { expect(2); stop(); $.post("data/name.php", {xml: "5-2"}, function(xml){ $('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); }); start(...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js
$.post("data/name.php", {xml: "5-2"}, function(xml){ $('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); });
$.getJSON("data/json.php", function(json) { ok( json.data.lang == 'en', 'Check JSON: lang' ); ok( json.data.length == 25, 'Check JSON: length' );
test("$.post(String, Hash, Function) - simple with xml", function() { expect(2); stop(); $.post("data/name.php", {xml: "5-2"}, function(xml){ $('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); }); start(...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js
return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; });
}).sort(function(left, right) { var a = left.criteria, b = right.criteria; return a < b ? -1 : a > b ? 1 : 0; }).pluck('value');
return this.map(function(value, index) { iterator(value = collections.pluck(index)); return 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
(!only || (Element.classNames(e).detect(function(v) { return only.include(v) }))))
return Sortable.sequence(element, arguments[1]).map( function(item) { return name + "[]=" + encodeURIComponent(item); }).join('&');
(!only || (Element.classNames(e).detect(function(v) { return only.include(v) }))))
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
$.post("data/name.php", {xml: "5-2"}, function(xml){
test("$.post(String, Hash, Function) - simple with xml", function() { expect(2); stop(); $.post("data/name.php", {xml: "5-2"}, function(xml){
$.post("data/name.php", {xml: "5-2"}, function(xml){ $('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); }); start(); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js
});
$.post("data/name.php", {xml: "5-2"}, function(xml){ $('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); }); start(); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js
jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else jQuery.swap( e, { visibility: "hidden", position: "absolute", display: "" }, function(){
function(){
jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else jQuery.swap( e, { visibility: "hidden", position: "absolute", display: "" }, function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/3d334ad8066f040e4878be45d8230a599176351b/jquery.js/clean/jquery/jquery.js
});
jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else jQuery.swap( e, { visibility: "hidden", position: "absolute", display: "" }, function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/3d334ad8066f040e4878be45d8230a599176351b/jquery.js/clean/jquery/jquery.js
function() {return new ActiveXObject('Msxml2.XMLHTTP')},
return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; });
function() {return new ActiveXObject('Msxml2.XMLHTTP')},
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.each( jQuery.macros.attr, function(i,n){ n = n || i; jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h );
jQuery.fn[ n ] = function(num,fn) { return this.filter( ":" + n + "(" + num + ")", fn );
jQuery.each( jQuery.macros.attr, function(i,n){ n = n || i; jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); }; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ccf9d4406296fed48aae0989f2303287f133ed9e/jquery.js/clean/src/jquery/jquery.js
});
jQuery.each( jQuery.macros.attr, function(i,n){ n = n || i; jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); }; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ccf9d4406296fed48aae0989f2303287f133ed9e/jquery.js/clean/src/jquery/jquery.js
for ( var i in css ) new function() { var n = css[i]; jQuery.fn[ i ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); }; };
jQuery.fn[ i ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); };
for ( var i in css ) new function() { var n = css[i]; jQuery.fn[ i ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); }; };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/efe0fef88082eebf66e9b7c250a6a072a5aa1966/jquery.js/clean/jquery/jquery.js
function() {return new ActiveXObject('Msxml2.XMLHTTP')},
return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value; });
function() {return new ActiveXObject('Msxml2.XMLHTTP')},
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js
jQuery.fn[ n ] = function(num,fn) { return this.filter( ":" + n + "(" + num + ")", fn );
jQuery.each( jQuery.macros.attr, function(i,n){ n = n || i; jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h );
jQuery.fn[ n ] = function(num,fn) { return this.filter( ":" + n + "(" + num + ")", fn ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/69efa31318238a1af5644da7aa5dc691dc33b376/jquery.js/clean/src/jquery/jquery.js
});
jQuery.fn[ n ] = function(num,fn) { return this.filter( ":" + n + "(" + num + ")", fn ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/69efa31318238a1af5644da7aa5dc691dc33b376/jquery.js/clean/src/jquery/jquery.js
jQuery.each( jQuery.macros.attr, function(i,n){ n = n || i; jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h );
jQuery.fn[ i ] = function() { return this.each( n, arguments );
jQuery.each( jQuery.macros.attr, function(i,n){ n = n || i; jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); }; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/feabeb8572979f7888bd73e80f436bece1448e5a/jquery.js/buggy/src/jquery/jquery.js
});
jQuery.each( jQuery.macros.attr, function(i,n){ n = n || i; jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); }; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/feabeb8572979f7888bd73e80f436bece1448e5a/jquery.js/buggy/src/jquery/jquery.js
function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; });
for ( var i in css ) new function() { var n = css[i]; jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? jQuery.css( this[0], n ) : null : this.css( n, h ); }; }
function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/7d57c67749a4c38d80de6d5ed7917f4219ce34b4/jquery.js/buggy/jquery/jquery.js
return this.pushStack( $.map( this, function(a){ return jQuery.Select(t,a); }), arguments );
return this.pushStack( $.map(this,function(a){ for ( var i = 0; i < p.length; i++ ) if ( jQuery.filter(p[i],[a]).r.length ) return a; }), arguments );
return this.pushStack( $.map( this, function(a){ return jQuery.Select(t,a); }), arguments );
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/214007721c67d9702571e45573cf32c61c2201a8/jquery.js/buggy/jquery/jquery.js
return d.parentNode; });
return d.parentNode; });
this.cur = $.map(this.cur,function(d){ return d.parentNode; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/f0034d64e3890553f214db0708b9a831476ea46a/jquery.js/buggy/jquery/jquery.js
this.cur = $.map(this.cur,function(d){ return d.parentNode; });
return this.each(function(){ var obj = this; if ( this.nodeName == "TABLE" ) { var tbody = this.getElementsByTagName("tbody"); if ( !tbody.length ) { obj = document.createElement("tbody"); this.appendChild( obj ); } else obj = tbody[0]; } fn.apply( obj ); });
this.cur = $.map(this.cur,function(d){ return d.parentNode; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/c3c706d3f24dbad0fdeb80fe9caf158bd9d6de66/jquery.js/buggy/jquery/jquery.js
this.findElements(element, options).each( function(n) { if (n.id.match(options.format)) nodeMap[n.id.match(options.format)[1]] = [n, n.parentNode]; n.parentNode.removeChild(n);
return $(this.findElements(element, options) || []).map( function(item) { return item.id.match(options.format) ? item.id.match(options.format)[1] : '';
this.findElements(element, options).each( function(n) { if (n.id.match(options.format)) nodeMap[n.id.match(options.format)[1]] = [n, n.parentNode]; n.parentNode.removeChild(n); });
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/130001c377e7abf17ea2f4f856cab30882a60f92/dragdrop.js/buggy/railties/html/javascripts/dragdrop.js
return $(this.findElements(element, options) || []).map( function(item) { return item.id.match(options.format) ? item.id.match(options.format)[1] : ''; });
$A(element.childNodes).each( function(e) { if(e.tagName && e.tagName.toUpperCase()==tagName && (!only || (Element.classNames(e).detect(function(v) { return only.include(v) })))) elements.push(e); if(recursive) { var grandchildren = Element.findChildren(e, only, recursive, tagName); if(grandchildren) elements.push(grand...
return $(this.findElements(element, options) || []).map( function(item) { return item.id.match(options.format) ? item.id.match(options.format)[1] : ''; });
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/railties/html/javascripts/dragdrop.js
jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else jQuery.swap( e, { visibility: "hidden", position: "absolute", display: "" }, function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); });
jQuery.each( jQuery.macros.css, function(i,n){ jQuery.fn[ i ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); }; });
jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else jQuery.swap( e, { visibility: "hidden", position: "absolute", display: "" }, function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/6a50758086f2db26b12b12e8c58a42cbbd28a98a/jquery.js/buggy/jquery/jquery.js
$.post("data/name.php", {xml: "5-2"}, function(xml){ $('math', xml).each(function() {
$('math', xml).each(function() {
$.post("data/name.php", {xml: "5-2"}, function(xml){ $('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); }); start(); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js
start(); });
$.post("data/name.php", {xml: "5-2"}, function(xml){ $('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); }); start(); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js
this.length ? jQuery.css( this[0], n ) : null :
( this.length ? jQuery.css( this[0], n ) : null ) :
jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? jQuery.css( this[0], n ) : null : this.css( n, h ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/4737936c0b05236ecafa86f0186b0b236a2ff826/jquery.js/buggy/jquery/jquery.js
$.post("data/name.php", {xml: "5-2"}, function(xml){ $('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); });
$.getJSON("data/json.php", function(json) { ok( json.data.lang == 'en', 'Check JSON: lang' ); ok( json.data.length == 25, 'Check JSON: length' );
$.post("data/name.php", {xml: "5-2"}, function(xml){ $('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); }); start(); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js
return this.select(function(value) { return value != undefined || value != null;
return this.map(function(value, index) { iterator(value = collections.pluck(index)); return value;
return this.select(function(value) { return value != undefined || value != null; });
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.findElements(element, options) || []).map( function(item) { return item.id.match(options.format) ? item.id.match(options.format)[1] : ''; });
$A(element.childNodes).each( function(e) { if(e.tagName && e.tagName.toUpperCase()==tagName && (!only || (Element.classNames(e).detect(function(v) { return only.include(v) })))) elements.push(e); if(recursive) { var grandchildren = Element.findChildren(e, only, recursive, tagName); if(grandchildren) elements.push(grand...
return $(this.findElements(element, options) || []).map( function(item) { return item.id.match(options.format) ? item.id.match(options.format)[1] : ''; });
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
$('math', xml).each(function() {
$.post("data/name.php", {xml: "5-2"}, function(xml){ $('math', xml).each(function() {
$('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js
start(); });
$('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js
jQuery.each( jQuery.macros.attr, function(i,n){ n = n || i; jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); }; });
"~", function(a){ var r = []; var s = jQuery.sibling(a); if ( s.n > 0 ) for ( var i = s.n; i < s.length; i++ ) r.push( s[i] ); return r; }
jQuery.each( jQuery.macros.attr, function(i,n){ n = n || i; jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); }; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/f7efcc858dec55fa3b9babb94ebc73b0888e6d51/jquery.js/clean/src/jquery/jquery.js
function() {return new ActiveXObject('Microsoft.XMLHTTP')},
return this.select(function(value) { return value != undefined || value != null; });
function() {return new ActiveXObject('Microsoft.XMLHTTP')},
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.fn[ i ] = function(h) {
jQuery.each( jQuery.macros.attr, function(i,n){ n = n || i; jQuery.fn[ i ] = function(h) {
jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ccf9d4406296fed48aae0989f2303287f133ed9e/jquery.js/clean/src/jquery/jquery.js
});
jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ccf9d4406296fed48aae0989f2303287f133ed9e/jquery.js/clean/src/jquery/jquery.js
jQuery.fn[ i ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); };
jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else jQuery.swap( e, { visibility: "hidden", position: "absolute", display: "" }, function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); });
jQuery.fn[ i ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/efe0fef88082eebf66e9b7c250a6a072a5aa1966/jquery.js/clean/jquery/jquery.js
function() {return new ActiveXObject('Microsoft.XMLHTTP')},
return this.select(function(value) { return value != undefined || value != null; });
function() {return new ActiveXObject('Microsoft.XMLHTTP')},
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js
jQuery.each( jQuery.macros.attr, function(i,n){ n = n || i; jQuery.fn[ i ] = function(h) {
jQuery.fn[ i ] = function(h) {
jQuery.each( jQuery.macros.attr, function(i,n){ n = n || i; jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); }; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/69efa31318238a1af5644da7aa5dc691dc33b376/jquery.js/clean/src/jquery/jquery.js
});
jQuery.each( jQuery.macros.attr, function(i,n){ n = n || i; jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); }; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/69efa31318238a1af5644da7aa5dc691dc33b376/jquery.js/clean/src/jquery/jquery.js
jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h );
jQuery.each( jQuery.macros.filter, function(i,n){ jQuery.fn[ n ] = function(num,fn) { return this.filter( ":" + n + "(" + num + ")", fn );
jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/feabeb8572979f7888bd73e80f436bece1448e5a/jquery.js/buggy/src/jquery/jquery.js
});
jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/feabeb8572979f7888bd73e80f436bece1448e5a/jquery.js/buggy/src/jquery/jquery.js
return this.pushStack( $.map(this,function(a){ for ( var i = 0; i < p.length; i++ ) if ( jQuery.filter(p[i],[a]).r.length ) return a; }), arguments );
jQuery.grep(this,function(a){ return a != t; }), arguments );
return this.pushStack( $.map(this,function(a){ for ( var i = 0; i < p.length; i++ ) if ( jQuery.filter(p[i],[a]).r.length ) return a; }), arguments );
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/214007721c67d9702571e45573cf32c61c2201a8/jquery.js/buggy/jquery/jquery.js
$.grep(this.cur,function(a){return a != t;});
(function(){ var b = navigator.userAgent.toLowerCase(); $.browser = ( /webkit/.test(b) && "safari" ) || ( /opera/.test(b) && "opera" ) || ( /msie/.test(b) && "msie" ) || ( !/compatible/.test(b) && "mozilla" ) || "other"; $.boxModel = ( $.browser != "msie" || document.compatMode == "CSS1Compat" ); })();
$.grep(this.cur,function(a){return a != t;});
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/c3c706d3f24dbad0fdeb80fe9caf158bd9d6de66/jquery.js/buggy/jquery/jquery.js
"~", function(a){ var r = []; var s = jQuery.sibling(a); if ( s.n > 0 ) for ( var i = s.n; i < s.length; i++ ) r[r.length] = s[i]; return r; }
$.swap( e, old, function() { if (jQuery.css(e,"display") != 'none') { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else $.swap( e, { visibility: 'hidden', position: 'absolute', display: '' }, function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); });
"~", function(a){ var r = []; var s = jQuery.sibling(a); if ( s.n > 0 ) for ( var i = s.n; i < s.length; i++ ) r[r.length] = s[i]; return r; }
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/3811ac4b5cb8d240d037fea7b26a8abc7fc6e490/jquery.js/clean/jquery/jquery.js
new_sequence.each(function(ident) { var n = nodeMap[ident]; if (n) { n[1].appendChild(n[0]); delete nodeMap[ident]; }
this.findElements(element, options).each( function(n) { if (n.id.match(options.format)) nodeMap[n.id.match(options.format)[1]] = [n, n.parentNode]; n.parentNode.removeChild(n);
new_sequence.each(function(ident) { var n = nodeMap[ident]; if (n) { n[1].appendChild(n[0]); delete nodeMap[ident]; } });
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/130001c377e7abf17ea2f4f856cab30882a60f92/dragdrop.js/buggy/railties/html/javascripts/dragdrop.js
this.findElements(element, options).each( function(n) { if (n.id.match(options.format)) nodeMap[n.id.match(options.format)[1]] = [n, n.parentNode]; n.parentNode.removeChild(n); });
(!only || (Element.classNames(e).detect(function(v) { return only.include(v) }))))
this.findElements(element, options).each( function(n) { if (n.id.match(options.format)) nodeMap[n.id.match(options.format)[1]] = [n, n.parentNode]; n.parentNode.removeChild(n); });
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/railties/html/javascripts/dragdrop.js
function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; });
jQuery.fn[ i ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); };
function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/6a50758086f2db26b12b12e8c58a42cbbd28a98a/jquery.js/buggy/jquery/jquery.js
jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); };
"~", function(a){ var r = []; var s = jQuery.sibling(a); if ( s.n > 0 ) for ( var i = s.n; i < s.length; i++ ) r.push( s[i] ); return r; }
jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/f7efcc858dec55fa3b9babb94ebc73b0888e6d51/jquery.js/clean/src/jquery/jquery.js
$('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); });
test("$.ajaxTimeout(Number) - with global timeout", function() { stop(); var passed = 0; var timeout; $.ajaxTimeout(1000); var pass = function() { passed++; if(passed == 2) { ok( true, 'Check local and global callbacks after timeout' ); clearTimeout(timeout); $('#main').unbind("ajaxError"); start(); } }; var fail = fun...
$('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js
$('math', xml).each(function() {
test("$.post(String, Hash, Function) - simple with xml", function() { expect(2); stop(); $.post("data/name.php", {xml: "5-2"}, function(xml){ $('math', xml).each(function() {
$('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js
start(); }); });
$('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js
return this.inject([], function(array, value) { return array.concat(value.constructor == Array ? value.flatten() : [value]);
return this.select(function(value) { return value != undefined || value != null;
return this.inject([], function(array, value) { return array.concat(value.constructor == Array ? value.flatten() : [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
this.findElements(element, options).each( function(n) { if (n.id.match(options.format)) nodeMap[n.id.match(options.format)[1]] = [n, n.parentNode]; n.parentNode.removeChild(n); });
(!only || (Element.classNames(e).detect(function(v) { return only.include(v) }))))
this.findElements(element, options).each( function(n) { if (n.id.match(options.format)) nodeMap[n.id.match(options.format)[1]] = [n, n.parentNode]; n.parentNode.removeChild(n); });
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js
test("$.ajaxTimeout(Number) - with global timeout", function() { stop(); var passed = 0; var timeout; $.ajaxTimeout(1000); var pass = function() { passed++; if(passed == 2) { ok( true, 'Check local and global callbacks after timeout' ); clearTimeout(timeout); $('#main').unbind("ajaxError"); start(); } }; var fail = fun...
$('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); });
test("$.ajaxTimeout(Number) - with global timeout", function() { stop(); var passed = 0; var timeout; $.ajaxTimeout(1000); var pass = function() { passed++; if(passed == 2) { ok( true, 'Check local and global callbacks after timeout' ); clearTimeout(timeout); $('#main').unbind("ajaxError"); start(); } }; ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js
function() {return new XMLHttpRequest()}
return this.inject([], function(array, value) { return array.concat(value.constructor == Array ? value.flatten() : [value]); });
function() {return new XMLHttpRequest()}
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.fn[ i ] = function(h) {
jQuery.fn[ n ] = function(h) {
jQuery.each( jQuery.macros.css, function(i,n){ jQuery.fn[ i ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); }; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/065cd7ecf62c7b2ad5b58d447aca7a9cdb6f7bcb/jquery.js/buggy/src/jquery/jquery.js
jQuery.each( jQuery.macros.css, function(i,n){ jQuery.fn[ n ] = function(h) {
jQuery.fn[ i ] = function(h) {
jQuery.each( jQuery.macros.css, function(i,n){ jQuery.fn[ n ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); }; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ccf9d4406296fed48aae0989f2303287f133ed9e/jquery.js/clean/src/jquery/jquery.js
( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h );
this.length ? this[0][n] : null : this.attr( n, h );
jQuery.each( jQuery.macros.css, function(i,n){ jQuery.fn[ n ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); }; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ccf9d4406296fed48aae0989f2303287f133ed9e/jquery.js/clean/src/jquery/jquery.js
});
jQuery.each( jQuery.macros.css, function(i,n){ jQuery.fn[ n ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); }; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ccf9d4406296fed48aae0989f2303287f133ed9e/jquery.js/clean/src/jquery/jquery.js
jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else jQuery.swap( e, { visibility: "hidden", position: "absolute", display: "" }, function(){
function(){
jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else jQuery.swap( e, { visibility: "hidden", position: "absolute", display: "" }, function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/efe0fef88082eebf66e9b7c250a6a072a5aa1966/jquery.js/clean/jquery/jquery.js
});
jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else jQuery.swap( e, { visibility: "hidden", position: "absolute", display: "" }, function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/efe0fef88082eebf66e9b7c250a6a072a5aa1966/jquery.js/clean/jquery/jquery.js
function() {return new XMLHttpRequest()}
return this.inject([], function(array, value) { return array.concat(value.constructor == Array ? value.flatten() : [value]); });
function() {return new XMLHttpRequest()}
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js
jQuery.fn[ i ] = function(h) {
jQuery.each( jQuery.macros.css, function(i,n){ jQuery.fn[ n ] = function(h) {
jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/69efa31318238a1af5644da7aa5dc691dc33b376/jquery.js/clean/src/jquery/jquery.js
this.length ? this[0][n] : null : this.attr( n, h );
( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h );
jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/69efa31318238a1af5644da7aa5dc691dc33b376/jquery.js/clean/src/jquery/jquery.js
});
jQuery.fn[ i ] = function(h) { return h == undefined ? this.length ? this[0][n] : null : this.attr( n, h ); };
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/69efa31318238a1af5644da7aa5dc691dc33b376/jquery.js/clean/src/jquery/jquery.js
jQuery.each( jQuery.macros.css, function(i,n){ jQuery.fn[ n ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h );
jQuery.fn[ n ] = function(num,fn) { return this.filter( ":" + n + "(" + num + ")", fn );
jQuery.each( jQuery.macros.css, function(i,n){ jQuery.fn[ n ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); }; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/feabeb8572979f7888bd73e80f436bece1448e5a/jquery.js/buggy/src/jquery/jquery.js
});
jQuery.each( jQuery.macros.css, function(i,n){ jQuery.fn[ n ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); }; });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/feabeb8572979f7888bd73e80f436bece1448e5a/jquery.js/buggy/src/jquery/jquery.js
.replace(/-([a-z])/ig,function(z,b){ return b.toUpperCase(); });
jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else jQuery.swap( e, { visibility: "hidden", position: "absolute", display: "" }, function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); });
.replace(/-([a-z])/ig,function(z,b){ return b.toUpperCase(); });
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/7d57c67749a4c38d80de6d5ed7917f4219ce34b4/jquery.js/buggy/jquery/jquery.js
jQuery.grep(this,function(a){ return a != t; }), arguments );
return this.each(function(){ var obj = this; if ( this.nodeName == "TABLE" ) { var tbody = this.getElementsByTagName("tbody"); if ( !tbody.length ) { obj = document.createElement("tbody"); this.appendChild( obj ); } else obj = tbody[0]; } fn.apply( obj ); });
jQuery.grep(this,function(a){ return a != t; }), arguments );
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/214007721c67d9702571e45573cf32c61c2201a8/jquery.js/buggy/jquery/jquery.js
for ( var k in self ) {(function(j){ try { if ( !$a[j] ) $a[j] = function() { return $.apply(self,self[j],arguments); }; } catch(e) {} })(k);}
"~", function(a){ var r = []; var s = $.sibling(a); if ( s.n > 0 ) for ( var i = s.n; i < s.length; i++ ) r[r.length] = s[i]; return r; }
for ( var k in self ) {(function(j){ try { if ( !$a[j] ) $a[j] = function() { return $.apply(self,self[j],arguments); }; } catch(e) {} })(k);}
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/c3c706d3f24dbad0fdeb80fe9caf158bd9d6de66/jquery.js/buggy/jquery/jquery.js
a = a.replace(r,function(z,b){return b.toUpperCase();});
function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; });
a = a.replace(r,function(z,b){return b.toUpperCase();});
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/3811ac4b5cb8d240d037fea7b26a8abc7fc6e490/jquery.js/clean/jquery/jquery.js
return Sortable.sequence(element, arguments[1]).map( function(item) { return name + "[]=" + encodeURIComponent(item); }).join('&');
new_sequence.each(function(ident) { var n = nodeMap[ident]; if (n) { n[1].appendChild(n[0]); delete nodeMap[ident]; } });
return Sortable.sequence(element, arguments[1]).map( function(item) { return name + "[]=" + encodeURIComponent(item); }).join('&');
3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/130001c377e7abf17ea2f4f856cab30882a60f92/dragdrop.js/buggy/railties/html/javascripts/dragdrop.js
p = p.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()});
jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else jQuery.swap( e, { visibility: "hidden", position: "absolute", display: "" }, function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); });
p = p.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()});
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/6a50758086f2db26b12b12e8c58a42cbbd28a98a/jquery.js/buggy/jquery/jquery.js
test("$.ajaxTimeout(Number) - with global timeout", function() { stop(); var passed = 0; var timeout; $.ajaxTimeout(1000); var pass = function() { passed++; if(passed == 2) { ok( true, 'Check local and global callbacks after timeout' ); clearTimeout(timeout); $('#main').unbind("ajaxError"); start(); } }; var fail = fun...
test("$.ajaxTimeout(Number) with localtimeout", function() { stop(); $.ajaxTimeout(50);
test("$.ajaxTimeout(Number) - with global timeout", function() { stop(); var passed = 0; var timeout; $.ajaxTimeout(1000); var pass = function() { passed++; if(passed == 2) { ok( true, 'Check local and global callbacks after timeout' ); clearTimeout(timeout); $('#main').unbind("ajaxError"); start(); } }; ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js
url: "data/name.php?wait=5", error: pass, success: fail
timeout: 5000, url: "data/name.php?wait=1", error: function() { ok( false, 'Check for local timeout failed' ); start(); }, success: function() { ok( true, 'Check for local timeout' ); start(); }
test("$.ajaxTimeout(Number) - with global timeout", function() { stop(); var passed = 0; var timeout; $.ajaxTimeout(1000); var pass = function() { passed++; if(passed == 2) { ok( true, 'Check local and global callbacks after timeout' ); clearTimeout(timeout); $('#main').unbind("ajaxError"); start(); } }; ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js
$.ajaxTimeout(0);
test("$.ajaxTimeout(Number) - with global timeout", function() { stop(); var passed = 0; var timeout; $.ajaxTimeout(1000); var pass = function() { passed++; if(passed == 2) { ok( true, 'Check local and global callbacks after timeout' ); clearTimeout(timeout); $('#main').unbind("ajaxError"); start(); } }; ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js
test("$.ajaxTimeout(Number) - with global timeout", function() { stop(); var passed = 0; var timeout; $.ajaxTimeout(1000); var pass = function() { passed++; if(passed == 2) { ok( true, 'Check local and global callbacks after timeout' ); clearTimeout(timeout); $('#main').unbind("ajaxError"); start(); } }; var fail = fun...
$.post("data/name.php", {xml: "5-2"}, function(xml){ $('math', xml).each(function() { ok( $('calculation', this).text() == '5-2', 'Check for XML' ); ok( $('result', this).text() == '3', 'Check for XML' ); }); start();
test("$.ajaxTimeout(Number) - with global timeout", function() { stop(); var passed = 0; var timeout; $.ajaxTimeout(1000); var pass = function() { passed++; if(passed == 2) { ok( true, 'Check local and global callbacks after timeout' ); clearTimeout(timeout); $('#main').unbind("ajaxError"); start(); } }; ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js
});
test("$.ajaxTimeout(Number) - with global timeout", function() { stop(); var passed = 0; var timeout; $.ajaxTimeout(1000); var pass = function() { passed++; if(passed == 2) { ok( true, 'Check local and global callbacks after timeout' ); clearTimeout(timeout); $('#main').unbind("ajaxError"); start(); } }; ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js
return this.select(function(value) { return !values.include(value);
return this.inject([], function(array, value) { return array.concat(value.constructor == Array ? value.flatten() : [value]);
return this.select(function(value) { return !values.include(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
test("$.ajaxTimeout(Number) with localtimeout", function() { stop(); $.ajaxTimeout(50);
test("$.ajaxTimeout(Number) - with global timeout", function() { stop(); var passed = 0; var timeout; $.ajaxTimeout(1000); var pass = function() { passed++; if(passed == 2) { ok( true, 'Check local and global callbacks after timeout' ); clearTimeout(timeout); $('#main').unbind("ajaxError"); start(); } }; var fail = fun...
test("$.ajaxTimeout(Number) with localtimeout", function() { stop(); $.ajaxTimeout(50); $.ajax({ type: "GET", timeout: 5000, url: "data/name.php?wait=1", error: function() { ok( false, 'Check for local timeout failed' ); start(); }, success: function() { ok( true, 'Check for local timeout' ); ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js