Code

gitweb.js: Provide getElementsByClassName method (if it not exists)
authorJakub Narebski <jnareb@gmail.com>
Thu, 28 Apr 2011 19:04:06 +0000 (21:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 May 2011 18:22:45 +0000 (11:22 -0700)
commit1cae3ee70dd9e389a83c494fbc95aa63c01128a1
treee4e590aa4fbbc6b57ccf6d7fbc39f9e78a9a3278
parentfcce886bfb4671c4c17a3f99cb7caf0f7ab94e16
gitweb.js: Provide getElementsByClassName method (if it not exists)

The code is simplified and does not support full specification of
native getElementsByClassName method, but implements just subset that
would be enough for gitweb, supporting only single class name.

Signed-off-by: John 'Warthog9' Hawley <warthog9@eaglescrag.net>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/static/js/lib/common-lib.js