rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 13 136k | meta stringlengths 132 347 |
|---|---|---|---|
/* user event */ if( win.onresize ) win.onresize(); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; if( widthp && heightp ) { document.onmousemove = function( event ) { win.el_main.style.width = w0 + (event.clientX - x0); win... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7a8fe2e7c3da21b722cbd59ca55b8e707b805278/hop-iwindow.js/clean/share/hop-iwindow.js | |
document.onmousemove = function( event ) { if( event == undefined ) event = window.event; | mousemove = function( event ) { | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { if( event == und... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-iwindow.js/clean/share/hop-iwindow.js |
} | }; hop_add_event_listener( document, "mousemove", mousemove ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { if( event == und... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-iwindow.js/clean/share/hop-iwindow.js |
document.onmousemove = function( event ) { if( event == undefined ) event = window.event; | mousemove = function( event ) { | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { if( event == und... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-iwindow.js/clean/share/hop-iwindow.js |
} | }; hop_add_event_listener( document, "mousemove", mousemove ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { if( event == und... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-iwindow.js/clean/share/hop-iwindow.js |
document.onmousemove = function( event ) { if( event == undefined ) event = window.event; | mousemove = function( event ) { | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { if( event == und... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-iwindow.js/clean/share/hop-iwindow.js |
} | }; hop_add_event_listener( document, "mousemove", mousemove ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { if( event == und... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-iwindow.js/clean/share/hop-iwindow.js |
document.onmousemove = function( event ) { if( event == undefined ) event = window.event; | mousemove = function( event ) { | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { if( event == und... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-iwindow.js/clean/share/hop-iwindow.js |
if( event == undefined ) event = window.event; | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { if( event == und... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-iwindow.js/clean/share/hop-iwindow.js | |
document.onmousemove = false; | hop_remove_event_listener( document, "mousemove", mousemove ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { if( event == und... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-iwindow.js/clean/share/hop-iwindow.js |
event.preventDefault(); event.stopPropagation(); | hop_stop_propagation( event ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { if( event == und... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-iwindow.js/clean/share/hop-iwindow.js |
var x0 = event.clientX; var y0 = event.clientY; | var x0 = hop_mouse_x( event ); var y0 = hop_mouse_y( event ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; win.el_body.style.display = "none"; if( widthp && heightp ) { mousemove = function( event ) { win.el_mai... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/a6ed8e1dacfac579593af3fc5dd75eae78ef2b2f/hop-iwindow.js/buggy/share/hop-iwindow.js |
win.el_body.style.display = "none"; | hop_style_set( win.el_body, "display", "none" ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; win.el_body.style.display = "none"; if( widthp && heightp ) { mousemove = function( event ) { win.el_mai... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/a6ed8e1dacfac579593af3fc5dd75eae78ef2b2f/hop-iwindow.js/buggy/share/hop-iwindow.js |
win.el_main.style.width = w0 + (event.clientX - x0); win.el_main.style.height = h0 + (event.clientY - y0); | hop_style_set( win.el_main, "width", w0 + (hop_mouse_x( event ) - x0) ); hop_style_set( win.el_main, "height", h0 + (hop_mouse_y( event ) - y0) ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; win.el_body.style.display = "none"; if( widthp && heightp ) { mousemove = function( event ) { win.el_mai... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/a6ed8e1dacfac579593af3fc5dd75eae78ef2b2f/hop-iwindow.js/buggy/share/hop-iwindow.js |
win.el_main.style.width = w0 + (event.clientX - x0); | hop_style_set( win.el_main, "width", w0 + (hop_mouse_x( event ) - x0) ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; win.el_body.style.display = "none"; if( widthp && heightp ) { mousemove = function( event ) { win.el_mai... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/a6ed8e1dacfac579593af3fc5dd75eae78ef2b2f/hop-iwindow.js/buggy/share/hop-iwindow.js |
win.el_main.style.height = h0 + (event.clientY - y0); | hop_style_set( win.el_main, "height", h0 + (hop_mouse_y( event ) - y0) ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; win.el_body.style.display = "none"; if( widthp && heightp ) { mousemove = function( event ) { win.el_mai... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/a6ed8e1dacfac579593af3fc5dd75eae78ef2b2f/hop-iwindow.js/buggy/share/hop-iwindow.js |
var w = w0 + (x0 - event.clientX); win.style.left = (l0 + w0) - w; win.el_main.style.width = w; win.el_main.style.height = h0 + (event.clientY - y0); | var w = w0 + (x0 - hop_mouse_y( event )); hop_style_set( win ,"left", (l0 + w0) - w ); hop_style_set( win.el_main, "width", w ); hop_style_set( win.el_main, "height", h0 + (hop_mouse_y( event ) - y0) ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; win.el_body.style.display = "none"; if( widthp && heightp ) { mousemove = function( event ) { win.el_mai... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/a6ed8e1dacfac579593af3fc5dd75eae78ef2b2f/hop-iwindow.js/buggy/share/hop-iwindow.js |
document.onmouseup = function( event ) { win.el_body.style.display = "block"; | var mouseup = function( event ) { hop_style_set( win.el_body, "display", "block" ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; win.el_body.style.display = "none"; if( widthp && heightp ) { mousemove = function( event ) { win.el_mai... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/a6ed8e1dacfac579593af3fc5dd75eae78ef2b2f/hop-iwindow.js/buggy/share/hop-iwindow.js |
hop_add_event_listener( document, "mouseup", mouseup ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; win.el_body.style.display = "none"; if( widthp && heightp ) { mousemove = function( event ) { win.el_mai... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/a6ed8e1dacfac579593af3fc5dd75eae78ef2b2f/hop-iwindow.js/buggy/share/hop-iwindow.js | |
if( event == undefined ) event = window.event; | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { win.el_main.styl... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/d9d6b2e3c521aa0e9b012cc36e10a59371fdfee5/hop-iwindow.js/buggy/share/hop-iwindow.js | |
/* I don't why yet, IE 7 does not include SCRIPT nodes */ /* in the resulting node! */ | function hop_js_eval( http ) { if( http.responseText != null ) { var node = document.createElement( "div" ); /* I don't why yet, IE 7 does not include SCRIPT nodes */ /* in the resulting node! */ node.innerHTML = http.responseText; return hop_node_eval( node ); ... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/0f13875c170bf295e968ddf1b168f1b43c73a3ad/hop.js/clean/share/hop.js | |
return hop_node_eval( node ); | return hop_node_eval( node, http.responseText ); | function hop_js_eval( http ) { if( http.responseText != null ) { var node = document.createElement( "div" ); /* I don't why yet, IE 7 does not include SCRIPT nodes */ /* in the resulting node! */ node.innerHTML = http.responseText; return hop_node_eval( node ); ... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/0f13875c170bf295e968ddf1b168f1b43c73a3ad/hop.js/clean/share/hop.js |
paned.style.height = "inherit"; | hop_style_set( paned, "height", "inherit" ); | function hop_make_hpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var td1, td2, pcursor, cursor; var tr1, tr2, tr3; // the paned var paned = document.createElement( "div" ); paned.className = klass, paned.style.height = "inherit"; // the cur... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/6ca73f8db39b31f0ac4e3ee76255a79a86583465/hop-paned.js/clean/share/hop-paned.js |
cursor.style.width = "100%"; cursor.style.height = "100%"; | hop_style_set( cursor, "width", "100%" ); hop_style_set( cursor, "height", "100%" ); | function hop_make_hpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var td1, td2, pcursor, cursor; var tr1, tr2, tr3; // the paned var paned = document.createElement( "div" ); paned.className = klass, paned.style.height = "inherit"; // the cur... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/6ca73f8db39b31f0ac4e3ee76255a79a86583465/hop-paned.js/clean/share/hop-paned.js |
pan1.style.visibility = "visible"; pan2.style.visibility = "visible"; | hop_style_set( pan1, "visibility", "visible" ); hop_style_set( pan2, "visibility", "visible" ); | function hop_make_hpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var td1, td2, pcursor, cursor; var tr1, tr2, tr3; // the paned var paned = document.createElement( "div" ); paned.className = klass, paned.style.height = "inherit"; // the cur... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/6ca73f8db39b31f0ac4e3ee76255a79a86583465/hop-paned.js/clean/share/hop-paned.js |
if( e == undefined ) e = window.event; | function hop_make_hpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var td1, td2, pcursor, cursor; var tr1, tr2, tr3; // the paned var paned = document.createElement( "div" ); paned.className = klass, paned.style.height = "inherit"; // the cur... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/6ca73f8db39b31f0ac4e3ee76255a79a86583465/hop-paned.js/clean/share/hop-paned.js | |
cursor.onmouseover = function( e ) { cursor.className = "hop-paned-cursoron"; }; cursor.onmouseout = function( e ) { cursor.className = "hop-paned-cursoroff"; }; cursor.onmousedown = function( e ) { | var mousedown = function( e ) { | function hop_make_hpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var td1, td2, pcursor, cursor; var tr1, tr2, tr3; // the paned var paned = document.createElement( "div" ); paned.className = klass, paned.style.height = "inherit"; // the cur... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/6ca73f8db39b31f0ac4e3ee76255a79a86583465/hop-paned.js/clean/share/hop-paned.js |
hop_add_event_listener( cursor, "mousedown", mousedown ); var mouseover = function( e ) { cursor.className = "hop-paned-cursoron"; }; var mouseout = function( e ) { cursor.className = "hop-paned-cursoroff"; }; hop_add_event_listener( cursor, "mouseover", mouseover ); hop_add_event_listener( cursor, "mouseout", mouse... | function hop_make_hpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var td1, td2, pcursor, cursor; var tr1, tr2, tr3; // the paned var paned = document.createElement( "div" ); paned.className = klass, paned.style.height = "inherit"; // the cur... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/6ca73f8db39b31f0ac4e3ee76255a79a86583465/hop-paned.js/clean/share/hop-paned.js | |
if( e == undefined ) e = window.event; | function hop_make_hpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var td1, td2, pcursor, cursor; var tr1, tr2, tr3; // the paned var paned = document.createElement( "div" ); paned.className = klass, paned.style.height = "inherit"; // the cur... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-paned.js/buggy/share/hop-paned.js | |
val = ((e.clientX - hop_element_x( slider )) / slider.offsetWidth) * 100; | /* val = ((e.clientX - hop_element_x( slider )) / slider.offsetWidth) * 100; */ val = ((hop_event_mouse_x( e ) - hop_element_x( slider )) / slider.offsetWidth) * 100; | function hop_make_slider( parent, id, min, max, step, value, cap, curw, curh ) { var doc = (parent == undefined ? document : parent.ownerDocument || parent.document); var slider, tbody, tr, tr2; var line1, line2, cursor; var td1, td3; var div; var caption; if( curw == undefined ) curw = 4; if( curh... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/c1573df9e324193c5522cd1c1d4885de3faa3930/hop-slider.js/clean/share/hop-slider.js |
cursor.onmouseover = function( e ) { | var onmouseover = function( e ) { | function hop_make_slider( parent, id, min, max, step, value, cap, curw, curh ) { var doc = (parent == undefined ? document : parent.ownerDocument || parent.document); var slider, tbody, tr, tr2; var line1, line2, cursor; var td1, td3; var div; var caption; if( curw == undefined ) curw = 4; if( curh... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/b0437a3b760258723ea3639dedeb8983f5e9c448/hop-slider.js/clean/share/hop-slider.js |
cursor.onmouseout = function( e ) { | var onmouseout = function( e ) { | function hop_make_slider( parent, id, min, max, step, value, cap, curw, curh ) { var doc = (parent == undefined ? document : parent.ownerDocument || parent.document); var slider, tbody, tr, tr2; var line1, line2, cursor; var td1, td3; var div; var caption; if( curw == undefined ) curw = 4; if( curh... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/b0437a3b760258723ea3639dedeb8983f5e9c448/hop-slider.js/clean/share/hop-slider.js |
cursor.onmousedown = function( e ) { | var onmousedown = function( e ) { | function hop_make_slider( parent, id, min, max, step, value, cap, curw, curh ) { var doc = (parent == undefined ? document : parent.ownerDocument || parent.document); var slider, tbody, tr, tr2; var line1, line2, cursor; var td1, td3; var div; var caption; if( curw == undefined ) curw = 4; if( curh... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/b0437a3b760258723ea3639dedeb8983f5e9c448/hop-slider.js/clean/share/hop-slider.js |
line1.onclick = onlineclick; line2.onclick = onlineclick; | hop_add_event_listener( line1, "click", onlineclick ); hop_add_event_listener( line2, "click", onlineclick ); | function hop_make_slider( parent, id, min, max, step, value, cap, curw, curh ) { var doc = (parent == undefined ? document : parent.ownerDocument || parent.document); var slider, tbody, tr, tr2; var line1, line2, cursor; var td1, td3; var div; var caption; if( curw == undefined ) curw = 4; if( curh... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/b0437a3b760258723ea3639dedeb8983f5e9c448/hop-slider.js/clean/share/hop-slider.js |
table.setAttribute( "rules", "none" ); | function hop_make_tree( parent, id, level, svc, title, openp, cachedp, icondir, fo, fc , mu, ons, onus, value ) { var tree = document.createElement( "div" ); /* safety check */ if( parent == null ) { alert( "***INTERNAL ERROR: Illegal empty tree parent -- " + id ); } /* the tree first line */ var ta... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/6d5257e20d0db537b8a47d939ab613c54c227c9e/hop-tree.js/buggy/share/hop-tree.js | |
table.setAttribute( "border", 0 ); table.setAttribute( "rules", "none" ); | function hop_make_tree( parent, id, level, svc, title, openp, cachedp, icondir, fo, fc , mu, ons, onus, value ) { var tree = document.createElement( "div" ); /* safety check */ if( parent == null ) { alert( "***INTERNAL ERROR: Illegal empty tree parent -- " + id ); } /* the tree first line */ var ta... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7d5a493226b1130b7a0d0610b05ddc0d3cb73e24/hop-tree.js/clean/share/hop-tree.js | |
join.className = "hop-tree-openclose"; | function hop_make_tree( parent, id, level, svc, title, openp, cachedp, icondir, fo, fc , mu, ons, onus, value ) { var tree = document.createElement( "div" ); /* safety check */ if( parent == null ) { alert( "***INTERNAL ERROR: Illegal empty tree parent -- " + id ); } /* the tree first line */ var ta... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7d5a493226b1130b7a0d0610b05ddc0d3cb73e24/hop-tree.js/clean/share/hop-tree.js | |
folder.setAttribute( "align", "absbottom" ); | function hop_make_tree( parent, id, level, svc, title, openp, cachedp, icondir, fo, fc , mu, ons, onus, value ) { var tree = document.createElement( "div" ); /* safety check */ if( parent == null ) { alert( "***INTERNAL ERROR: Illegal empty tree parent -- " + id ); } /* the tree first line */ var ta... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7d5a493226b1130b7a0d0610b05ddc0d3cb73e24/hop-tree.js/clean/share/hop-tree.js | |
row.appendChild( td2 ); | function hop_make_tree( parent, id, level, svc, title, openp, cachedp, icondir, fo, fc , mu, ons, onus, value ) { var tree = document.createElement( "div" ); /* safety check */ if( parent == null ) { alert( "***INTERNAL ERROR: Illegal empty tree parent -- " + id ); } /* the tree first line */ var ta... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7d5a493226b1130b7a0d0610b05ddc0d3cb73e24/hop-tree.js/clean/share/hop-tree.js | |
row.appendChild( td2 ) | row.appendChild( td2 ); | function hop_make_tree( parent, id, level, svc, title, openp, cachedp, icondir, fo, fc , mu, ons, onus, value ) { var tree = document.createElement( "div" ); /* safety check */ if( parent == null ) { alert( "***INTERNAL ERROR: Illegal empty tree parent -- " + id ); } /* the tree first line */ var ta... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7d5a493226b1130b7a0d0610b05ddc0d3cb73e24/hop-tree.js/clean/share/hop-tree.js |
table.setAttribute( "border", 0 ); | function hop_make_tree( parent, id, level, svc, title, openp, cachedp, icondir, fo, fc , mu, ons, onus, value ) { var tree = document.createElement( "div" ); /* safety check */ if( parent == null ) { alert( "***INTERNAL ERROR: Illegal empty tree parent -- " + id ); } /* the tree first line */ var ta... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/ffddde00f310913083652ce4f995ea73d20795f7/hop-tree.js/clean/share/hop-tree.js | |
td2.setAttribute( "valign", "top" ); | function hop_make_tree_leaf( tree, content, value, icon ) { var leaf = document.createElement( "table" ); var level = tree.level + 1; leaf.setAttribute( "cellpadding", 0 ); leaf.setAttribute( "cellspacing", 0 ); var tb = document.createElement( "tbody" ); var row = document.createElement( "tr" ); row.cla... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/6d5257e20d0db537b8a47d939ab613c54c227c9e/hop-tree.js/buggy/share/hop-tree.js | |
var level = tree.level + 1; | function hop_make_tree_leaf( tree, content, value, icon ) { var leaf = document.createElement( "table" ); var level = tree.level + 1; leaf.setAttribute( "cellpadding", 0 ); leaf.setAttribute( "cellspacing", 0 ); leaf.setAttribute( "border", 0 ); leaf.setAttribute( "rules", "none" ); var tb = document.crea... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7d5a493226b1130b7a0d0610b05ddc0d3cb73e24/hop-tree.js/clean/share/hop-tree.js | |
leaf.setAttribute( "border", 0 ); leaf.setAttribute( "rules", "none" ); | leaf.className = "hop-tree-leaf"; | function hop_make_tree_leaf( tree, content, value, icon ) { var leaf = document.createElement( "table" ); var level = tree.level + 1; leaf.setAttribute( "cellpadding", 0 ); leaf.setAttribute( "cellspacing", 0 ); leaf.setAttribute( "border", 0 ); leaf.setAttribute( "rules", "none" ); var tb = document.crea... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7d5a493226b1130b7a0d0610b05ddc0d3cb73e24/hop-tree.js/clean/share/hop-tree.js |
join.className = "hop-tree"; | function hop_make_tree_leaf( tree, content, value, icon ) { var leaf = document.createElement( "table" ); var level = tree.level + 1; leaf.setAttribute( "cellpadding", 0 ); leaf.setAttribute( "cellspacing", 0 ); leaf.setAttribute( "border", 0 ); leaf.setAttribute( "rules", "none" ); var tb = document.crea... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7d5a493226b1130b7a0d0610b05ddc0d3cb73e24/hop-tree.js/clean/share/hop-tree.js | |
fimg.setAttribute( "align", "absbottom" ); | function hop_make_tree_leaf( tree, content, value, icon ) { var leaf = document.createElement( "table" ); var level = tree.level + 1; leaf.setAttribute( "cellpadding", 0 ); leaf.setAttribute( "cellspacing", 0 ); leaf.setAttribute( "border", 0 ); leaf.setAttribute( "rules", "none" ); var tb = document.crea... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7d5a493226b1130b7a0d0610b05ddc0d3cb73e24/hop-tree.js/clean/share/hop-tree.js | |
leaf.className = "hop-tree-leaf"; | function hop_make_tree_leaf( tree, content, value, icon ) { var leaf = document.createElement( "table" ); var level = tree.level + 1; leaf.setAttribute( "cellpadding", 0 ); leaf.setAttribute( "cellspacing", 0 ); leaf.setAttribute( "border", 0 ); leaf.setAttribute( "rules", "none" ); var tb = document.crea... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7d5a493226b1130b7a0d0610b05ddc0d3cb73e24/hop-tree.js/clean/share/hop-tree.js | |
leaf.setAttribute( "border", 0 ); | function hop_make_tree_leaf( tree, content, value, icon ) { var level = tree.level + 1; var leaf = document.createElement( "table" ); leaf.setAttribute( "cellpadding", 0 ); leaf.setAttribute( "cellspacing", 0 ); leaf.className = "hop-tree-leaf"; var tb = document.createElement( "tbody" ); var row = docume... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/ffddde00f310913083652ce4f995ea73d20795f7/hop-tree.js/clean/share/hop-tree.js | |
if( e == undefined ) e = window.event; | function hop_make_vpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var paned, tbody, tr, td1, td2, cursor, div; // the paned paned = document.createElement( "table" ); paned.className = klass; paned.id = id; paned.setAttribute( "onresize", undefin... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/6ca73f8db39b31f0ac4e3ee76255a79a86583465/hop-paned.js/clean/share/hop-paned.js | |
cursor.onmouseover = function( e ) { div.className = "hop-paned-cursoron"; }; cursor.onmouseout = function( e ) { div.className = "hop-paned-cursoroff"; }; cursor.onmousedown = function( e ) { | var mousedown = function( e ) { | function hop_make_vpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var paned, tbody, tr, td1, td2, cursor, div; // the paned paned = document.createElement( "table" ); paned.className = klass; paned.id = id; paned.setAttribute( "onresize", undefin... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/6ca73f8db39b31f0ac4e3ee76255a79a86583465/hop-paned.js/clean/share/hop-paned.js |
pan1.style.visibility = "visible"; pan2.style.visibility = "visible"; | hop_style_set( pan1, "visibility", "visible" ); hop_style_set( pan2, "visibility", "visible" ); | function hop_make_vpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var paned, tbody, tr, td1, td2, cursor, div; // the paned paned = document.createElement( "table" ); paned.className = klass; paned.id = id; paned.setAttribute( "onresize", undefin... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/6ca73f8db39b31f0ac4e3ee76255a79a86583465/hop-paned.js/clean/share/hop-paned.js |
e.preventDefault(); e.stopPropagation(); | hop_stop_propagation( e ); | function hop_make_vpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var paned, tbody, tr, td1, td2, cursor, div; // the paned paned = document.createElement( "table" ); paned.className = klass; paned.id = id; paned.setAttribute( "onresize", undefin... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-paned.js/buggy/share/hop-paned.js |
e.preventDefault(); e.stopPropagation(); | function hop_make_vpaned( parent, id, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var paned, tbody, tr, td1, td2, cursor, div; // the paned paned = document.createElement( "table" ); paned.className = "hop-vpaned" paned.id = id; paned.onresize = undefined; paned.p... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/26edb05e4c0d69806e96596c555502f4a0e8d9d7/hop-paned.js/buggy/share/hop-paned.js | |
var paned, tr, td1, td2, cursor, div; | var paned, tbody, tr, td1, td2, cursor, div; | function hop_make_vpaned( parent, id, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var paned, tr, td1, td2, cursor, div; // the paned paned = document.createElement( "table" ); paned.className = "hop-vpaned" paned.id = id; paned.onresize = undefined; paned.parent =... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/737cbaf83d84c17cd17f1c4c7d6d6aaf1da87b7a/hop-paned.js/buggy/share/hop-paned.js |
paned.appendChild( tr ); | tbody.appendChild( tr ); | function hop_make_vpaned( parent, id, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var paned, tr, td1, td2, cursor, div; // the paned paned = document.createElement( "table" ); paned.className = "hop-vpaned" paned.id = id; paned.onresize = undefined; paned.parent =... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/737cbaf83d84c17cd17f1c4c7d6d6aaf1da87b7a/hop-paned.js/buggy/share/hop-paned.js |
function hop_node_eval( node ) { | function hop_node_eval( node, text ) { | function hop_node_eval( node ) { var res; var scripts = node.getElementsByTagName( "script" ); for ( var j = 0; j < scripts.length; j++ ) { if( scripts[ j ].childNodes.length > 0 ) { res = eval( scripts[ j ].childNodes[ 0 ].nodeValue ); } } return res;} | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/0f13875c170bf295e968ddf1b168f1b43c73a3ad/hop.js/clean/share/hop.js |
for ( var j = 0; j < scripts.length; j++ ) { if( scripts[ j ].childNodes.length > 0 ) { res = eval( scripts[ j ].childNodes[ 0 ].nodeValue ); | if( scripts.length > 0 ) { for ( var j = 0; j < scripts.length; j++ ) { if( scripts[ j ].childNodes.length > 0 ) { res = eval( scripts[ j ].childNodes[ 0 ].nodeValue ); } } } else { var script = text.match( /<script[^>]*>/i ); if( script != null ) { /* I don't why yet, IE 7 does not include SCRIPT nodes */ /* in the r... | function hop_node_eval( node ) { var res; var scripts = node.getElementsByTagName( "script" ); for ( var j = 0; j < scripts.length; j++ ) { if( scripts[ j ].childNodes.length > 0 ) { res = eval( scripts[ j ].childNodes[ 0 ].nodeValue ); } } return res;} | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/0f13875c170bf295e968ddf1b168f1b43c73a3ad/hop.js/clean/share/hop.js |
var np = ((notepad instanceof HTMLElement) || (notepad instanceof Object && notepad.propertyIsEnumerable( "innerHTML" ))) | var np = hop_isHTMLElement( notepad ) | function hop_notepad_inline( notepad, tab ) { var found = 0; var np = ((notepad instanceof HTMLElement) || (notepad instanceof Object && notepad.propertyIsEnumerable( "innerHTML" ))) ? notepad : document.getElementById( notepad ); var ta = ((tab instanceof HTMLElement) || (tab instance... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/d6084b08745dad0eb19b44957aabebface67a1ec/hop-notepad.js/buggy/share/hop-notepad.js |
var ta = ((tab instanceof HTMLElement) || (tab instanceof Object && tab.propertyIsEnumerable( "innerHTML" ))) | var ta = hop_isHTMLElement( tab ) | function hop_notepad_inline( notepad, tab ) { var found = 0; var np = ((notepad instanceof HTMLElement) || (notepad instanceof Object && notepad.propertyIsEnumerable( "innerHTML" ))) ? notepad : document.getElementById( notepad ); var ta = ((tab instanceof HTMLElement) || (tab instance... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/d6084b08745dad0eb19b44957aabebface67a1ec/hop-notepad.js/buggy/share/hop-notepad.js |
var np = (notepad instanceof HTMLElement) ? notepad : document.getElementById( notepad ); var ta = (tab instanceof HTMLElement) ? tab : document.getElementById( tab ); | var np = ((notepad instanceof HTMLElement) || (notepad instanceof Object && notepad.propertyIsEnumerable( "innerHTML" ))) ? notepad : document.getElementById( notepad ); var ta = ((tab instanceof HTMLElement) || (tab instanceof Object && tab.propertyIsEnumerable( "innerHTML" ))) ? tab : document.getElementById( tab ); | function hop_notepad_inline( notepad, tab ) { var found = 0; var np = (notepad instanceof HTMLElement) ? notepad : document.getElementById( notepad ); var ta = (tab instanceof HTMLElement) ? tab : document.getElementById( tab ); var i; for( i = 0; i < np.childNodes.length; i++ ) { var c = np.ch... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/58470c250b2dc3f6e6c18ee5d1d84bb163d47284/hop-notepad.js/clean/share/hop-notepad.js |
function hop_notepad_inline( tab, ghost, notepad ) { var np = document.getElementById( notepad ); | function hop_notepad_inline( notepad, tab ) { var found = 0; var np = (notepad instanceof HTMLElement) ? notepad : document.getElementById( notepad ); var ta = (tab instanceof HTMLElement) ? tab : document.getElementById( tab ); var i; | function hop_notepad_inline( tab, ghost, notepad ) { var np = document.getElementById( notepad ); for( i = 0; i < np.childNodes.length; i++ ) { var c = np.childNodes[ i ]; var c2; if( c.className == "hop-notepad-tabs" ) { for( j = 0; j < c.childNodes.length; j++ ) { c2 = c.childNodes[ j ]; i... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7a8fe2e7c3da21b722cbd59ca55b8e707b805278/hop-notepad.js/clean/share/hop-notepad.js |
if( c2.id == tab ) { | if( c2 == ta ) { | function hop_notepad_inline( tab, ghost, notepad ) { var np = document.getElementById( notepad ); for( i = 0; i < np.childNodes.length; i++ ) { var c = np.childNodes[ i ]; var c2; if( c.className == "hop-notepad-tabs" ) { for( j = 0; j < c.childNodes.length; j++ ) { c2 = c.childNodes[ j ]; i... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7a8fe2e7c3da21b722cbd59ca55b8e707b805278/hop-notepad.js/clean/share/hop-notepad.js |
if( c2.id == ghost ) { | if( j == found ) { | function hop_notepad_inline( tab, ghost, notepad ) { var np = document.getElementById( notepad ); for( i = 0; i < np.childNodes.length; i++ ) { var c = np.childNodes[ i ]; var c2; if( c.className == "hop-notepad-tabs" ) { for( j = 0; j < c.childNodes.length; j++ ) { c2 = c.childNodes[ j ]; i... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7a8fe2e7c3da21b722cbd59ca55b8e707b805278/hop-notepad.js/clean/share/hop-notepad.js |
var tabs = np.childNodes[ 1 ]; var bodies = np.childNodes[ 2 ]; | var tabs = null; var bodies = null; var i; for( i = 0; i < np.childNodes.length; i++ ) { if( np.childNodes[ i ].className == "hop-notepad-body" ) { bodies = np.childNodes[ i ]; if( tabs != null ) break; } if( np.childNodes[ i ].className == "hop-notepad-tabs" ) { tabs = np.childNodes[ i ]; if( bodies !=null ) break; }... | function hop_notepad_inner_select( np, to ) { var tabs = np.childNodes[ 1 ]; var bodies = np.childNodes[ 2 ]; /* at creation time, tab 0 is active */ if( np.active_tab == undefined ) np.active_tab = 0; /* invoke remote tab */ if( tabs.childNodes[ to ].lang == "delay" ) { hop( np.onkeyup()( to ), fun... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/a7285808c8ef0ca287654227a284151a9ce63dd8/hop-notepad.js/buggy/share/hop-notepad.js |
tabs.childNodes[ np.active_tab ].className = "hop-nptab-inactive"; | tabs.childNodes[ np.active_tab ].className = "hop-nptab-inactive hop-notepad-nptab"; | function hop_notepad_inner_toggle( np, to, tabs, bodies ) { /* disactive last selected tab */ tabs.childNodes[ np.active_tab ].className = "hop-nptab-inactive"; bodies.childNodes[ np.active_tab ].style.display = "none"; /* active the new selected tab */ tabs.childNodes[ to ].className = "hop-nptab-active"; ... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/fbea5e418d46bffe42d74842ad9995a73e5f01e1/hop-notepad.js/buggy/share/hop-notepad.js |
tabs.childNodes[ to ].className = "hop-nptab-active"; | tabs.childNodes[ to ].className = "hop-nptab-active hop-notepad-nptab"; | function hop_notepad_inner_toggle( np, to, tabs, bodies ) { /* disactive last selected tab */ tabs.childNodes[ np.active_tab ].className = "hop-nptab-inactive"; bodies.childNodes[ np.active_tab ].style.display = "none"; /* active the new selected tab */ tabs.childNodes[ to ].className = "hop-nptab-active"; ... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/fbea5e418d46bffe42d74842ad9995a73e5f01e1/hop-notepad.js/buggy/share/hop-notepad.js |
tabs.childNodes[ np.active_tab ].className = "hop-nptab-inactive hop-nptab"; | tabs.childNodes[ np.active_tab ].className = " hop-nptab hop-nptab-inactive"; | function hop_notepad_inner_toggle( np, to, tabs, bodies ) { /* disactive last selected tab */ tabs.childNodes[ np.active_tab ].className = "hop-nptab-inactive hop-nptab"; bodies.childNodes[ np.active_tab ].style.display = "none"; /* active the new selected tab */ tabs.childNodes[ to ].className = "hop-nptab-a... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-notepad.js/clean/share/hop-notepad.js |
tabs.childNodes[ to ].className = "hop-nptab-active hop-nptab"; | tabs.childNodes[ to ].className = "hop-nptab hop-nptab-active"; | function hop_notepad_inner_toggle( np, to, tabs, bodies ) { /* disactive last selected tab */ tabs.childNodes[ np.active_tab ].className = "hop-nptab-inactive hop-nptab"; bodies.childNodes[ np.active_tab ].style.display = "none"; /* active the new selected tab */ tabs.childNodes[ to ].className = "hop-nptab-a... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-notepad.js/clean/share/hop-notepad.js |
tabs.childNodes[ np.active_tab ].className = "hop-nptab-inactive hop-notepad-nptab"; | tabs.childNodes[ np.active_tab ].className = "hop-nptab-inactive hop-nptab"; | function hop_notepad_inner_toggle( np, to, tabs, bodies ) { /* disactive last selected tab */ tabs.childNodes[ np.active_tab ].className = "hop-nptab-inactive hop-notepad-nptab"; bodies.childNodes[ np.active_tab ].style.display = "none"; /* active the new selected tab */ tabs.childNodes[ to ].className = "hop... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/50d23244ae8f05017ea74699cae93b1b1fcadba6/hop-notepad.js/buggy/share/hop-notepad.js |
tabs.childNodes[ to ].className = "hop-nptab-active hop-notepad-nptab"; | tabs.childNodes[ to ].className = "hop-nptab-active hop-nptab"; | function hop_notepad_inner_toggle( np, to, tabs, bodies ) { /* disactive last selected tab */ tabs.childNodes[ np.active_tab ].className = "hop-nptab-inactive hop-notepad-nptab"; bodies.childNodes[ np.active_tab ].style.display = "none"; /* active the new selected tab */ tabs.childNodes[ to ].className = "hop... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/50d23244ae8f05017ea74699cae93b1b1fcadba6/hop-notepad.js/buggy/share/hop-notepad.js |
var np = ((notepad instanceof HTMLElement) || (notepad instanceof Object && notepad.propertyIsEnumerable( "innerHTML" ))) | var np = hop_isHTMLElement( notepad ) | function hop_notepad_remote( service, notepad, tab ) { var success = function( http ) { if( http.responseText != null ) { var found = 0; var np = ((notepad instanceof HTMLElement) || (notepad instanceof Object && notepad.propertyIsEnumerable( "innerHTML" ))) ? notepad : document.getElementB... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/d6084b08745dad0eb19b44957aabebface67a1ec/hop-notepad.js/buggy/share/hop-notepad.js |
var ta = ((tab instanceof HTMLElement) || (tab instanceof Object && tab.propertyIsEnumerable( "innerHTML" ))) | var ta = hop_isHTMLElement( tab ) | function hop_notepad_remote( service, notepad, tab ) { var success = function( http ) { if( http.responseText != null ) { var found = 0; var np = ((notepad instanceof HTMLElement) || (notepad instanceof Object && notepad.propertyIsEnumerable( "innerHTML" ))) ? notepad : document.getElementB... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/d6084b08745dad0eb19b44957aabebface67a1ec/hop-notepad.js/buggy/share/hop-notepad.js |
var np = (notepad instanceof HTMLElement) ? notepad : document.getElementById( notepad ); var ta = (tab instanceof HTMLElement) ? tab : document.getElementById( tab ); | var np = ((notepad instanceof HTMLElement) || (notepad instanceof Object && notepad.propertyIsEnumerable( "innerHTML" ))) ? notepad : document.getElementById( notepad ); var ta = ((tab instanceof HTMLElement) || (tab instanceof Object && tab.propertyIsEnumerable( "innerHTML" ))) ? tab : document.getElementById( tab ); | function hop_notepad_remote( service, notepad, tab ) { var success = function( http ) { if( http.responseText != null ) { var found = 0; var np = (notepad instanceof HTMLElement) ? notepad : document.getElementById( notepad ); var ta = (tab instanceof HTMLElement) ? tab : document.getElementById( tab ... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/58470c250b2dc3f6e6c18ee5d1d84bb163d47284/hop-notepad.js/clean/share/hop-notepad.js |
function hop_notepad_remote( service, tab, ghost, notepad ) { | function hop_notepad_remote( service, notepad, tab ) { | function hop_notepad_remote( service, tab, ghost, notepad ) { var success = function( http ) { if( http.responseText != null ) { var np = document.getElementById( notepad ); for( i = 0; i < np.childNodes.length; i++ ) { var c = np.childNodes[ i ]; if( c.className == "hop-notepad-tabs" ) { for( j... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7a8fe2e7c3da21b722cbd59ca55b8e707b805278/hop-notepad.js/clean/share/hop-notepad.js |
var np = document.getElementById( notepad ); | var found = 0; var np = (notepad instanceof HTMLElement) ? notepad : document.getElementById( notepad ); var ta = (tab instanceof HTMLElement) ? tab : document.getElementById( tab ); var i; | function hop_notepad_remote( service, tab, ghost, notepad ) { var success = function( http ) { if( http.responseText != null ) { var np = document.getElementById( notepad ); for( i = 0; i < np.childNodes.length; i++ ) { var c = np.childNodes[ i ]; if( c.className == "hop-notepad-tabs" ) { for( j... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7a8fe2e7c3da21b722cbd59ca55b8e707b805278/hop-notepad.js/clean/share/hop-notepad.js |
if( c2.id == tab ) { | if( c2 = ta ) { | function hop_notepad_remote( service, tab, ghost, notepad ) { var success = function( http ) { if( http.responseText != null ) { var np = document.getElementById( notepad ); for( i = 0; i < np.childNodes.length; i++ ) { var c = np.childNodes[ i ]; if( c.className == "hop-notepad-tabs" ) { for( j... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7a8fe2e7c3da21b722cbd59ca55b8e707b805278/hop-notepad.js/clean/share/hop-notepad.js |
hop( service( tab ), success); | if( !notepad.remote_service ) notepad.remote_service = service; hop( service( tab ), success ); | function hop_notepad_remote( service, tab, ghost, notepad ) { var success = function( http ) { if( http.responseText != null ) { var np = document.getElementById( notepad ); for( i = 0; i < np.childNodes.length; i++ ) { var c = np.childNodes[ i ]; if( c.className == "hop-notepad-tabs" ) { for( j... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7a8fe2e7c3da21b722cbd59ca55b8e707b805278/hop-notepad.js/clean/share/hop-notepad.js |
var notepad = ((id1 instanceof HTMLElement) || (id1 instanceof Object && id1.propertyIsEnumerable( "innerHTML" ))) | var notepad = hop_isHTMLElement( id1 ) | function hop_notepad_select( id1, id2 ) { var notepad = ((id1 instanceof HTMLElement) || (id1 instanceof Object && id1.propertyIsEnumerable( "innerHTML" ))) ? id1 : document.getElementById( id1 ); var tab = ((id2 instanceof HTMLElement) || (id2 instanceof Object && id2.propertyIs... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/d6084b08745dad0eb19b44957aabebface67a1ec/hop-notepad.js/buggy/share/hop-notepad.js |
var tab = ((id2 instanceof HTMLElement) || (id2 instanceof Object && id2.propertyIsEnumerable( "innerHTML" ))) | var tab = hop_isHTMLElement( id2 ) | function hop_notepad_select( id1, id2 ) { var notepad = ((id1 instanceof HTMLElement) || (id1 instanceof Object && id1.propertyIsEnumerable( "innerHTML" ))) ? id1 : document.getElementById( id1 ); var tab = ((id2 instanceof HTMLElement) || (id2 instanceof Object && id2.propertyIs... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/d6084b08745dad0eb19b44957aabebface67a1ec/hop-notepad.js/buggy/share/hop-notepad.js |
var notepad = (id1 instanceof HTMLElement) ? id1 : document.getElementById( id1 ); var tab = (id2 instanceof HTMLElement) ? id2 : document.getElementById( id2 ); | var notepad = ((id1 instanceof HTMLElement) || (id1 instanceof Object && id1.propertyIsEnumerable( "innerHTML" ))) ? id1 : document.getElementById( id1 ); var tab = ((id2 instanceof HTMLElement) || (id2 instanceof Object && id2.propertyIsEnumerable( "innerHTML" ))) ? id2 : document.getElementById( id2 ); | function hop_notepad_select( id1, id2 ) { var notepad = (id1 instanceof HTMLElement) ? id1 : document.getElementById( id1 ); var tab = (id2 instanceof HTMLElement) ? id2 : document.getElementById( id2 ); if( notepad.remote_service != null ) { hop_notepad_remote( notepad.remote_service, notepad, tab... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/58470c250b2dc3f6e6c18ee5d1d84bb163d47284/hop-notepad.js/clean/share/hop-notepad.js |
if (win.inFrame) { document.getElementById(iframe).style.display= "none"; el.style.opacity= 0.8; } | el.style.opacity= 0.8; | function hop_open_float_window(serv, id, x, y){ var win = document.getElementById(id); var h = document.getElementById(id + "-handle"); var el = document.getElementById(id + "-content"); var iframe = id + "-frame"; function change_style() { win.style.display = "block"; win.style.left = x; win... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/79884d39bb3ebe81f6eb6fd4fc692d536ca815da/hop-window.js/clean/share/hop-window.js |
var sz = compute_height() + "px"; | var id = (win.inFrame) ? iframe : around; var tmp = document.getElementById(id); var sz = compute_height() + "px"; tmp.style.display= "block"; tmp.style.height = sz; | function hop_open_float_window(serv, id, x, y){ var win = document.getElementById(id); var h = document.getElementById(id + "-handle"); var el = document.getElementById(id + "-content"); var iframe = id + "-frame"; function change_style() { win.style.display = "block"; win.style.left = x; win... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/79884d39bb3ebe81f6eb6fd4fc692d536ca815da/hop-window.js/clean/share/hop-window.js |
if (win.inFrame) { var ifrm = document.getElementById(iframe); ifrm.style.display= "block"; ifrm.style.height = sz; el.style.opacity= 1; } | el.style.opacity= 1; | function hop_open_float_window(serv, id, x, y){ var win = document.getElementById(id); var h = document.getElementById(id + "-handle"); var el = document.getElementById(id + "-content"); var iframe = id + "-frame"; function change_style() { win.style.display = "block"; win.style.left = x; win... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/79884d39bb3ebe81f6eb6fd4fc692d536ca815da/hop-window.js/clean/share/hop-window.js |
el.innerHTML = http.responseText; | document.getElementById(around).innerHTML = http.responseText; | function hop_open_float_window(serv, id, x, y){ var win = document.getElementById(id); var h = document.getElementById(id + "-handle"); var el = document.getElementById(id + "-content"); var iframe = id + "-frame"; function change_style() { win.style.display = "block"; win.style.left = x; win... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/79884d39bb3ebe81f6eb6fd4fc692d536ca815da/hop-window.js/clean/share/hop-window.js |
"src='" + "http: | "src='" + serv + "' " + | function hop_open_float_window(serv, id, x, y){ var win = document.getElementById(id); var h = document.getElementById(id + "-handle"); var el = document.getElementById(id + "-content"); function change_style() { win.style.display = "block"; win.style.left = x; win.style.top = y; win.style.zIndex = ++Dr... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/3bdb5be9dddb9a00b7be44f687f4976f503e2cdc/webconf.js/buggy/weblets/webconf/webconf.js |
if (serv == null) { change_style(); return } | function hop_open_float_window(serv, id, x, y){ var win = document.getElementById(id); var h = document.getElementById(id + "-handle"); var el = document.getElementById(id + "-content"); function change_style() { win.style.display = "block"; win.style.left = x; win.style.top = y; win.style.zIndex = ++Ho... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/3096f4438a1f8bb9ec65f0d89f78cb574d23c9c9/hop-window.js/buggy/share/hop-window.js | |
function hop_open_float_window(serv, e, x, y) | function hop_open_float_window(serv, e, x, y, inframe) | function hop_open_float_window(serv, e, x, y){ var win = (e instanceof HTMLDivElement) ? e : document.getElementById(e); var id = (e instanceof HTMLDivElement) ? e.id : e; var h = document.getElementById(id + "-handle"); var el = document.getElementById(id + "-content"); var around = id +... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/44a7a4372c75f39f08ae0e260a69f5a783412465/hop-window.js/buggy/share/hop-window.js |
hop_float_window_init(id, true); | hop_float_window_init(id, inframe); | function hop_open_float_window(serv, e, x, y){ var win = (e instanceof HTMLDivElement) ? e : document.getElementById(e); var id = (e instanceof HTMLDivElement) ? e.id : e; var h = document.getElementById(id + "-handle"); var el = document.getElementById(id + "-content"); var around = id +... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/44a7a4372c75f39f08ae0e260a69f5a783412465/hop-window.js/buggy/share/hop-window.js |
hop(serv, function( http ) { var win = document.getElementById(id); var h = document.getElementById(id + "-handle"); var el = document.getElementById(id + "-content"); if (http.responseText != null) { el.innerHTML = http.responseText; hop_js_eval( http ); win.style.display = "block"; Drag.init(h, win); win.style.le... | var win = document.getElementById(id); var h = document.getElementById(id + "-handle"); var el = document.getElementById(id + "-content"); function change_style() { win.style.display = "block"; win.style.left = x; win.style.top = y; win.style.zIndex = ++Drag.zIndex; } function compute_height() { var shadow_height... | function hop_open_float_window(serv, id, x, y){ hop(serv, function( http ) { var win = document.getElementById(id); var h = document.getElementById(id + "-handle"); var el = document.getElementById(id + "-content"); if (http.responseText != null) { el.innerHTML = http.responseText; ... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/f407cff01a2b1afdae1bacfe7c1673bba412f8e8/webconf.js/clean/weblets/webconf/webconf.js |
for( var p in window ) { | for( var p in obj ) { | function hop_properties_to_string( obj ) { var res = ""; var i = 0; for( var p in window ) { if( i == 10 ) { res += p + "\n"; i = 0; } else { i++; res += p + " "; } } return res;} | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/cd1d820b4143767335607e576824f8a32124e681/hop-autoconf.js/buggy/share/hop-autoconf.js |
return obj.detachEvent( "on" + event, proc ); | var i = "on" + event + "hdl"; var proc = obj[ i ][ proc ]; if( proc != undefined ) { obj[ i ][ proc ] = undefined; return obj.detachEvent( "on" + event, proc ); } | hop_remove_event_listener = function( obj, event, proc, capture ) { return obj.detachEvent( "on" + event, proc ); } | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/a6ed8e1dacfac579593af3fc5dd75eae78ef2b2f/hop-autoconf.js/clean/share/hop-autoconf.js |
if( hop_request_env_string == null ) { | if( (hop_request_env_string == null) || (hop_request_env_string.length == 0) ) { | function hop_serialize_request_env() { if( hop_request_env_string == null ) { var tmp = null; for( var p in hop_request_env ) { if( typeof hop_request_env[ p ] != "function" ) { tmp = sc_cons( sc_cons( p, hop_request_env[ p ] ) ); } } hop_request_env_string = hop_serialize( tmp ); } ... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/1b79146d26f8e224da67c34807daa7a43651d476/hop.js/buggy/share/hop.js |
return service; | return service + "?hop-encoding=hop"; | function hop_service_url( service, formals, args ) { var len = formals.length; if( len == 0 ) { return service; } else { var url = service + "?hop-encoding=hop"; var i; if( (args.length == 1) && (HTMLFormElement != undefined) && (args[ 0 ] instanceof HTMLFormElement) ) { var els = args[ 0... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/72dc2674accfb13db2104f6667872cff1ba3ab10/hop.js/buggy/share/hop.js |
val = ((e.clientX - hop_element_x( slider )) / slider.offsetWidth) | /* val = ((e.clientX - hop_element_x( slider )) / slider.offsetWidth) */ /* * (slider.max - slider.min); */ val = ((hop_event_mouse_x( e ) - hop_element_x( slider )) / slider.offsetWidth) | function hop_slider_mousemove( e, slider ) { var val; val = ((e.clientX - hop_element_x( slider )) / slider.offsetWidth) * (slider.max - slider.min); hop_slider_value_set( slider, Math.round( val ) + slider.min );} | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/c1573df9e324193c5522cd1c1d4885de3faa3930/hop-slider.js/clean/share/hop-slider.js |
function hop_sorttable_sort( lnk ) { var td = lnk.parentNode; var arrow = lnk.lastChild; var column = td.cellIndex; var table = get_parent( td, 'TABLE' ); if( table.rows.length <= 1 ) return; SORT_COLUMN_INDEX = column; var newRows = new Array(); var itm = hop_sorttable_getInnerText( table.rows[1].cells... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/50d23244ae8f05017ea74699cae93b1b1fcadba6/hop-sorttable.js/buggy/share/hop-sorttable.js | ||
if( typeof l == "string" ) { | if( (typeof l == "string") && (l != '') ) { | function hop_sorttable_sort( lnk ) { var td = lnk.parentNode; var arrow = lnk.lastChild; var column = td.cellIndex; var table = get_parent( td, 'TABLE' ); if( table.rows.length <= 1 ) return; SORT_COLUMN_INDEX = column; var newRows = new Array(); var itm = hop_sorttable_getInnerText( table.rows[1].cells... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/50d23244ae8f05017ea74699cae93b1b1fcadba6/hop-sorttable.js/buggy/share/hop-sorttable.js |
function hop_sorttable_sort( lnk ) { var td = lnk.parentNode; var arrow = lnk.lastChild; var column = td.cellIndex; var table = get_parent( td, 'TABLE' ); if( table.rows.length <= 1 ) return; SORT_COLUMN_INDEX = column; var newRows = new Array(); var itm = hop_sorttable_getInnerText( table.rows[1].cells... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/50d23244ae8f05017ea74699cae93b1b1fcadba6/hop-sorttable.js/buggy/share/hop-sorttable.js | ||
function hop_sorttable_sort( lnk ) { var td = lnk.parentNode; var arrow = lnk.lastChild; var column = td.cellIndex; var table = get_parent( td, 'TABLE' ); if( table.rows.length <= 1 ) return; SORT_COLUMN_INDEX = column; var newRows = new Array(); var itm = hop_sorttable_getInnerText( table.rows[1].cells... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/50d23244ae8f05017ea74699cae93b1b1fcadba6/hop-sorttable.js/buggy/share/hop-sorttable.js | ||
table.arrow = arrow; | function hop_sorttable_sort( lnk ) { var td = lnk.parentNode; var arrow = lnk.lastChild; var column = td.cellIndex; var table = get_parent( td, 'TABLE' ); if( table.rows.length <= 1 ) return; SORT_COLUMN_INDEX = column; var newRows = new Array(); var itm = hop_sorttable_getInnerText( table.rows[1].cells... | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/b0437a3b760258723ea3639dedeb8983f5e9c448/hop-sorttable.js/clean/share/hop-sorttable.js | |
hop_stop_propagation = function( event ) { event.cancelBubble = true; | hop_stop_propagation = function( event, def ) { if( !def ) event.cancelBubble = true; | hop_stop_propagation = function( event ) { event.cancelBubble = true; event.returnValue = false; } | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/a5885c4f387ca910d1165311dda90ff87b269b79/hop-autoconf.js/clean/share/hop-autoconf.js |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.