- From: Robin Berjon via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 28 May 2010 15:21:14 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/ReSpec.js/js
In directory hutz:/tmp/cvs-serv29735/js
Modified Files:
respec.js
Log Message:
biblio
Index: respec.js
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -d -r1.116 -r1.117
--- respec.js 16 Apr 2010 14:35:26 -0000 1.116
+++ respec.js 28 May 2010 15:21:12 -0000 1.117
@@ -980,7 +980,7 @@
for (var i = 0; i < dfns.length; i++) {
var dfn = dfns[i];
var title = this._getDfnTitle(dfn);
- dfnMap[title] = sn.makeID(dfn, "dfn", title);
+ dfnMap[title.toLowerCase()] = sn.makeID(dfn, "dfn", title);
}
var ants = document.querySelectorAll("a:not([href])");
@@ -988,7 +988,7 @@
var ant = ants[i];
// if (ant.getAttribute("class") == "externalDFN") continue;
if (sn.hasClass(ant, "externalDFN")) continue;
- var title = this._getDfnTitle(ant);
+ var title = this._getDfnTitle(ant).toLowerCase();
if (dfnMap[title] && !(dfnMap[title] instanceof Function)) {
ant.setAttribute("href", "#" + dfnMap[title]);
// ant.setAttribute("class", "internalDFN");
Received on Friday, 28 May 2010 15:21:16 UTC