Merge branch 'jz/gitweb-conf-doc-fix' into maint
[git/git.git] / gitweb / static / js / README
... / ...
1GIT web interface (gitweb) - JavaScript
4This directory holds JavaScript code used by gitweb (GIT web interface).
5Scripts from there would be concatenated together in the order specified
6by gitweb/Makefile into gitweb/static/gitweb.js, during building of
7gitweb/gitweb.cgi (during gitweb building). The resulting file (or its
8minification) would then be installed / deployed together with gitweb.
10Scripts in 'lib/' subdirectory compose generic JavaScript library,
11providing features required by gitweb but in no way limited to gitweb
12only. In the future those scripts could be replaced by some JavaScript
13library / framework, like e.g. jQuery, YUI, Prototype, MooTools, Dojo,
14ExtJS, or SproutCore.
16All scripts that manipulate gitweb output should be put outside 'lib/',
17directly in this directory ('gitweb/static/js/'). Those scripts would
18have to be rewritten if gitweb moves to using some JavaScript library.
20See also comments in gitweb/Makefile.