From: Jakub Narebski Date: Fri, 27 May 2011 13:50:00 +0000 (+0200) Subject: gitweb.js: No need for loop in blame_incremental's handleResponse() X-Git-Tag: v1.7.7-rc0~113^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/e8dd0e4063da6d0eecef1a6db99534e41f74b32e?hp=e8dd0e4063da6d0eecef1a6db99534e41f74b32e gitweb.js: No need for loop in blame_incremental's handleResponse() JavaScript is single-threaded, so there is no need for protecting against changes to XMLHttpRequest object behind event handler back. Therefore there is no need for loop that was here in case `xhr' got new changes while processing current changes. This should make code a bit more clear. Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano ---