rem: function update_tiles(dx, dy, noMove) { if (!dx && !dy) return; 
add: function update_tiles(dx, dy, noMove, force) { if (!dx && !dy && !force) return; 
context: function update_tiles(dx, dy, noMove) {    if (!dx && !dy) return;    var old_drag_x = drag_x;    var old_drag_y = drag_y;    drag_x += dx;    drag_y += dy;    if (!noMove) {        var drag = document.getElementById('drag');        drag.style.left = drag_x + 'px';        drag.style.top = drag_y + 'px';    }    var horizontal = Math.floor(old_drag_x/tilewidth) - Math.floor(drag_x/tilewidth);    var vertical = Math.floor(old_drag_y/tileheight) - Math.floor(drag_y/tileheight);    if (!horizontal && !vertical) return;    for (var j=0; j<horizontal; j++) {        for (var i=0; i<6; i++) { image_rotate(i, mod(j + tile_x, 6),  6, 0); }    }    for (var j=horizontal; j<0; j++) {        for (var i=0; i<6; i++) { image_rotate(i, mod(j + tile_x, 6), -6, 0); }    }    for (var i=0; i<vertical; i++) {        for (var j=0; j<6; j++) { image_rotate(mod(i + tile_y, 6), j, 0,  6); }    }    for (var i=vertical; i<0; i++) {        for (var j=0; j<6; j++) { image_rotate(mod(i + tile_y, 6), j, 0, -6); }    }    x += horizontal;    tile_x = mod((tile_x + horizontal), 6);    y -= vertical;    tile_y = mod((tile_y + vertical), 6);    var url = '/tilma/tileserver/10k-full-london/' + x + '-' + (x+5) + ',' + y + '-' + (y+5) + '/JSON';    var req = mySociety.asyncRequest(url, urls_loaded);}
meta: 9585	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9585/ba8c61f5ee2c9fe624a2e5d53f74835647c42c94/js2.js/buggy/web/js2.js