Code

gitweb.js: Introduce code to handle cookies from JavaScript
authorJakub Narebski <jnareb@gmail.com>
Thu, 28 Apr 2011 19:04:05 +0000 (21:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 May 2011 18:22:44 +0000 (11:22 -0700)
commitfcce886bfb4671c4c17a3f99cb7caf0f7ab94e16
tree0352592b58f719f1e8a88e70c13eb6b07715368e
parent54b1479a770b240d71bbd000fb40e470987bac59
gitweb.js: Introduce code to handle cookies from JavaScript

Introduced gitweb/static/js/cookies.js file provides functions for
setting, getting and deleting cookies.

Code taken from subsection "Cookies in JavaScript" of "Professional
JavaScript for Web Developers" by Nicholas C. Zakas and from cookie
plugin for jQuery (dual licensed under the MIT and GPL licenses).

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/Makefile
gitweb/static/js/lib/cookies.js [new file with mode: 0644]