git-commit-vandalism/gitweb/static/js
Jakub Narebski 4510165934 gitweb.js: No need for inProgress in blame_incremental.js
JavaScript is single-threaded, so there is no need for protection
against re-entrancy via inProgress variable.

In particular calls to setInterval handler are stacked if handler
doesn't finish before new interrupt (before new interval).  The same
happens with events - they are (hopefully) stacked if even handler
didn't finish work.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-05-27 11:00:35 -07:00
..
lib gitweb.js: Add UI for selecting common timezone to display dates 2011-05-24 11:22:45 -07:00
adjust-timezone.js gitweb.js: Add UI for selecting common timezone to display dates 2011-05-24 11:22:45 -07:00
blame_incremental.js gitweb.js: No need for inProgress in blame_incremental.js 2011-05-27 11:00:35 -07:00
javascript-detection.js gitweb: Split JavaScript for maintability, combining on build 2011-05-24 11:22:44 -07:00
README gitweb: Split JavaScript for maintability, combining on build 2011-05-24 11:22:44 -07:00

GIT web interface (gitweb) - JavaScript
=======================================

This directory holds JavaScript code used by gitweb (GIT web interface).
Scripts from there would be concatenated together in the order specified
by gitweb/Makefile into gitweb/static/gitweb.js, during building of
gitweb/gitweb.cgi (during gitweb building).  The resulting file (or its
minification) would then be installed / deployed together with gitweb.

Scripts in 'lib/' subdirectory compose generic JavaScript library,
providing features required by gitweb but in no way limited to gitweb
only.  In the future those scripts could be replaced by some JavaScript
library / framework, like e.g. jQuery, YUI, Prototype, MooTools, Dojo,
ExtJS, Script.aculo.us or SproutCore.

All scripts that manipulate gitweb output should be put outside 'lib/',
directly in this directory ('gitweb/static/js/').  Those scripts would
have to be rewritten if gitweb moves to using some JavaScript library.

See also comments in gitweb/Makefile.