rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 13 136k | meta stringlengths 132 347 |
|---|---|---|---|
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(); } | url: "data/name.php?wait=5", error: pass, success: fail | 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 |
$.ajaxTimeout(0); | 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 | |
.replace(/-([a-z])/ig,function(z,b){ return b.toUpperCase(); }); | function(a,f) {return jQuery.grep(a,f,true);}; | .replace(/-([a-z])/ig,function(z,b){ return b.toUpperCase(); }); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/3d334ad8066f040e4878be45d8230a599176351b/jquery.js/clean/jquery/jquery.js |
setTimeout((function() {this.respondToReadyState(1)}).bind(this), 10); | return this.select(function(value) { return !values.include(value); }); | setTimeout((function() {this.respondToReadyState(1)}).bind(this), 10); | 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.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.fn[ n ] = function(h) { | jQuery.each( jQuery.macros.css, function(i,n){ jQuery.fn[ n ] = function(h) { | 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.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 | |
function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); | p = p.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()}); | 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 |
setTimeout((function() {this.respondToReadyState(1)}).bind(this), 10); | return this.select(function(value) { return !values.include(value); }); | setTimeout((function() {this.respondToReadyState(1)}).bind(this), 10); | 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.css, function(i,n){ jQuery.fn[ n ] = function(h) { | jQuery.fn[ n ] = 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/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 ); }; }); | 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(h) { | jQuery.each( jQuery.macros.attr, function(i,n){ n = n || i; jQuery.fn[ i ] = function(h) { | 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 |
( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); | this.length ? this[0][n] : null : this.attr( n, h ); | 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.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 | |
function(a,f) {return jQuery.grep(a,f,true);}; | function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); | function(a,f) {return jQuery.grep(a,f,true);}; | 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 obj = this; if ( this.nodeName == "TABLE" ) { var tbody = this.getElementsByTagName("tbody"); | (function(){ var b = navigator.userAgent.toLowerCase(); | 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 ); }); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/214007721c67d9702571e45573cf32c61c2201a8/jquery.js/buggy/jquery/jquery.js |
if ( !tbody.length ) { obj = document.createElement("tbody"); this.appendChild( obj ); } else obj = tbody[0]; } fn.apply( obj ); }); | jQuery.browser = ( /webkit/.test(b) && "safari" ) || ( /opera/.test(b) && "opera" ) || ( /msie/.test(b) && "msie" ) || ( !/compatible/.test(b) && "mozilla" ) || "other"; jQuery.boxModel = ( jQuery.browser != "msie" || document.compatMode == "CSS1Compat" ); })(); | 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 ); }); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/214007721c67d9702571e45573cf32c61c2201a8/jquery.js/buggy/jquery/jquery.js |
$a[j] = function() { return $.apply(self,self[j],arguments); }; | a = a.replace(r,function(z,b){return b.toUpperCase();}); | $a[j] = function() { return $.apply(self,self[j],arguments); }; | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/c3c706d3f24dbad0fdeb80fe9caf158bd9d6de66/jquery.js/buggy/jquery/jquery.js |
jQuery.fn[ n ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( 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[ 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/f7efcc858dec55fa3b9babb94ebc73b0888e6d51/jquery.js/clean/src/jquery/jquery.js |
var t = jQuery.grep(jQuery.sibling(a),function(b){ return b.nodeName == a.nodeName; }); | "~", 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; } | var t = jQuery.grep(jQuery.sibling(a),function(b){ return b.nodeName == a.nodeName; }); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/3811ac4b5cb8d240d037fea7b26a8abc7fc6e490/jquery.js/clean/jquery/jquery.js |
test("$.ajaxTimeout(Number) with localtimeout", function() { stop(); $.ajaxTimeout(50); | test("$.ajax - simple get", function() { expect(1); stop(); | 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/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js |
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' ); | url: "data/name.php?name=foo", success: function(msg){ ok( msg == 'bar', 'Check for GET' ); | 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/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js |
$.ajaxTimeout(0); | 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/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js | |
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' ); start(); } }); $.ajaxTime... | $('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 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/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js |
return $H(hash).inject($H(this), function(mergedHash, pair) { mergedHash[pair.key] = pair.value; return mergedHash; | return this.select(function(value) { return !values.include(value); | return $H(hash).inject($H(this), function(mergedHash, pair) { mergedHash[pair.key] = pair.value; return mergedHash; }); | 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("$.ajax - simple get", function() { expect(1); stop(); | test("$.ajaxTimeout(Number) with localtimeout", function() { stop(); $.ajaxTimeout(50); | test("$.ajax - simple get", function() { expect(1); stop(); $.ajax({ type: "GET", url: "data/name.php?name=foo", success: function(msg){ ok( msg == 'bar', 'Check for GET' ); start(); } });}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js |
url: "data/name.php?name=foo", success: function(msg){ ok( msg == 'bar', 'Check for 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' ); | test("$.ajax - simple get", function() { expect(1); stop(); $.ajax({ type: "GET", url: "data/name.php?name=foo", success: function(msg){ ok( msg == 'bar', 'Check for GET' ); start(); } });}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js |
$.ajaxTimeout(0); | test("$.ajax - simple get", function() { expect(1); stop(); $.ajax({ type: "GET", url: "data/name.php?name=foo", success: function(msg){ ok( msg == 'bar', 'Check for GET' ); start(); } });}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js | |
this.options.onComplete = (function(transport, object) { this.updateContent(); onComplete(transport, object); }).bind(this); | return $H(hash).inject($H(this), function(mergedHash, pair) { mergedHash[pair.key] = pair.value; return mergedHash; }); | this.options.onComplete = (function(transport, object) { this.updateContent(); onComplete(transport, object); }).bind(this); | 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 |
e = jQuery(e.cloneNode(true)).css({ visibility: "hidden", position: "absolute", display: "block", right: "0", left: "0" }).appendTo(e.parentNode)[0]; | e = jQuery(e.cloneNode(true)) .find(":radio").removeAttr("checked").end() .css({ visibility: "hidden", position: "absolute", display: "block", right: "0", left: "0" }).appendTo(e.parentNode)[0]; | jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else { e = jQuery(e.cloneNode(true)).css({ visibility: "hidden", position: "absolute", display: "block", right: "0", left: "0" }).appendTo(e.parentNode)[0]; va... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ca91d7896325b594ce60621c4e420dc84719302a/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(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); }); | jQuery.fn[ n ] = 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/ccf9d4406296fed48aae0989f2303287f133ed9e/jquery.js/clean/src/jquery/jquery.js |
r = $.map( ret, function(a){ return a.parentNode; } ); | (function(){ var b = navigator.userAgent.toLowerCase(); $.browser = ( /safari/.test(b) && "safari" ) || ( /opera/.test(b) && "opera" ) || ( /msie/.test(b) && "msie" ) || ( !/compatible/.test(b) && "mozilla" ) || "other"; })(); | r = $.map( ret, function(a){ return a.parentNode; } ); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/b5256caee647eb3b8f49115d7803506b031d058f/jquery.js/buggy/jquery/jquery.js |
this.options.onComplete = (function(transport, object) { this.updateContent(); onComplete(transport, object); }).bind(this); | return $H(hash).inject($H(this), function(mergedHash, pair) { mergedHash[pair.key] = pair.value; return mergedHash; }); | this.options.onComplete = (function(transport, object) { this.updateContent(); onComplete(transport, object); }).bind(this); | 3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js |
$.boxModel = ( $.browser != "msie" || | $.boxModel = ( $.browser != "msie" || | (function(){ var b = navigator.userAgent.toLowerCase(); // Figure out what browser is being used $.browser = ( /webkit/.test(b) && "safari" ) || ( /opera/.test(b) && "opera" ) || ( /msie/.test(b) && "msie" ) || ( !/compatible/.test(b) && "mozilla" ) || "other"; // Check to see if the W3C box model is being used $.... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/d584a884b6377553d6ba544c10484dc2a866caee/jquery.js/buggy/jquery/jquery.js |
jQuery.fn[ n ] = 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 { e = jQuery(e.cloneNode(true)).css({ visibility: "hidden", position: "absolute", display: "block", right: "0", left: "0" }).appendTo(e.parentNode)[0]; var parPos = jQuery.css(e.parentNod... | 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/69efa31318238a1af5644da7aa5dc691dc33b376/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 { e = jQuery(e.cloneNode(true)).css({ visibility: "hidden", position: "absolute", display: "block", right: "0", left: "0" }).appendTo(e.parentNode)[0]; var parPos = jQuery.css(e.parentNod... | 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 { e = jQuery(e.cloneNode(true)).css({ visibility: "hidden", position: "absolute", display: "block", right: "0", left: "0" }).appendTo(e.parentNode)[0]; va... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/feabeb8572979f7888bd73e80f436bece1448e5a/jquery.js/buggy/src/jquery/jquery.js |
(function(){ var b = navigator.userAgent.toLowerCase(); jQuery.browser = ( /webkit/.test(b) && "safari" ) || ( /opera/.test(b) && "opera" ) || ( /msie/.test(b) && "msie" ) || ( !/compatible/.test(b) && "mozilla" ) || "other"; jQuery.boxModel = ( jQuery.browser != "msie" || document.compatMode == "CSS1Compat" ); })(... | $.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(){ var b = navigator.userAgent.toLowerCase(); // Figure out what browser is being used jQuery.browser = ( /webkit/.test(b) && "safari" ) || ( /opera/.test(b) && "opera" ) || ( /msie/.test(b) && "msie" ) || ( !/compatible/.test(b) && "mozilla" ) || "other"; // Check to see if the W3C box model is being us... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/214007721c67d9702571e45573cf32c61c2201a8/jquery.js/buggy/jquery/jquery.js |
(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" ); })(); | var t = $.grep($.sibling(a),function(b){ return b.nodeName == a.nodeName; }); | (function(){ var b = navigator.userAgent.toLowerCase(); // Figure out what browser is being used $.browser = ( /webkit/.test(b) && "safari" ) || ( /opera/.test(b) && "opera" ) || ( /msie/.test(b) && "msie" ) || ( !/compatible/.test(b) && "mozilla" ) || "other"; // Check to see if the W3C box model is being used $.... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/c3c706d3f24dbad0fdeb80fe9caf158bd9d6de66/jquery.js/buggy/jquery/jquery.js |
} else jQuery.swap( e, { visibility: "hidden", position: "absolute", display: "block" }, function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); | } else { e = $(e.cloneNode(true)).css({ visibility: "hidden", position: "absolute", display: "block" }).prependTo("body")[0]; oHeight = e.clientHeight; oWidth = e.clientWidth; e.parentNode.removeChild(e); } | 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: "block" }, function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/48ec10044f011ccfe9bd232d629682b59cccbd97/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 { e = $(e.cloneNode(true)).css({ visibility: "hidden", position: "absolute", display: "block" }).prependTo("body")[0]; oHeight = e.clientHeight; oWidth = e.clientWidth; e.parentNode.remo... | jQuery.grep( elem.className.split(/\s+/), function(cur){ return !jQuery.className.has( c, cur ); }).join(' ') : ""; | jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else { e = $(e.cloneNode(true)).css({ visibility: "hidden", position: "absolute", display: "block" }).prependTo("body")[0]; oHeight = e.clientHeight; oWidt... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/f7efcc858dec55fa3b9babb94ebc73b0888e6d51/jquery.js/clean/src/jquery/jquery.js |
jQuery.swap( e, { visibility: "hidden", position: "absolute", display: "" }, | jQuery.swap( e, { visibility: "hidden", position: "absolute", display: "block" }, | 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/8a1adfcd2a0ea8fbb72ac53537cbfe6ebeba0cdf/jquery.js/buggy/src/jquery/jquery.js |
visibility: "hidden", position: "absolute", display: "block" | visibility: "hidden", position: "absolute", display: "block", right: "0", left: "0" | jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else { e = jQuery(e.cloneNode(true)).css({ visibility: "hidden", position: "absolute", display: "block" }).appendTo(e.parentNode)[0]; oHeight = e.clientHeight;... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/744c0609d4848d89c528f1eb61c596ee4bc0d393/jquery.js/buggy/src/jquery/jquery.js |
if ( parPos == "" || parPos == "static" ) e.parentNode.style.position = "static"; | jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else { e = jQuery(e.cloneNode(true)).css({ visibility: "hidden", position: "absolute", display: "block" }).appendTo(e.parentNode)[0]; oHeight = e.clientHeight;... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/744c0609d4848d89c528f1eb61c596ee4bc0d393/jquery.js/buggy/src/jquery/jquery.js | |
.replace(/-([a-z])/ig,function(z,b){ return b.toUpperCase(); }); | p = p.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()}); | .replace(/-([a-z])/ig,function(z,b){ return b.toUpperCase(); }); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/6a50758086f2db26b12b12e8c58a42cbbd28a98a/jquery.js/buggy/jquery/jquery.js |
test("$.ajax - simple get", function() { | test("$.ajax - simple post", function() { | test("$.ajax - simple get", function() { expect(1); stop(); $.ajax({ type: "GET", url: "data/name.php?name=foo", success: function(msg){ ok( msg == 'bar', 'Check for GET' ); start(); } });}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js |
type: "GET", url: "data/name.php?name=foo", | type: "POST", url: "data/name.php", data: "name=peter", | test("$.ajax - simple get", function() { expect(1); stop(); $.ajax({ type: "GET", url: "data/name.php?name=foo", success: function(msg){ ok( msg == 'bar', 'Check for GET' ); start(); } });}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js |
ok( msg == 'bar', 'Check for GET' ); | ok( msg == 'pan', 'Check for POST' ); | test("$.ajax - simple get", function() { expect(1); stop(); $.ajax({ type: "GET", url: "data/name.php?name=foo", success: function(msg){ ok( msg == 'bar', 'Check for GET' ); start(); } });}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js |
test("$.ajax - simple get", function() { expect(1); | test("$.ajaxTimeout(Number) - with global timeout", function() { | test("$.ajax - simple get", function() { expect(1); stop(); $.ajax({ type: "GET", url: "data/name.php?name=foo", success: function(msg){ ok( msg == 'bar', 'Check for GET' ); start(); } });}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js |
url: "data/name.php?name=foo", success: function(msg){ ok( msg == 'bar', 'Check for GET' ); start(); } | url: "data/name.php?wait=5", error: pass, success: fail | test("$.ajax - simple get", function() { expect(1); stop(); $.ajax({ type: "GET", url: "data/name.php?name=foo", success: function(msg){ ok( msg == 'bar', 'Check for GET' ); 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(pair) { return pair.map(encodeURIComponent).join('='); }).join('&'); | return $H(hash).inject($H(this), function(mergedHash, pair) { mergedHash[pair.key] = pair.value; return mergedHash; }); | return this.map(function(pair) { return pair.map(encodeURIComponent).join('='); }).join('&'); | 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("filter(String)", function() { isSet( $("input").filter(":checked").get(), q("radio2", "check1"), "Filter elements" ); | test("filter()", function() { isSet( $("input").filter(":checked").get(), q("radio2", "check1"), "filter(String)" ); isSet( $("p").filter(["#ap", "#sndp"]).get(), q("ap", "sndp"), "filter(Array<String>)" ); | test("filter(String)", function() { isSet( $("input").filter(":checked").get(), q("radio2", "check1"), "Filter elements" );}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/3ab145e5aaf68fca0973cb3a8a268739729a90d6/coreTest.js/clean/src/jquery/coreTest.js |
test("$.ajax - simple post", function() { | test("$.ajax - simple get", function() { | test("$.ajax - simple post", function() { expect(1); stop(); $.ajax({ type: "POST", url: "data/name.php", data: "name=peter", success: function(msg){ ok( msg == 'pan', 'Check for POST' ); start(); } });}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js |
type: "POST", url: "data/name.php", data: "name=peter", | type: "GET", url: "data/name.php?name=foo", | test("$.ajax - simple post", function() { expect(1); stop(); $.ajax({ type: "POST", url: "data/name.php", data: "name=peter", success: function(msg){ ok( msg == 'pan', 'Check for POST' ); start(); } });}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js |
ok( msg == 'pan', 'Check for POST' ); | ok( msg == 'bar', 'Check for GET' ); | test("$.ajax - simple post", function() { expect(1); stop(); $.ajax({ type: "POST", url: "data/name.php", data: "name=peter", success: function(msg){ ok( msg == 'pan', 'Check for POST' ); start(); } });}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js |
setTimeout((function() { for (var i = 0; i < scripts.length; i++) eval(scripts[i].match(match)[1]); }).bind(this), 10); | return this.map(function(pair) { return pair.map(encodeURIComponent).join('='); }).join('&'); | setTimeout((function() { for (var i = 0; i < scripts.length; i++) eval(scripts[i].match(match)[1]); }).bind(this), 10); | 3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/actionpack/lib/action_view/helpers/javascripts/prototype.js |
var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase();}); | jQuery.swap(elem, { display: 'block' }, function() { var c = document.defaultView.getComputedStyle(this, ''); ret = c && c.getPropertyValue(prop) || ''; }); | var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase();}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/665e1959cc03292a5109796dc1618d3848ec6f6e/jquery.js/buggy/src/jquery/jquery.js |
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(){ | function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ccf9d4406296fed48aae0989f2303287f133ed9e/jquery.js/clean/src/jquery/jquery.js |
}); | function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ccf9d4406296fed48aae0989f2303287f133ed9e/jquery.js/clean/src/jquery/jquery.js | |
r = $.map( ret, function(a){ return ( a.childNodes.length > 0 ? $.sibling( a.firstChild ) : null ); } ); | r = $.map( ret, function(a){ return a.parentNode; } ); | r = $.map( ret, function(a){ return ( a.childNodes.length > 0 ? $.sibling( a.firstChild ) : null ); } ); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/b5256caee647eb3b8f49115d7803506b031d058f/jquery.js/buggy/jquery/jquery.js |
setTimeout((function() { for (var i = 0; i < scripts.length; i++) eval(scripts[i].match(match)[1]); }).bind(this), 10); | return this.map(function(pair) { return pair.map(encodeURIComponent).join('='); }).join('&'); | setTimeout((function() { for (var i = 0; i < scripts.length; i++) eval(scripts[i].match(match)[1]); }).bind(this), 10); | 3684 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3684/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/railties/html/javascripts/prototype.js |
e = $(e.cloneNode(true)).css({ | e = jQuery(e.cloneNode(true)).css({ | jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else { e = $(e.cloneNode(true)).css({ visibility: "hidden", position: "absolute", display: "block" }).prependTo("body")[0]; oHeight = e.clientHeight; oWidt... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/288b1a67303174f336ac4111c50747d609cba32a/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 { e = jQuery(e.cloneNode(true)).css({ visibility: "hidden", position: "absolute", display: "block", right: "0", left: "0" }).appendTo(e.parentNode)[0]; var parPos = jQuery.css(e.parentNod... | var newProp = prop.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 { e = jQuery(e.cloneNode(true)).css({ visibility: "hidden", position: "absolute", display: "block", right: "0", left: "0" }).appendTo(e.parentNode)[0]; va... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/69efa31318238a1af5644da7aa5dc691dc33b376/jquery.js/clean/src/jquery/jquery.js |
}).prependTo("body")[0]; | }).appendTo(e.parentNode)[0]; | jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else { e = jQuery(e.cloneNode(true)).css({ visibility: "hidden", position: "absolute", display: "block" }).prependTo("body")[0]; oHeight = e.clientHeight; ... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/805d21c2360a10fa5e7ac85cc593b4403afb6c9f/jquery.js/buggy/src/jquery/jquery.js |
var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase();}); | 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 ); }; }); | var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase();}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/feabeb8572979f7888bd73e80f436bece1448e5a/jquery.js/buggy/src/jquery/jquery.js |
$.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(){ | function(){ | $.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; }); }); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/214007721c67d9702571e45573cf32c61c2201a8/jquery.js/buggy/jquery/jquery.js |
}); | $.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; }); }); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/214007721c67d9702571e45573cf32c61c2201a8/jquery.js/buggy/jquery/jquery.js | |
var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()}); | "~", 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; } | var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/f7efcc858dec55fa3b9babb94ebc73b0888e6d51/jquery.js/clean/src/jquery/jquery.js |
function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); | var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()}); | function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/48ec10044f011ccfe9bd232d629682b59cccbd97/jquery.js/buggy/src/jquery/jquery.js |
jQuery.swap(elem, { display: 'block' }, function() { var c = document.defaultView.getComputedStyle(this, ''); ret = c && c.getPropertyValue(prop) || ''; }); | jQuery.swap( e, old, function() { if (jQuery.css(e,"display") != "none") { oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else { e = jQuery(e.cloneNode(true)) .find(":radio").removeAttr("checked").end() .css({ visibility: "hidden", position: "absolute", display: "block", right: "0", left: "0" }).appendTo(e.parentN... | jQuery.swap(elem, { display: 'block' }, function() { var c = document.defaultView.getComputedStyle(this, ''); ret = c && c.getPropertyValue(prop) || ''; }); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/65a88fae8919e5da774dcc45c9b42220f875b697/jquery.js/clean/src/jquery/jquery.js |
test("$.ajax - simple post", function() { expect(1); | test("$.ajax - dataType html", function() { expect(5); | test("$.ajax - simple post", function() { expect(1); stop(); $.ajax({ type: "POST", url: "data/name.php", data: "name=peter", success: function(msg){ ok( msg == 'pan', 'Check for POST' ); start(); } });}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js |
type: "POST", url: "data/name.php", data: "name=peter", success: function(msg){ ok( msg == 'pan', 'Check for POST' ); start(); | dataType: "html", url: "data/test.html", success: function(data) { ok( data.match(/^html text/), 'Check content for datatype html' ); ok( testFoo == "foo", 'Check if script was evaluated for datatype html' ); setTimeout(verifyEvaluation, 600); | test("$.ajax - simple post", function() { expect(1); stop(); $.ajax({ type: "POST", url: "data/name.php", data: "name=peter", success: function(msg){ ok( msg == 'pan', 'Check for POST' ); start(); } });}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js |
test("$.ajax - simple post", function() { expect(1); stop(); | test("$.ajaxTimeout(Number) with localtimeout", function() { stop(); $.ajaxTimeout(50); | test("$.ajax - simple post", function() { expect(1); stop(); $.ajax({ type: "POST", url: "data/name.php", data: "name=peter", success: function(msg){ ok( msg == 'pan', 'Check for POST' ); start(); } });}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js |
type: "POST", url: "data/name.php", data: "name=peter", success: function(msg){ ok( msg == 'pan', 'Check for POST' ); | 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' ); | test("$.ajax - simple post", function() { expect(1); stop(); $.ajax({ type: "POST", url: "data/name.php", data: "name=peter", success: function(msg){ ok( msg == 'pan', 'Check for POST' ); start(); } });}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js |
$.ajaxTimeout(0); | test("$.ajax - simple post", function() { expect(1); stop(); $.ajax({ type: "POST", url: "data/name.php", data: "name=peter", success: function(msg){ ok( msg == 'pan', 'Check for POST' ); start(); } });}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js | |
return '#<Hash:{' + this.map(function(pair) { return pair.map(Object.inspect).join(': '); }).join(', ') + '}>'; | return this.map(function(pair) { return pair.map(encodeURIComponent).join('='); }).join('&'); | return '#<Hash:{' + this.map(function(pair) { return pair.map(Object.inspect).join(': '); }).join(', ') + '}>'; | 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("$.ajax - dataType html", function() { expect(5); | test("$.ajax - simple post", function() { expect(1); | test("$.ajax - dataType html", function() { expect(5); stop(); testFoo = undefined; var verifyEvaluation = function() { ok( foobar == "bar", 'Check if script src was evaluated for datatype html' ); start(); }; $.ajax({ dataType: "html", url: "data/test.html", success: function(data) { ok( data.match(/^htm... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js |
testFoo = undefined; var verifyEvaluation = function() { ok( foobar == "bar", 'Check if script src was evaluated for datatype html' ); start(); }; | test("$.ajax - dataType html", function() { expect(5); stop(); testFoo = undefined; var verifyEvaluation = function() { ok( foobar == "bar", 'Check if script src was evaluated for datatype html' ); start(); }; $.ajax({ dataType: "html", url: "data/test.html", success: function(data) { ok( data.match(/^htm... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js | |
dataType: "html", url: "data/test.html", success: function(data) { ok( data.match(/^html text/), 'Check content for datatype html' ); ok( testFoo == "foo", 'Check if script was evaluated for datatype html' ); setTimeout(verifyEvaluation, 600); | type: "POST", url: "data/name.php", data: "name=peter", success: function(msg){ ok( msg == 'pan', 'Check for POST' ); start(); | test("$.ajax - dataType html", function() { expect(5); stop(); testFoo = undefined; var verifyEvaluation = function() { ok( foobar == "bar", 'Check if script src was evaluated for datatype html' ); start(); }; $.ajax({ dataType: "html", url: "data/test.html", success: function(data) { ok( data.match(/^htm... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js |
jQuery.swap(elem, { display: 'block' }, function() { var c = document.defaultView.getComputedStyle(this, ''); ret = c && c.getPropertyValue(prop) || ''; }); | var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase();}); | jQuery.swap(elem, { display: 'block' }, function() { var c = document.defaultView.getComputedStyle(this, ''); ret = c && c.getPropertyValue(prop) || ''; }); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/665e1959cc03292a5109796dc1618d3848ec6f6e/jquery.js/buggy/src/jquery/jquery.js |
p = p.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()}); | 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/ccf9d4406296fed48aae0989f2303287f133ed9e/jquery.js/clean/src/jquery/jquery.js |
.replace(/-([a-z])/ig,function(z,b){ return b.toUpperCase(); }); | function(a,f) {return jQuery.grep(a,f,true);}; | .replace(/-([a-z])/ig,function(z,b){ return b.toUpperCase(); }); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/efe0fef88082eebf66e9b7c250a6a072a5aa1966/jquery.js/clean/jquery/jquery.js |
r = $.map( ret, function(a){ return $.sibling(a).next; } ); | r = $.map( ret, function(a){ return ( a.childNodes.length > 0 ? $.sibling( a.firstChild ) : null ); } ); | r = $.map( ret, function(a){ return $.sibling(a).next; } ); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/b5256caee647eb3b8f49115d7803506b031d058f/jquery.js/buggy/jquery/jquery.js |
ret = document.defaultView.getComputedStyle(this,null).getPropertyValue(prop); | var c = document.defaultView.getComputedStyle(this, ''); ret = c && c.getPropertyValue(prop) || ''; | jQuery.swap(elem, { display: 'block' }, function() { ret = document.defaultView.getComputedStyle(this,null).getPropertyValue(prop); }); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/df61a63fca0bc7d1d3e3a0e7ec1e06ce2bd8fb53/jquery.js/buggy/src/jquery/jquery.js |
test("filter(String) - execute callback in fitting context", function() { expect(1); $("input").filter(":checked",function(i){ ok( this == q("radio2", "check1")[i], "Filter elements, context" ); }); | test("not(String)", function() { ok($("#main > p#ap > a").not("#google").length == 2, "not('selector')") isSet( $("p").not("#ap, #sndp").get(), q("firstp", "en", "sap", "first", "result"), "not('selector, selector')" ); | test("filter(String) - execute callback in fitting context", function() { expect(1); $("input").filter(":checked",function(i){ ok( this == q("radio2", "check1")[i], "Filter elements, context" ); });}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/94e59e287a9fde9425cd96713e8130aef06bc431/coreTest.js/buggy/src/jquery/coreTest.js |
var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()}); | jQuery.swap(elem, { display: 'block' }, function() { ret = document.defaultView.getComputedStyle(this,null).getPropertyValue(prop); }); | var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/69efa31318238a1af5644da7aa5dc691dc33b376/jquery.js/clean/src/jquery/jquery.js |
jQuery.swap(elem, { display: 'block' }, function() { ret = document.defaultView.getComputedStyle(this,null).getPropertyValue(prop); }); | jQuery.fn[ n ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h ); }; | jQuery.swap(elem, { display: 'block' }, function() { ret = document.defaultView.getComputedStyle(this,null).getPropertyValue(prop); }); | 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; }); | "~", 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; } | function(){ oHeight = e.clientHeight; oWidth = e.clientWidth; }); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/214007721c67d9702571e45573cf32c61c2201a8/jquery.js/buggy/jquery/jquery.js |
jQuery.swap(elem, { display: 'block' }, function() { ret = document.defaultView.getComputedStyle(this,null).getPropertyValue(prop); }); | "~", 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.swap(elem, { display: 'block' }, function() { ret = document.defaultView.getComputedStyle(this,null).getPropertyValue(prop); }); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/f7efcc858dec55fa3b9babb94ebc73b0888e6d51/jquery.js/clean/src/jquery/jquery.js |
var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()}); | jQuery.swap(elem, { display: 'block' }, function() { ret = document.defaultView.getComputedStyle(this,null).getPropertyValue(prop); }); | var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/48ec10044f011ccfe9bd232d629682b59cccbd97/jquery.js/buggy/src/jquery/jquery.js |
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; } ); | 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; }); | r = $.map( ret, 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; } ); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/130b8a1c030ae7888934fcd8dee6695eac271fcb/jquery.js/clean/jquery/jquery.js |
var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase();}); | jQuery.swap(elem, { display: 'block' }, function() { var c = document.defaultView.getComputedStyle(this, ''); ret = c && c.getPropertyValue(prop) || ''; }); | var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase();}); | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/65a88fae8919e5da774dcc45c9b42220f875b697/jquery.js/clean/src/jquery/jquery.js |
new function() { var b = navigator.userAgent.toLowerCase(); jQuery.browser = { safari: /webkit/.test(b), opera: /opera/.test(b), msie: /msie/.test(b) && !/opera/.test(b), mozilla: /mozilla/.test(b) && !/compatible/.test(b) }; jQuery.boxModel = !jQuery.browser.msie || document.compatMode == "CSS1Compat"; }; | .replace(/-([a-z])/ig,function(z,b){ return b.toUpperCase(); }); | 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/6a50758086f2db26b12b12e8c58a42cbbd28a98a/jquery.js/buggy/jquery/jquery.js |
test("$.ajax - dataType html", function() { expect(4); | test("$.ajax - xml: non-namespace elements inside namespaced elements", function() { expect(3); | test("$.ajax - dataType html", function() { expect(4); stop(); window.foobar = undefined; window.foo = undefined; var verifyEvaluation = function() { ok( foobar == "bar", 'Check if script src was evaluated for datatype html' ); start(); }; $.ajax({ dataType: "html", url: "data/test.html", success: function(da... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js |
window.foobar = undefined; window.foo = undefined; var verifyEvaluation = function() { ok( foobar == "bar", 'Check if script src was evaluated for datatype html' ); start(); }; | test("$.ajax - dataType html", function() { expect(4); stop(); window.foobar = undefined; window.foo = undefined; var verifyEvaluation = function() { ok( foobar == "bar", 'Check if script src was evaluated for datatype html' ); start(); }; $.ajax({ dataType: "html", url: "data/test.html", success: function(da... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js | |
dataType: "html", url: "data/test.html", success: function(data) { ok( data.match(/^html text/), 'Check content for datatype html' ); ok( foo == "foo", 'Check if script was evaluated for datatype html' ); setTimeout(verifyEvaluation, 600); | url: "data/with_fries.xml", dataType: "xml", type: "GET", data: "", success: function(resp) { ok( $("properties", resp).length == 1, 'properties in responseXML' ); ok( $("jsconf", resp).length == 1, 'jsconf in responseXML' ); ok( $("thing", resp).length == 2, 'things in responseXML' ); start(); | test("$.ajax - dataType html", function() { expect(4); stop(); window.foobar = undefined; window.foo = undefined; var verifyEvaluation = function() { ok( foobar == "bar", 'Check if script src was evaluated for datatype html' ); start(); }; $.ajax({ dataType: "html", url: "data/test.html", success: function(da... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/ae58d24fd55e33b9977516988e696466fdaefa18/ajaxTest.js/clean/src/ajax/ajaxTest.js |
test("$.ajax - dataType html", function() { expect(5); | test("$.ajax - simple get", function() { expect(1); | test("$.ajax - dataType html", function() { expect(5); stop(); testFoo = undefined; var verifyEvaluation = function() { ok( foobar == "bar", 'Check if script src was evaluated for datatype html' ); start(); }; $.ajax({ dataType: "html", url: "data/test.html", success: function(data) { ok( data.match(/^htm... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js |
testFoo = undefined; var verifyEvaluation = function() { ok( foobar == "bar", 'Check if script src was evaluated for datatype html' ); start(); }; | test("$.ajax - dataType html", function() { expect(5); stop(); testFoo = undefined; var verifyEvaluation = function() { ok( foobar == "bar", 'Check if script src was evaluated for datatype html' ); start(); }; $.ajax({ dataType: "html", url: "data/test.html", success: function(data) { ok( data.match(/^htm... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js | |
dataType: "html", url: "data/test.html", success: function(data) { ok( data.match(/^html text/), 'Check content for datatype html' ); ok( testFoo == "foo", 'Check if script was evaluated for datatype html' ); setTimeout(verifyEvaluation, 600); | type: "GET", url: "data/name.php?name=foo", success: function(msg){ ok( msg == 'bar', 'Check for GET' ); start(); | test("$.ajax - dataType html", function() { expect(5); stop(); testFoo = undefined; var verifyEvaluation = function() { ok( foobar == "bar", 'Check if script src was evaluated for datatype html' ); start(); }; $.ajax({ dataType: "html", url: "data/test.html", success: function(data) { ok( data.match(/^htm... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/898ca3198b3297f68eb77ad128450ad8f952e15e/ajaxTest.js/buggy/src/ajax/ajaxTest.js |
function() {return new ActiveXObject('Msxml2.XMLHTTP')}, | return '#<Hash:{' + this.map(function(pair) { return pair.map(Object.inspect).join(': '); }).join(', ') + '}>'; | function() {return new ActiveXObject('Msxml2.XMLHTTP')}, | 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("$.ajax - xml: non-namespace elements inside namespaced elements", function() { expect(3); | test("$.ajax - dataType html", function() { expect(5); | test("$.ajax - xml: non-namespace elements inside namespaced elements", function() { expect(3); stop(); $.ajax({ url: "data/with_fries.xml", dataType: "xml", type: "GET", data: "", success: function(resp) { ok( $("properties", resp).length == 1, 'properties in responseXML' ); ok( $("jsconf", resp).length == 1... | 6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/dc6f9cfc9cd0e2393b8f3087d8fcfa8e03260d4c/ajaxTest.js/buggy/src/ajax/ajaxTest.js |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.