rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 13 136k | meta stringlengths 132 347 |
|---|---|---|---|
onStateChange: Class.empty | evalResponse: false, method: 'post' | moreOptions: function(){ return { postBody: null, update: null, evalScripts: false, onStateChange: Class.empty }; }, | 5409 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5409/ee45bcbdda9f41e1d047aeccacc4bf8768c2c67b/Ajax.js/buggy/Remote/Ajax.js |
onStateChange: Class.empty | evalResponse: false, method: 'post' | moreOptions: function(){ return { postBody: null, update: null, evalScripts: false, onStateChange: Class.empty }; }, | 6991 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6991/ee45bcbdda9f41e1d047aeccacc4bf8768c2c67b/Ajax.js/clean/Remote/Ajax.js |
morse: function() { if( Morse.running) { // select random letter Morse.morsenowindex = Math.round((Morse.code.length - 1)*Math.random()); // show in background var morse_mybodys = window.content.document.getElementsByTagName("body"); if( morse_mybodys.length > 0) { // foreach body for( var morse_i ... | 8618 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8618/19c99b4fa7d7501560e573d2b1e1c428c058e2c6/overlay.js/clean/src/content/overlay.js | ||
"setup bg input " + value( 'mosaic_bg_input' ) + "\n"; | "setup bg input " + sanitize_input( value( 'mosaic_bg_input' ) ) + "\n"; | function mosaic_code_update(){ var code = document.getElementById( 'mosaic_code' ); code.value ="##################################\n"+"## HTTP interface mosaic wizard ##\n"+"##################################\n"+"\n"+"# Comment the following line if you don't want to reset your VLM configuration\n"+"del all\n"+"... | 1058 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1058/1069842422c60a1496592abe8e6a37e8482831e9/mosaic.js/buggy/share/http/js/mosaic.js |
"setup " + s + " input " + streams[s] + "\n"+ | "setup " + s + " input " + sanitize_input( streams[s] ) + "\n"+ | function mosaic_code_update(){ var code = document.getElementById( 'mosaic_code' ); code.value ="##################################\n"+"## HTTP interface mosaic wizard ##\n"+"##################################\n"+"\n"+"# Comment the following line if you don't want to reset your VLM configuration\n"+"del all\n"+"... | 1058 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1058/1069842422c60a1496592abe8e6a37e8482831e9/mosaic.js/buggy/share/http/js/mosaic.js |
"# Comment the following line if you don't want to reset you VLM configuration\n"+ | "# Comment the following line if you don't want to reset your VLM configuration\n"+ | function mosaic_code_update(){ var code = document.getElementById( 'mosaic_code' ); code.value ="##################################\n"+"## HTTP interface mosaic wizard ##\n"+"##################################\n"+"\n"+"# Comment the following line if you don't want to reset you VLM configuration\n"+"del all\n"+"\... | 1058 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1058/f94136178c6feb8f94d3ae306a1304e9f2ceb4f6/mosaic.js/clean/share/http/js/mosaic.js |
document.getElementById( 'sout_extra' ).value = ",sfilter=mosaic"; | document.getElementById( 'sout_transcode_extra' ).value = ",sfilter=mosaic"; | function mosaic_init(){ document.getElementById( 'sout_extra' ).value = ",sfilter=mosaic"; mosaic_size_change();} | 1058 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1058/07e5db519cd987dc55b6c0f666f24d8868e19aee/mosaic.js/clean/share/http/js/mosaic.js |
/* Force usage of transcode in sout */ document.getElementById( 'sout_vcodec_s' ).checked = 'checked'; disable( 'sout_vcodec_s' ); update_sout(); | function mosaic_init(){ document.getElementById( 'sout_extra' ).value = ",sfilter=mosaic"; mosaic_size_change();} | 1058 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1058/07e5db519cd987dc55b6c0f666f24d8868e19aee/mosaic.js/clean/share/http/js/mosaic.js | |
mdt.setAttribute( 'class', 'mosaic_tbl' ); | setclass( mdt, 'mosaic_tbl' ); | function mosaic_size_change(){ var x,y; var bg_width = check_and_replace_int( "bg_width", "400" ); var bg_height = check_and_replace_int( "bg_height", "300" ); mosaic_height = check_and_replace_int( "mosaic_height", "100" ); mosaic_width = check_and_replace_int( "mosaic_width", "100" ); mosa... | 1058 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1058/610ac485f763ba73af5065423814cbd1fa9131b2/mosaic.js/clean/share/http/js/mosaic.js |
mcell.setAttribute( 'class', 'mosaic_itm' ); | setclass( mcell, 'mosaic_itm' ); | function mosaic_size_change(){ var x,y; var bg_width = check_and_replace_int( "bg_width", "400" ); var bg_height = check_and_replace_int( "bg_height", "300" ); mosaic_height = check_and_replace_int( "mosaic_height", "100" ); mosaic_width = check_and_replace_int( "mosaic_width", "100" ); mosa... | 1058 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1058/610ac485f763ba73af5065423814cbd1fa9131b2/mosaic.js/clean/share/http/js/mosaic.js |
var melt = document.createElement( 'input' ); melt.setAttribute( 'type', 'button' ); | function mosaic_size_change(){ var x,y; var bg_width = check_and_replace_int( "bg_width", "400" ); var bg_height = check_and_replace_int( "bg_height", "300" ); mosaic_height = check_and_replace_int( "mosaic_height", "100" ); mosaic_width = check_and_replace_int( "mosaic_width", "100" ); mosa... | 1058 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1058/610ac485f763ba73af5065423814cbd1fa9131b2/mosaic.js/clean/share/http/js/mosaic.js | |
melt.setAttribute( 'onclick', 'mosaic_elt_choose(\''+id+'\');' ); if( cells[id] ) melt.setAttribute( 'value', cells[id] ); else melt.setAttribute( 'value', '?' ); | function mosaic_size_change(){ var x,y; var bg_width = check_and_replace_int( "bg_width", "400" ); var bg_height = check_and_replace_int( "bg_height", "300" ); mosaic_height = check_and_replace_int( "mosaic_height", "100" ); mosaic_width = check_and_replace_int( "mosaic_width", "100" ); mosa... | 1058 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1058/610ac485f763ba73af5065423814cbd1fa9131b2/mosaic.js/clean/share/http/js/mosaic.js | |
/* TODO: keep 'common' cells when resizing */ | function mosaic_size_change(){ var x,y; var bg_width = check_and_replace_int( "bg_width", "400" ); var bg_height = check_and_replace_int( "bg_height", "300" ); mosaic_height = check_and_replace_int( "mosaic_height", "100" ); mosaic_width = check_and_replace_int( "mosaic_width", "100" ); mosa... | 1058 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1058/4dfd839aff9cfb0e3cd0e30b92e60af388bb0fc7/mosaic.js/buggy/share/http/js/mosaic.js | |
mtable.appendChild( mrow ); | mtbody.appendChild( mrow ); | function mosaic_size_change(){ var x,y; var bg_width = check_and_replace_int( "bg_width", "400" ); var bg_height = check_and_replace_int( "bg_height", "300" ); mosaic_height = check_and_replace_int( "mosaic_height", "100" ); mosaic_width = check_and_replace_int( "mosaic_width", "100" ); mosa... | 1058 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1058/4dfd839aff9cfb0e3cd0e30b92e60af388bb0fc7/mosaic.js/buggy/share/http/js/mosaic.js |
mtable.appendChild( mtbody ); | function mosaic_size_change(){ var x,y; var bg_width = check_and_replace_int( "bg_width", "400" ); var bg_height = check_and_replace_int( "bg_height", "300" ); mosaic_height = check_and_replace_int( "mosaic_height", "100" ); mosaic_width = check_and_replace_int( "mosaic_width", "100" ); mosa... | 1058 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1058/4dfd839aff9cfb0e3cd0e30b92e60af388bb0fc7/mosaic.js/buggy/share/http/js/mosaic.js | |
HTMLImageElement.prototype.mousedown = function() { var evt = this.ownerDocument.createEvent('MouseEvents'); evt.initMouseEvent('mousedown', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null); this.dispatchEvent(evt); } | windowObject.HTMLImageElement.prototype.mousedown = function() { var evt = this.ownerDocument.createEvent('MouseEvents'); evt.initMouseEvent('mousedown', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null); this.dispatchEvent(evt); } | HTMLImageElement.prototype.mousedown = function() { var evt = this.ownerDocument.createEvent('MouseEvents'); evt.initMouseEvent('mousedown', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null); this.dispatchEvent(ev... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/40101f37ab8b5f25202111634151140a0768541b/selenium-browserbot.js/clean/javascript/selenium-browserbot.js |
HTMLImageElement.prototype.mousedown = function() { var evt = this.ownerDocument.createEvent('MouseEvents'); evt.initMouseEvent('mousedown', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null); this.dispatchEvent(evt); } | windowObject.HTMLImageElement.prototype.mousedown = function() { var evt = this.ownerDocument.createEvent('MouseEvents'); evt.initMouseEvent('mousedown', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null); this.dispatchEvent(evt); } | HTMLImageElement.prototype.mousedown = function() { var evt = this.ownerDocument.createEvent('MouseEvents'); evt.initMouseEvent('mousedown', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null); this.dispatchEvent(ev... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/a571d0ab29c9c650dde37a79dcc38968ddf4302c/selenium-browserbot.js/clean/javascript/selenium-browserbot.js |
while (target != div && target != document.documentElement) { | while (target != div && target != null) { | OpenLayers.Util.mouseLeft = function (evt, div) { // start with the element to which the mouse has moved var target = (evt.relatedTarget) ? evt.relatedTarget : evt.toElement; // walk up the DOM tree. while (target != div && target != document.documentElement) { target = target.parentNode; } // ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/b9ab087d32c7dbffbae0a2152a141c480c0b835b/Util.js/buggy/lib/OpenLayers/Util.js |
while (target != div && target != document.documentElement) { | while (target != div && target != null) { | OpenLayers.Util.mouseLeft = function (evt, div) { // start with the element to which the mouse has moved var target = (evt.relatedTarget) ? evt.relatedTarget : evt.toElement; // walk up the DOM tree. while (target != div && target != document.documentElement) { target = target.parentNode; } // ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/b9ab087d32c7dbffbae0a2152a141c480c0b835b/Util.js/clean/lib/OpenLayers/Util.js |
fb.mousemove = function (event) { // Get coordinates relative to color picker center var pos = fb.widgetCoords(event); // Set new HSL parameters if (fb.circleDrag) { var hue = Math.atan2(pos.x, -pos.y) / 6.28; if (hue < 0) hue += 1; fb.setHSL([hue, fb.hsl[1], fb.hsl[2]]); } else { var... | 3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/49f6f3bf71daf78f75c731db626a40f2284838b2/farbtastic.js/buggy/misc/farbtastic/farbtastic.js | ||
var hue = Math.atan2(pos.x, -pos.y) / 6.28; if (hue < 0) hue += 1; fb.setHSL([hue, fb.hsl[1], fb.hsl[2]]); | var hue = Math.atan2(pos.x, -pos.y) / 6.28; if (hue < 0) hue += 1; fb.setHSL([hue, fb.hsl[1], fb.hsl[2]]); | fb.mousemove = function (event) { // Get coordinates relative to color picker center var pos = fb.widgetCoords(event); // Set new HSL parameters if (fb.circleDrag) { var hue = Math.atan2(pos.x, -pos.y) / 6.28; if (hue < 0) hue += 1; fb.setHSL([hue, fb.hsl[1], fb.hsl[2]]); } else { var... | 3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/49f6f3bf71daf78f75c731db626a40f2284838b2/farbtastic.js/buggy/misc/farbtastic/farbtastic.js |
var sat = Math.max(0, Math.min(1, -(pos.x / fb.square) + .5)); var lum = Math.max(0, Math.min(1, -(pos.y / fb.square) + .5)); fb.setHSL([fb.hsl[0], sat, lum]); | var sat = Math.max(0, Math.min(1, -(pos.x / fb.square) + .5)); var lum = Math.max(0, Math.min(1, -(pos.y / fb.square) + .5)); fb.setHSL([fb.hsl[0], sat, lum]); | fb.mousemove = function (event) { // Get coordinates relative to color picker center var pos = fb.widgetCoords(event); // Set new HSL parameters if (fb.circleDrag) { var hue = Math.atan2(pos.x, -pos.y) / 6.28; if (hue < 0) hue += 1; fb.setHSL([hue, fb.hsl[1], fb.hsl[2]]); } else { var... | 3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/49f6f3bf71daf78f75c731db626a40f2284838b2/farbtastic.js/buggy/misc/farbtastic/farbtastic.js |
if( e == undefined ) e = window.event; | var mousemove = function( e ) { if( e == undefined ) e = window.event; hop_vpaned_mousemove( e, paned ); }; | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/6ca73f8db39b31f0ac4e3ee76255a79a86583465/hop-paned.js/clean/share/hop-paned.js | |
var w = w0 + (x0 - hop_mouse_y( event )); | var w = w0 + (x0 - hop_event_mouse_y( event )); | mousemove = function( event ) { 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) ); } | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/156180e2b1a546060c4a495a7b45070e1ebfacec/hop-iwindow.js/buggy/share/hop-iwindow.js |
hop_style_set( win.el_main, "height", h0 + (hop_mouse_y( event ) - y0) ); | hop_style_set( win.el_main, "height", h0 + (hop_event_mouse_y( event ) - y0) ); | mousemove = function( event ) { 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) ); } | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/156180e2b1a546060c4a495a7b45070e1ebfacec/hop-iwindow.js/buggy/share/hop-iwindow.js |
if( e == undefined ) e = window.event; | var mousemove = function( e ) { hop_vpaned_mousemove( e, paned ); }; | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/25d9ce99298d54dd2c4ffab4a9109a8fbab2a981/hop-paned.js/buggy/share/hop-paned.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) ); | mousemove = function( event ) { 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); } | 4636 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/a6ed8e1dacfac579593af3fc5dd75eae78ef2b2f/hop-iwindow.js/buggy/share/hop-iwindow.js |
sourcesDocument.body.style.cursor = "default"; | function moveBreakPoint(event){ if (hasStyleClass(event.target.parentNode, "breakpoint")) { files[currentFile].breakpoints[parseInt(event.target.title)] = 0; draggingBreakpoint = event.target; draggingBreakpoint.started = false; draggingBreakpoint.dragLastY = event.clientY + window.scroll... | 10664 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/98c1cf6f6c32738969ddb4ace85168e572624ea4/debugger.js/buggy/third_party/WebKit/WebKitTools/Drosera/debugger.js | |
if (hasStyleClass(event.target.parentNode, "breakpoint")) { | if (event.target.parentNode.hasStyleClass("breakpoint")) { | function moveBreakPoint(event){ if (hasStyleClass(event.target.parentNode, "breakpoint")) { draggingBreakpoint = event.target; draggingBreakpoint.started = false; draggingBreakpoint.dragLastY = event.clientY + window.scrollY; draggingBreakpoint.dragLastX = event.clientX + window.scrollX; ... | 10664 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/c6fb57961d884bd88831658bfe27448abb9cbe1c/debugger.js/clean/third_party/WebKit/WebKitTools/Drosera/debugger.js |
files[currentFile].breakpoints[parseInt(event.target.title)] = 0; | function moveBreakPoint(event){ if (hasStyleClass(event.target.parentNode, "breakpoint")) { files[currentFile].breakpoints[parseInt(event.target.title)] = 0; draggingBreakpoint = event.target; draggingBreakpoint.started = false; draggingBreakpoint.dragLastY = event.clientY + window.scroll... | 10664 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/d20969b630420cefa62196966e6ccb4895e9fb96/debugger.js/clean/third_party/WebKit/WebKitTools/Drosera/debugger.js | |
function moveHandler(e) {if (!e) e = window.event; | function moveHandler(scwEvt) { if (!scwEvt) scwEvt = window.event; | function moveHandler(e) {if (!e) e = window.event; elementToDrag.style.left = (e.clientX - deltaX) + 'px'; elementToDrag.style.top = (e.clientY - deltaY) + 'px'; if (document.getElementById('scwIframe')) {document.getElementById('scwIframe').style.... | 3685 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3685/b89706561d807feae7791db0e20e011b722cc3cd/scw.js/buggy/webapps/gridsphere/javascript/scw.js |
elementToDrag.style.left = (e.clientX - deltaX) + 'px'; elementToDrag.style.top = (e.clientY - deltaY) + 'px'; | elementToDrag.style.left = (scwEvt.clientX - deltaX) + 'px'; elementToDrag.style.top = (scwEvt.clientY - deltaY) + 'px'; | function moveHandler(e) {if (!e) e = window.event; elementToDrag.style.left = (e.clientX - deltaX) + 'px'; elementToDrag.style.top = (e.clientY - deltaY) + 'px'; if (document.getElementById('scwIframe')) {document.getElementById('scwIframe').style.... | 3685 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3685/b89706561d807feae7791db0e20e011b722cc3cd/scw.js/buggy/webapps/gridsphere/javascript/scw.js |
if (document.getElementById('scwIframe')) {document.getElementById('scwIframe').style.left = (e.clientX - deltaX) + 'px'; document.getElementById('scwIframe').style.top = (e.clientY - deltaY) + 'px'; } | if (scwID('scwIframe')) { scwID('scwIframe').style.left = (scwEvt.clientX - deltaX) + 'px'; scwID('scwIframe').style.top = (scwEvt.clientY - deltaY) + 'px'; } | function moveHandler(e) {if (!e) e = window.event; elementToDrag.style.left = (e.clientX - deltaX) + 'px'; elementToDrag.style.top = (e.clientY - deltaY) + 'px'; if (document.getElementById('scwIframe')) {document.getElementById('scwIframe').style.... | 3685 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3685/b89706561d807feae7791db0e20e011b722cc3cd/scw.js/buggy/webapps/gridsphere/javascript/scw.js |
scwStopPropagation(e); } | scwStopPropagation(scwEvt); } | function moveHandler(e) {if (!e) e = window.event; elementToDrag.style.left = (e.clientX - deltaX) + 'px'; elementToDrag.style.top = (e.clientY - deltaY) + 'px'; if (document.getElementById('scwIframe')) {document.getElementById('scwIframe').style.... | 3685 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3685/b89706561d807feae7791db0e20e011b722cc3cd/scw.js/buggy/webapps/gridsphere/javascript/scw.js |
} else if ( bounds.top > this.getGridBounds().bottom || bounds.left > this.getGridBounds().right || bounds.right < this.getGridBounds().left || bounds.bottom < this.getGridBounds().top ) { | } else if ( bounds.top < gridBounds.bottom || bounds.left > gridBounds.right || bounds.right < gridBounds.left || bounds.bottom > gridBounds.top ) { console.log("else if"); | moveTo:function(bounds,zoomChanged) { if (!this.getVisibility()) { if (zoomChanged) { this.grid = null; } return; } if (!this.grid || zoomChanged) { this._initTiles(); } else if ( bounds.top > this.getGridBounds().bottom || ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/082133730e8d2dd2f1f272bc84ae47f7f48f1685/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
while (this.getGridBounds().bottom > bounds.bottom) { | while (gridBounds.bottom > bounds.bottom) { | moveTo:function(bounds,zoomChanged) { if (!this.getVisibility()) { if (zoomChanged) { this.grid = null; } return; } if (!this.grid || zoomChanged) { this._initTiles(); } else if ( bounds.top > this.getGridBounds().bottom || ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/082133730e8d2dd2f1f272bc84ae47f7f48f1685/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
while (this.getGridBounds().left > bounds.left) { | while (gridBounds.left > bounds.left) { | moveTo:function(bounds,zoomChanged) { if (!this.getVisibility()) { if (zoomChanged) { this.grid = null; } return; } if (!this.grid || zoomChanged) { this._initTiles(); } else if ( bounds.top > this.getGridBounds().bottom || ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/082133730e8d2dd2f1f272bc84ae47f7f48f1685/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
while (this.getGridBounds().top < bounds.top) { | while (gridBounds.top < bounds.top) { | moveTo:function(bounds,zoomChanged) { if (!this.getVisibility()) { if (zoomChanged) { this.grid = null; } return; } if (!this.grid || zoomChanged) { this._initTiles(); } else if ( bounds.top > this.getGridBounds().bottom || ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/082133730e8d2dd2f1f272bc84ae47f7f48f1685/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
while (this.getGridBounds().right < bounds.right) { | while (gridBounds.right < bounds.right) { | moveTo:function(bounds,zoomChanged) { if (!this.getVisibility()) { if (zoomChanged) { this.grid = null; } return; } if (!this.grid || zoomChanged) { this._initTiles(); } else if ( bounds.top > this.getGridBounds().bottom || ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/082133730e8d2dd2f1f272bc84ae47f7f48f1685/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
if (tlViewPort.x > -this.tileSize.w * (this.buffer - 1)) { | if (tlViewPort.x > -this.tileSize.w * (buffer - 1)) { | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this, arguments); if (bounds == null) { bounds = this.map.getExtent(); } if (bounds != null) { if (!this.grid.length || zoomChanged || !this.... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/7e9eef8d075fa88068923404fa67c84bba79643e/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
} else if (tlViewPort.x < -this.tileSize.w * this.buffer) { | } else if (tlViewPort.x < -this.tileSize.w * buffer) { | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this, arguments); if (bounds == null) { bounds = this.map.getExtent(); } if (bounds != null) { if (!this.grid.length || zoomChanged || !this.... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/7e9eef8d075fa88068923404fa67c84bba79643e/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
} else if (tlViewPort.y > -this.tileSize.h * (this.buffer - 1)) { | } else if (tlViewPort.y > -this.tileSize.h * (buffer - 1)) { | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this, arguments); if (bounds == null) { bounds = this.map.getExtent(); } if (bounds != null) { if (!this.grid.length || zoomChanged || !this.... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/7e9eef8d075fa88068923404fa67c84bba79643e/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
} else if (tlViewPort.y < -this.tileSize.h * this.buffer) { | } else if (tlViewPort.y < -this.tileSize.h * buffer) { | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this, arguments); if (bounds == null) { bounds = this.map.getExtent(); } if (bounds != null) { if (!this.grid.length || zoomChanged || !this.... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/7e9eef8d075fa88068923404fa67c84bba79643e/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
} }; if (this.buffer == 0) { for (var r=0, rl=this.grid.length; r<rl; r++) { var row = this.grid[r]; for (var c=0, cl=row.length; c<cl; c++) { var tile = row[c]; if (!tile.drawn && tile.bounds.intersectsBounds(bounds, false)) { tile.draw(); } } | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this, arguments); if (bounds == null) { bounds = this.map.getExtent(); } if (bounds != null) { if (!this.grid.length || zoomChanged || !this.... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/7e9eef8d075fa88068923404fa67c84bba79643e/Grid.js/clean/lib/OpenLayers/Layer/Grid.js | |
} else { | } else if ( bounds.top > this.getGridBounds().bottom || bounds.left > this.getGridBounds().right || bounds.right < this.getGridBounds().left || bounds.bottom < this.getGridBounds().top ) { this._initTiles(); } else { | moveTo:function(bounds,zoomChanged) { if (!this.getVisibility()) { if (zoomChanged) { this.grid = null; } return; } if (!this.grid || zoomChanged) { this._initTiles(); } else { var i = 0; while (this.getGri... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/747573cfad087f9706e37b852fc2557cbecca5fc/Grid.js/buggy/lib/OpenLayers/Layer/Grid.js |
var gCenter = this.getYMapCenter(); | var yCenter = this.getYMapCenter(); | moveTo:function(bounds,zoomChanged) { if ((this.ymap != null) && (!this.dragging)) { var olCenter = this.map.getCenter(); var gCenter = this.getYMapCenter(); var olZoom = this.map.getZoom(); var gZoom = this.ymap.getZoomLevel(); i... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/6392e9877c9cbbba83824e6512ecabb2d5e5edaa/Yahoo.js/buggy/lib/OpenLayers/Layer/Yahoo.js |
var gZoom = this.ymap.getZoomLevel(); | var yZoom = this.ymap.getZoomLevel(); | moveTo:function(bounds,zoomChanged) { if ((this.ymap != null) && (!this.dragging)) { var olCenter = this.map.getCenter(); var gCenter = this.getYMapCenter(); var olZoom = this.map.getZoom(); var gZoom = this.ymap.getZoomLevel(); i... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/6392e9877c9cbbba83824e6512ecabb2d5e5edaa/Yahoo.js/buggy/lib/OpenLayers/Layer/Yahoo.js |
if ((!olCenter.equals(yCenter)) || ((olZoom +1) != yZoom)) { | if ((!olCenter.equals(yCenter)) || (( 16 - olZoom) != yZoom)) { | moveTo:function(bounds,zoomChanged) { if ((this.ymap != null) && (!this.dragging)) { var olCenter = this.map.getCenter(); var gCenter = this.getYMapCenter(); var olZoom = this.map.getZoom(); var gZoom = this.ymap.getZoomLevel(); i... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/6392e9877c9cbbba83824e6512ecabb2d5e5edaa/Yahoo.js/buggy/lib/OpenLayers/Layer/Yahoo.js |
olZoom + 1); | 16 - olZoom); | moveTo:function(bounds,zoomChanged) { if ((this.ymap != null) && (!this.dragging)) { var olCenter = this.map.getCenter(); var gCenter = this.getYMapCenter(); var olZoom = this.map.getZoom(); var gZoom = this.ymap.getZoomLevel(); i... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/6392e9877c9cbbba83824e6512ecabb2d5e5edaa/Yahoo.js/buggy/lib/OpenLayers/Layer/Yahoo.js |
OpenLayers.Util.clearArray(this); | this.clear(); | moveTo: function (bounds, position, redraw) { if (redraw == null) { redraw = true; } OpenLayers.Util.clearArray(this); this.bounds = bounds.clone(); this.position = position.clone(); if (redraw) { this.draw(); } }, | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/9f9c366154d8d1e3e82af85214ec3378f8745ecf/Tile.js/buggy/lib/OpenLayers/Tile.js |
} var i = 0; while (this.getGridBounds().bottom > bounds.bottom) { this.insertRow(false); } while (this.getGridBounds().left > bounds.left) { this.insertColumn(true); } while (this.getGridBounds().top < bounds.top) { this.insertRow(true); } while (this.getGridBounds().right < bounds.right) { this.insertColumn(false); | } else { var i = 0; while (this.getGridBounds().bottom > bounds.bottom) { this.insertRow(false); } while (this.getGridBounds().left > bounds.left) { this.insertColumn(true); } while (this.getGridBounds().top < bounds.top) { this.insertRow(true); } while (this.getGridBounds().right < bounds.right) { this.insertColumn(fa... | moveTo:function(bounds,zoomChanged) { if (!this.getVisibility()) { if (zoomChanged) { this.grid = null; } return; } if (!this.grid || zoomChanged) { this._initTiles(); } var i = 0; while (this.getGridBounds().botto... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/df375e7d299561b224d753f42b44263be84fdd6e/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
new OpenLayers.Bounds(center.lon - bounds.getWidth(), center.lat - bounds.getHeight(), center.lon + bounds.getWidth(), center.lat + bounds.getHeight()); | new OpenLayers.Bounds(center.lon - (tileWidth / 2), center.lat - (tileHeight / 2), center.lon + (tileWidth / 2), center.lat + (tileHeight / 2)); | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this,arguments); if (bounds == null) { bounds = this.map.getExtent(); } var firstRendering = (this.tile == null); //does the new bounds to which we need to move ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/7eb3f4bb9a744fa11b92e446a3e9cad249e7bb75/Untiled.js/clean/lib/OpenLayers/Layer/WMS/Untiled.js |
tileSize.w = tileSize.w * 2; tileSize.h = tileSize.h * 2; | tileSize.w = tileSize.w * this.ratio; tileSize.h = tileSize.h * this.ratio; | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this,arguments); if (bounds == null) { bounds = this.map.getExtent(); } var firstRendering = (this.tile == null); //does the new bounds to which we need to move ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/7eb3f4bb9a744fa11b92e446a3e9cad249e7bb75/Untiled.js/clean/lib/OpenLayers/Layer/WMS/Untiled.js |
OpenLayers.Util.clearArray(this.tile); | this.tile.clear(); | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this,arguments); if (bounds == null) { bounds = this.map.getExtent(); } var firstRendering = (this.tile == null); //does the new bounds to which we need to move ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/876051d6190095bebab2bd12e292c4c8aca1a50e/Untiled.js/clean/lib/OpenLayers/Layer/WMS/Untiled.js |
} else if (tlViewPort.y > -this.tileSize.w * (this.buffer - 1)) { | } else if (tlViewPort.y > -this.tileSize.h * (this.buffer - 1)) { | moveTo:function(bounds, zoomChanged, dragging) { if (bounds == null) { bounds = this.map.getExtent(); } if (bounds != null) { if (!this.getVisibility()) { if (zoomChanged) { this.clearGrid(); } } else if (!this.gr... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/bc6b2e690d8ab086e8cbb3cc21b3c6b231e11cf2/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
if (this.type != null) { this.vemap.SetMapStyle(this.type); this.type = null; } | moveTo:function(bounds, zoomChanged, minor) { if (this.vemap != null) { var olCenter = this.map.getCenter(); var veCenter = this.getVELatLongFromOLLonLat(olCenter); if (zoomChanged) { var olZoom = this.map.getZoom(); var veZoom = this.getVEZo... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/890b2a6ffc99de7ee1a9c8f84f029d07691e8252/VirtualEarth.js/clean/lib/OpenLayers/Layer/VirtualEarth.js | |
if (this.type != null) { this.gmap.setMapType(this.type); this.type = null; } this.dontListen = false; | moveTo:function(bounds, zoomChanged, minor) { if ((this.gmap != null) && (!this.dragging)) { var newCenter = this.map.getCenter(); var newZoom = this.map.getZoom(); if (newCenter != null) { var gCenter = this.gmap.getCenter(); var gZoom = this.gm... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/f3a072b151fd0fb48097965647921f2ea0396651/Google.js/buggy/lib/OpenLayers/Layer/Google.js | |
new OpenLayers.Bounds(center.lon - bounds.getWidth(), center.lat - bounds.getHeight(), center.lon + bounds.getWidth(), center.lat + bounds.getHeight()); | new OpenLayers.Bounds(center.lon - (tileWidth / 2), center.lat - (tileHeight / 2), center.lon + (tileWidth / 2), center.lat + (tileHeight / 2)); | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this,arguments); if (bounds == null) { bounds = this.map.getExtent(); } var firstRendering = (this.tile == null); //does the new bounds to which we need to move ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/7eb3f4bb9a744fa11b92e446a3e9cad249e7bb75/Untiled.js/clean/lib/OpenLayers/Layer/WMS/Untiled.js |
tileSize.w = tileSize.w * 2; tileSize.h = tileSize.h * 2; | tileSize.w = tileSize.w * this.ratio; tileSize.h = tileSize.h * this.ratio; | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this,arguments); if (bounds == null) { bounds = this.map.getExtent(); } var firstRendering = (this.tile == null); //does the new bounds to which we need to move ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/7eb3f4bb9a744fa11b92e446a3e9cad249e7bb75/Untiled.js/clean/lib/OpenLayers/Layer/WMS/Untiled.js |
if (tlViewPort.x > -this.tileSize.w * (this.buffer - 1)) { | if (tlViewPort.x > -this.tileSize.w * (buffer - 1)) { | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this, arguments); if (bounds == null) { bounds = this.map.getExtent(); } if (bounds != null) { if (!this.grid.length || zoomChanged || !this.... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/7e9eef8d075fa88068923404fa67c84bba79643e/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
} else if (tlViewPort.x < -this.tileSize.w * this.buffer) { | } else if (tlViewPort.x < -this.tileSize.w * buffer) { | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this, arguments); if (bounds == null) { bounds = this.map.getExtent(); } if (bounds != null) { if (!this.grid.length || zoomChanged || !this.... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/7e9eef8d075fa88068923404fa67c84bba79643e/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
} else if (tlViewPort.y > -this.tileSize.h * (this.buffer - 1)) { | } else if (tlViewPort.y > -this.tileSize.h * (buffer - 1)) { | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this, arguments); if (bounds == null) { bounds = this.map.getExtent(); } if (bounds != null) { if (!this.grid.length || zoomChanged || !this.... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/7e9eef8d075fa88068923404fa67c84bba79643e/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
} else if (tlViewPort.y < -this.tileSize.h * this.buffer) { | } else if (tlViewPort.y < -this.tileSize.h * buffer) { | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this, arguments); if (bounds == null) { bounds = this.map.getExtent(); } if (bounds != null) { if (!this.grid.length || zoomChanged || !this.... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/7e9eef8d075fa88068923404fa67c84bba79643e/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
} }; if (this.buffer == 0) { for (var r=0, rl=this.grid.length; r<rl; r++) { var row = this.grid[r]; for (var c=0, cl=row.length; c<cl; c++) { var tile = row[c]; if (!tile.drawn && tile.bounds.intersectsBounds(bounds, false)) { tile.draw(); } } | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this, arguments); if (bounds == null) { bounds = this.map.getExtent(); } if (bounds != null) { if (!this.grid.length || zoomChanged || !this.... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/7e9eef8d075fa88068923404fa67c84bba79643e/Grid.js/clean/lib/OpenLayers/Layer/Grid.js | |
bounds = this.map.getBounds(); | bounds = this.map.getExtent(); | moveTo:function(bounds, zoomChanged, minor) { if (bounds == null) { bounds = this.map.getBounds(); } if (bounds != null) { if (!this.getVisibility()) { if (zoomChanged) { //now clear out the old grid and start a new one ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/f3a072b151fd0fb48097965647921f2ea0396651/Grid.js/buggy/lib/OpenLayers/Layer/Grid.js |
} var i = 0; while (this.getGridBounds().bottom > bounds.bottom) { this.insertRow(false); } while (this.getGridBounds().left > bounds.left) { this.insertColumn(true); } while (this.getGridBounds().top < bounds.top) { this.insertRow(true); } while (this.getGridBounds().right < bounds.right) { this.insertColumn(false); | } else { var i = 0; while (this.getGridBounds().bottom > bounds.bottom) { this.insertRow(false); } while (this.getGridBounds().left > bounds.left) { this.insertColumn(true); } while (this.getGridBounds().top < bounds.top) { this.insertRow(true); } while (this.getGridBounds().right < bounds.right) { this.insertColumn(fa... | moveTo:function(bounds,zoomChanged) { if (!this.getVisibility()) { if (zoomChanged) { this.grid = null; } return; } if (!this.grid || zoomChanged) { this._initTiles(); } var i = 0; while (this.getGridBounds().botto... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/df375e7d299561b224d753f42b44263be84fdd6e/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
if(this.tile) { this.tile.destroy(); this.tile = null; } var tileBounds = this.extent.clone(); | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.prototype.moveTo.apply(this, arguments); var firstRendering = (this.tile == null); if(zoomChanged || firstRendering) { //clear out the old tile if(this.tile) { this.tile.destroy(); ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/3d58bc669814790e7f7cd02571ace1be6bae8d16/Image.js/buggy/lib/OpenLayers/Layer/Image.js | |
var ul = new OpenLayers.LonLat(tileBounds.left, tileBounds.top); var pos = this.map.getLayerPxFromLonLat(ul); | var ul = new OpenLayers.LonLat(this.extent.left, this.extent.top); var ulPx = this.map.getLayerPxFromLonLat(ul); | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.prototype.moveTo.apply(this, arguments); var firstRendering = (this.tile == null); if(zoomChanged || firstRendering) { //clear out the old tile if(this.tile) { this.tile.destroy(); ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/3d58bc669814790e7f7cd02571ace1be6bae8d16/Image.js/buggy/lib/OpenLayers/Layer/Image.js |
this.tile = new OpenLayers.Tile.Image(this, pos, tileBounds, this.url, tileSize); | if(firstRendering) { this.tile = new OpenLayers.Tile.Image(this, ulPx, this.extent, this.url, tileSize); } else { this.tile.size = tileSize.clone(); this.tile.position = ulPx.clone(); } | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.prototype.moveTo.apply(this, arguments); var firstRendering = (this.tile == null); if(zoomChanged || firstRendering) { //clear out the old tile if(this.tile) { this.tile.destroy(); ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/3d58bc669814790e7f7cd02571ace1be6bae8d16/Image.js/buggy/lib/OpenLayers/Layer/Image.js |
OpenLayers.Util.clearArray(this.tile); | this.tile.clear(); | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this,arguments); if (bounds == null) { bounds = this.map.getExtent(); } var firstRendering = (this.tile == null); //does the new bounds to which we need to move ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/876051d6190095bebab2bd12e292c4c8aca1a50e/Untiled.js/buggy/lib/OpenLayers/Layer/WMS/Untiled.js |
if ((this.px != null) && (this.imageDiv != null)) { if (this.calculateOffset) { this.offset = this.calculateOffset(this.size); | if (this.imageDiv != null) { if (this.px == null) { this.display(false); } else { if (this.calculateOffset) { this.offset = this.calculateOffset(this.size); } var offsetPx = this.px.offset(this.offset); OpenLayers.Util.modifyAlphaImageDiv(this.imageDiv, null, offsetPx); this.display(true); | moveTo: function (px) { //if no px passed in, use stored location if (px != null) { this.px = px; } if ((this.px != null) && (this.imageDiv != null)) { if (this.calculateOffset) { this.offset = this.calculateOffset(this.size); } ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/f3a072b151fd0fb48097965647921f2ea0396651/Icon.js/clean/lib/OpenLayers/Icon.js |
var offsetPx = this.px.offset(this.offset); OpenLayers.Util.modifyAlphaImageDiv(this.imageDiv, null, offsetPx); | moveTo: function (px) { //if no px passed in, use stored location if (px != null) { this.px = px; } if ((this.px != null) && (this.imageDiv != null)) { if (this.calculateOffset) { this.offset = this.calculateOffset(this.size); } ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/f3a072b151fd0fb48097965647921f2ea0396651/Icon.js/clean/lib/OpenLayers/Icon.js | |
if(this.tile) { this.tile.destroy(); this.tile = null; } var tileBounds = this.extent.clone(); | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.prototype.moveTo.apply(this, arguments); var firstRendering = (this.tile == null); if(zoomChanged || firstRendering) { //clear out the old tile if(this.tile) { this.tile.destroy(); ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/3d58bc669814790e7f7cd02571ace1be6bae8d16/Image.js/clean/lib/OpenLayers/Layer/Image.js | |
var ul = new OpenLayers.LonLat(tileBounds.left, tileBounds.top); var pos = this.map.getLayerPxFromLonLat(ul); | var ul = new OpenLayers.LonLat(this.extent.left, this.extent.top); var ulPx = this.map.getLayerPxFromLonLat(ul); | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.prototype.moveTo.apply(this, arguments); var firstRendering = (this.tile == null); if(zoomChanged || firstRendering) { //clear out the old tile if(this.tile) { this.tile.destroy(); ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/3d58bc669814790e7f7cd02571ace1be6bae8d16/Image.js/clean/lib/OpenLayers/Layer/Image.js |
this.tile = new OpenLayers.Tile.Image(this, pos, tileBounds, this.url, tileSize); | if(firstRendering) { this.tile = new OpenLayers.Tile.Image(this, ulPx, this.extent, this.url, tileSize); } else { this.tile.size = tileSize.clone(); this.tile.position = ulPx.clone(); } | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.prototype.moveTo.apply(this, arguments); var firstRendering = (this.tile == null); if(zoomChanged || firstRendering) { //clear out the old tile if(this.tile) { this.tile.destroy(); ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/3d58bc669814790e7f7cd02571ace1be6bae8d16/Image.js/clean/lib/OpenLayers/Layer/Image.js |
} else { | } else if ( bounds.top > this.getGridBounds().bottom || bounds.left > this.getGridBounds().right || bounds.right < this.getGridBounds().left || bounds.bottom < this.getGridBounds().top ) { this._initTiles(); } else { | moveTo:function(bounds,zoomChanged) { if (!this.getVisibility()) { if (zoomChanged) { this.grid = null; } return; } if (!this.grid || zoomChanged) { this._initTiles(); } else { var i = 0; while (this.getGri... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/747573cfad087f9706e37b852fc2557cbecca5fc/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
if ( this.tile && !this.tile.size.equals(tileSize)) { this.tile.destroy(); this.tile = null; } | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this,arguments); if (bounds == null) { bounds = this.map.getExtent(); } var firstRendering = (this.tile == null); //does the new bounds to which we need to move ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/8bd55016aa0c1f64087e9e70a13dc9f9a6f28585/Untiled.js/clean/lib/OpenLayers/Layer/WMS/Untiled.js | |
if ((this.px != null) && (this.imageDiv != null)) { if (this.calculateOffset) { this.offset = this.calculateOffset(this.size); | if (this.imageDiv != null) { if (this.px == null) { this.display(false); } else { if (this.calculateOffset) { this.offset = this.calculateOffset(this.size); } var offsetPx = this.px.offset(this.offset); OpenLayers.Util.modifyAlphaImageDiv(this.imageDiv, null, offsetPx); this.display(true); | moveTo: function (px) { //if no px passed in, use stored location if (px != null) { this.px = px; } if ((this.px != null) && (this.imageDiv != null)) { if (this.calculateOffset) { this.offset = this.calculateOffset(this.size); } ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/f3a072b151fd0fb48097965647921f2ea0396651/Icon.js/buggy/lib/OpenLayers/Icon.js |
var offsetPx = this.px.offset(this.offset); OpenLayers.Util.modifyAlphaImageDiv(this.imageDiv, null, offsetPx); | moveTo: function (px) { //if no px passed in, use stored location if (px != null) { this.px = px; } if ((this.px != null) && (this.imageDiv != null)) { if (this.calculateOffset) { this.offset = this.calculateOffset(this.size); } ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/f3a072b151fd0fb48097965647921f2ea0396651/Icon.js/buggy/lib/OpenLayers/Icon.js | |
if ( this.tile && !this.tile.size.equals(tileSize)) { this.tile.destroy(); this.tile = null; } | moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this,arguments); if (bounds == null) { bounds = this.map.getExtent(); } var firstRendering = (this.tile == null); //does the new bounds to which we need to move ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/8bd55016aa0c1f64087e9e70a13dc9f9a6f28585/Untiled.js/clean/lib/OpenLayers/Layer/WMS/Untiled.js | |
bounds = this.map.getBounds(); | bounds = this.map.getExtent(); | moveTo:function(bounds, zoomChanged, minor) { if (bounds == null) { bounds = this.map.getBounds(); } if (bounds != null) { if (!this.getVisibility()) { if (zoomChanged) { //now clear out the old grid and start a new one ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/f3a072b151fd0fb48097965647921f2ea0396651/Grid.js/buggy/lib/OpenLayers/Layer/Grid.js |
} else if ( bounds.top > this.getGridBounds().bottom || bounds.left > this.getGridBounds().right || bounds.right < this.getGridBounds().left || bounds.bottom < this.getGridBounds().top ) { | } else if ( bounds.top < gridBounds.bottom || bounds.left > gridBounds.right || bounds.right < gridBounds.left || bounds.bottom > gridBounds.top ) { console.log("else if"); | moveTo:function(bounds,zoomChanged) { if (!this.getVisibility()) { if (zoomChanged) { this.grid = null; } return; } if (!this.grid || zoomChanged) { this._initTiles(); } else if ( bounds.top > this.getGridBounds().bottom || ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/082133730e8d2dd2f1f272bc84ae47f7f48f1685/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
while (this.getGridBounds().bottom > bounds.bottom) { | while (gridBounds.bottom > bounds.bottom) { | moveTo:function(bounds,zoomChanged) { if (!this.getVisibility()) { if (zoomChanged) { this.grid = null; } return; } if (!this.grid || zoomChanged) { this._initTiles(); } else if ( bounds.top > this.getGridBounds().bottom || ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/082133730e8d2dd2f1f272bc84ae47f7f48f1685/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
while (this.getGridBounds().left > bounds.left) { | while (gridBounds.left > bounds.left) { | moveTo:function(bounds,zoomChanged) { if (!this.getVisibility()) { if (zoomChanged) { this.grid = null; } return; } if (!this.grid || zoomChanged) { this._initTiles(); } else if ( bounds.top > this.getGridBounds().bottom || ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/082133730e8d2dd2f1f272bc84ae47f7f48f1685/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
while (this.getGridBounds().top < bounds.top) { | while (gridBounds.top < bounds.top) { | moveTo:function(bounds,zoomChanged) { if (!this.getVisibility()) { if (zoomChanged) { this.grid = null; } return; } if (!this.grid || zoomChanged) { this._initTiles(); } else if ( bounds.top > this.getGridBounds().bottom || ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/082133730e8d2dd2f1f272bc84ae47f7f48f1685/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
while (this.getGridBounds().right < bounds.right) { | while (gridBounds.right < bounds.right) { | moveTo:function(bounds,zoomChanged) { if (!this.getVisibility()) { if (zoomChanged) { this.grid = null; } return; } if (!this.grid || zoomChanged) { this._initTiles(); } else if ( bounds.top > this.getGridBounds().bottom || ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/082133730e8d2dd2f1f272bc84ae47f7f48f1685/Grid.js/clean/lib/OpenLayers/Layer/Grid.js |
if ((px != null) && (this.image != null)) { offsetPx = px.offset(this.offset); this.image.style.left = offsetPx.x + "px"; this.image.style.top = offsetPx.y + "px" | if (px != null) { this.px = px; } if ((this.px != null) && (this.imageDiv != null)) { if (this.calculateOffset) { this.offset = this.calculateOffset(this.size); } var offsetPx = this.px.offset(this.offset); OpenLayers.Util.modifyAlphaImageDiv(this.imageDiv, null, offsetPx); | moveTo: function (px) { if ((px != null) && (this.image != null)) { offsetPx = px.offset(this.offset); this.image.style.left = offsetPx.x + "px"; this.image.style.top = offsetPx.y + "px" } }, | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/51aaf18b5964acdfc0c35f2078c52aff5101e0f5/Icon.js/clean/lib/OpenLayers/Icon.js |
OpenLayers.Util.clearArray(this); | this.clear(); | moveTo: function (bounds, position, redraw) { if (redraw == null) { redraw = true; } OpenLayers.Util.clearArray(this); this.bounds = bounds.clone(); this.position = position.clone(); if (redraw) { this.draw(); } }, | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/9f9c366154d8d1e3e82af85214ec3378f8745ecf/Tile.js/clean/lib/OpenLayers/Tile.js |
if ((px != null) && (this.image != null)) { offsetPx = px.offset(this.offset); this.image.style.left = offsetPx.x + "px"; this.image.style.top = offsetPx.y + "px" | if (px != null) { this.px = px; } if ((this.px != null) && (this.imageDiv != null)) { if (this.calculateOffset) { this.offset = this.calculateOffset(this.size); } var offsetPx = this.px.offset(this.offset); OpenLayers.Util.modifyAlphaImageDiv(this.imageDiv, null, offsetPx); | moveTo: function (px) { if ((px != null) && (this.image != null)) { offsetPx = px.offset(this.offset); this.image.style.left = offsetPx.x + "px"; this.image.style.top = offsetPx.y + "px" } }, | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/51aaf18b5964acdfc0c35f2078c52aff5101e0f5/Icon.js/clean/lib/OpenLayers/Icon.js |
if (this.type != null) { this.gmap.setMapType(this.type); this.type = null; } this.dontListen = false; | moveTo:function(bounds, zoomChanged, minor) { if ((this.gmap != null) && (!this.dragging)) { var newCenter = this.map.getCenter(); var newZoom = this.map.getZoom(); if (newCenter != null) { var gCenter = this.gmap.getCenter(); var gZoom = this.gm... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/f3a072b151fd0fb48097965647921f2ea0396651/Google.js/clean/lib/OpenLayers/Layer/Google.js | |
} else if (tlViewPort.y > -this.tileSize.w * (this.buffer - 1)) { | } else if (tlViewPort.y > -this.tileSize.h * (this.buffer - 1)) { | moveTo:function(bounds, zoomChanged, dragging) { if (bounds == null) { bounds = this.map.getExtent(); } if (bounds != null) { if (!this.getVisibility()) { if (zoomChanged) { this.clearGrid(); } } else if (!this.gr... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/bc6b2e690d8ab086e8cbb3cc21b3c6b231e11cf2/Grid.js/buggy/lib/OpenLayers/Layer/Grid.js |
if (this.type != null) { this.vemap.SetMapStyle(this.type); this.type = null; } | moveTo:function(bounds, zoomChanged, minor) { if (this.vemap != null) { var olCenter = this.map.getCenter(); var veCenter = this.getVELatLongFromOLLonLat(olCenter); if (zoomChanged) { var olZoom = this.map.getZoom(); var veZoom = this.getVEZo... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/890b2a6ffc99de7ee1a9c8f84f029d07691e8252/VirtualEarth.js/clean/lib/OpenLayers/Layer/VirtualEarth.js | |
var gCenter = this.getYMapCenter(); | var yCenter = this.getYMapCenter(); | moveTo:function(bounds,zoomChanged) { if ((this.ymap != null) && (!this.dragging)) { var olCenter = this.map.getCenter(); var gCenter = this.getYMapCenter(); var olZoom = this.map.getZoom(); var gZoom = this.ymap.getZoomLevel(); i... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/6392e9877c9cbbba83824e6512ecabb2d5e5edaa/Yahoo.js/buggy/lib/OpenLayers/Layer/Yahoo.js |
var gZoom = this.ymap.getZoomLevel(); | var yZoom = this.ymap.getZoomLevel(); | moveTo:function(bounds,zoomChanged) { if ((this.ymap != null) && (!this.dragging)) { var olCenter = this.map.getCenter(); var gCenter = this.getYMapCenter(); var olZoom = this.map.getZoom(); var gZoom = this.ymap.getZoomLevel(); i... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/6392e9877c9cbbba83824e6512ecabb2d5e5edaa/Yahoo.js/buggy/lib/OpenLayers/Layer/Yahoo.js |
if ((!olCenter.equals(yCenter)) || ((olZoom +1) != yZoom)) { | if ((!olCenter.equals(yCenter)) || (( 16 - olZoom) != yZoom)) { | moveTo:function(bounds,zoomChanged) { if ((this.ymap != null) && (!this.dragging)) { var olCenter = this.map.getCenter(); var gCenter = this.getYMapCenter(); var olZoom = this.map.getZoom(); var gZoom = this.ymap.getZoomLevel(); i... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/6392e9877c9cbbba83824e6512ecabb2d5e5edaa/Yahoo.js/buggy/lib/OpenLayers/Layer/Yahoo.js |
olZoom + 1); | 16 - olZoom); | moveTo:function(bounds,zoomChanged) { if ((this.ymap != null) && (!this.dragging)) { var olCenter = this.map.getCenter(); var gCenter = this.getYMapCenter(); var olZoom = this.map.getZoom(); var gZoom = this.ymap.getZoomLevel(); i... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/6392e9877c9cbbba83824e6512ecabb2d5e5edaa/Yahoo.js/buggy/lib/OpenLayers/Layer/Yahoo.js |
var rng, nl, i; | moveToBookmark : function(bookmark) { var rng, nl, i; var inst = this.instance; var doc = inst.getDoc(); var win = inst.getWin(); var sel = this.getSel(); if (!bookmark) return false; if (tinyMCE.isSafari) { sel.setBaseAndExtent(bookmark.startContainer, bookmark.startOffset, bookmark.endContainer, bookmark.... | 10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/tiny_mce_src.js/clean/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce_src.js | |
sel.setBaseAndExtent(bookmark.startContainer, bookmark.startOffset, bookmark.endContainer, bookmark.endOffset); | sel.setBaseAndExtent(bookmark.rng.startContainer, bookmark.rng.startOffset, bookmark.rng.endContainer, bookmark.rng.endOffset); | moveToBookmark : function(bookmark) { var rng, nl, i; var inst = this.instance; var doc = inst.getDoc(); var win = inst.getWin(); var sel = this.getSel(); if (!bookmark) return false; if (tinyMCE.isSafari) { sel.setBaseAndExtent(bookmark.startContainer, bookmark.startOffset, bookmark.endContainer, bookmark.... | 10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/tiny_mce_src.js/clean/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce_src.js |
if (tinyMCE.isMSIE) { | if (tinyMCE.isRealIE) { | moveToBookmark : function(bookmark) { var rng, nl, i; var inst = this.instance; var doc = inst.getDoc(); var win = inst.getWin(); var sel = this.getSel(); if (!bookmark) return false; if (tinyMCE.isSafari) { sel.setBaseAndExtent(bookmark.startContainer, bookmark.startOffset, bookmark.endContainer, bookmark.... | 10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/tiny_mce_src.js/clean/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce_src.js |
bookmark.rng.select(); | try { bookmark.rng.select(); } catch (ex) { } | moveToBookmark : function(bookmark) { var rng, nl, i; var inst = this.instance; var doc = inst.getDoc(); var win = inst.getWin(); var sel = this.getSel(); if (!bookmark) return false; if (tinyMCE.isSafari) { sel.setBaseAndExtent(bookmark.startContainer, bookmark.startOffset, bookmark.endContainer, bookmark.... | 10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/tiny_mce_src.js/clean/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce_src.js |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.