- From: Frederick Hirsch via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 04 Jan 2012 16:56:38 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/ReSpec.js/js
In directory hutz:/tmp/cvs-serv21081
Modified Files:
respec.js
Log Message:
revert to 1.179
Index: respec.js
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v
retrieving revision 1.180
retrieving revision 1.181
diff -u -d -r1.180 -r1.181
--- respec.js 4 Jan 2012 16:22:08 -0000 1.180
+++ respec.js 4 Jan 2012 16:56:35 -0000 1.181
@@ -760,10 +760,10 @@
header += this.showPeople("Author", this.authors);
header += "</dl><p class='copyright'>";
header +=
- "<a href='http://www.w3.org/Consortium/Legal/ipr-notice#Copyright'>Copyright</a> &copy; " ;
+ "<a href='http://www.w3.org/Consortium/Legal/ipr-notice#Copyright'>Copyright</a> © " ;
if (this.copyrightStart && this.copyrightStart != this.publishDate.getFullYear()) header += this.copyrightStart + '-';
header += this.publishDate.getFullYear();
- header += " <a href='http://www.w3.org/'>W3C</a><sup>&reg;</sup> " +
+ header += " <a href='http://www.w3.org/'><acronym title='World Wide Web Consortium'>W3C</acronym></a><sup>®</sup> " +
"(<a href='http://www.csail.mit.edu/'><acronym title='Massachusetts Institute of Technology'>MIT</acronym></a>, " +
"<a href='http://www.ercim.eu/'><acronym title='European Research Consortium for Informatics and Mathematics'>ERCIM</acronym></a>, " +
"<a href='http://www.keio.ac.jp/'>Keio</a>), All Rights Reserved. " +
@@ -1240,33 +1240,18 @@
ref = ref.replace(/^\[\[/, "");
ref = ref.replace(/]]$/, "");
var norm = false;
- var inlineref = false;
if (ref.indexOf("!") == 0) {
norm = true;
ref = ref.replace(/^!/, "");
}
- if (ref.indexOf("%") == 0) {
- inlineref = true;
- ref = ref.replace(/^%/, "");
- }
if (berjon.biblio[ref]) {
if (norm) norms[ref] = true;
else informs[ref] = true;
- if(inlineref) {
- sn.element("p", {}, df);
- if (berjon.biblio[ref]) {
- p.innerHTML = berjon.biblio[ref] +
- "\n";
- } else {
- p. innerHTML = "Reference missing.\n";
- }
- } else {
- sn.text("[", df);
- // embed a cite with an a inside of it
- var el = sn.element("cite", {} , df);
- sn.element("a", { "class": "bibref", rel: "biblioentry", href: "#bib-" + ref }, el, ref);
- sn.text("]", df);
- }
+ sn.text("[", df);
+ // embed a cite with an a inside of it
+ var el = sn.element("cite", {} , df);
+ sn.element("a", { "class": "bibref", rel: "biblioentry", href: "#bib-" + ref }, el, ref);
+ sn.text("]", df);
}
else {
badrefcount++;
Received on Wednesday, 4 January 2012 16:56:51 UTC