W3C home > Mailing lists > Public > public-dap-commits@w3.org > June 2010

2009/dap/ReSpec.js/js respec.js,1.123,1.124

From: Frederick Hirsch via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 23 Jun 2010 17:49:26 +0000
To: public-dap-commits@w3.org
Message-Id: <E1ORU4k-00027p-0M@lionel-hutz.w3.org>
Update of /sources/public/2009/dap/ReSpec.js/js
In directory hutz:/tmp/cvs-serv8155

Modified Files:
	respec.js 
Log Message:
enable WG-NOTE stylesheet use for FPWD-NOTE, LC-NOTE, WD-NOTE
add FPWD-NOTE to list for versions not to include previous version


Index: respec.js
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -d -r1.123 -r1.124
--- respec.js	23 Jun 2010 14:34:30 -0000	1.123
+++ respec.js	23 Jun 2010 17:49:23 -0000	1.124
@@ -391,7 +391,12 @@
             for (var i = 0; i < this.extraCSS.length; i++) this._insertCSS(this.extraCSS[i], this.inlineCSS);
         }
         var statStyle = this.specStatus;
-        if (statStyle == "FPWD" || statStyle == "LC" || statStyle == "WD-NOTE" || statStyle == "LC-NOTE" || statStyle == "FPWD-NOTE") statStyle = "WD";
+        if (statStyle == "FPWD" || statStyle == "LC")  {
+            statStyle = "WD";
+        } else if ( statStyle == "WD-NOTE" || statStyle == "LC-NOTE"
+        || statStyle == "FPWD-NOTE") {
+            statStyle = "WG-NOTE";
+        }
         var css;
         if (statStyle == "unofficial") {
             css = "http://www.w3.org/StyleSheets/TR/w3c-unofficial";
@@ -538,7 +543,8 @@
                 header += "<dt>Latest editor's draft:</dt><dd><a href='" + this.edDraftURI + "'>" + this.edDraftURI + "</a></dd>";
             }
         }
-        if (this.specStatus != "FPWD" && !this.isNoTrack) {
+        if (this.specStatus != "FPWD" && this.specStatus != "FPWD-NOTE" &&
+            !this.isNoTrack) {
             if (!this.prevED) {
                 header += "<dt>Previous version:</dt><dd>" + prevVersion + "</dd>";
             } else {
Received on Wednesday, 23 June 2010 17:49:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 23 June 2010 17:49:28 GMT