]> Lady’s Gitweb - Gitweb/commit
gitweb.js: No need for loop in blame_incremental's handleResponse()
authorJakub Narebski <redacted>
Fri, 27 May 2011 13:50:00 +0000 (15:50 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:31 +0000 (00:51 -0400)
commitff3cde0cc388488d18aaee73fffa400e3daa35d77ebc2c52e49c32c48a6a5834
tree50d357e5b537caf472e8c451c84459972595978e921703ffc673abdaad4b4a14
parent9f9c2330994dd4b87232fb24df307caec1f6aac186b0edbf99aa9c7a79c82806
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
static/js/blame_incremental.js
This page took 0.254717 seconds and 4 git commands to generate.