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

2009/dap/ReSpec.js/js respec.js,1.117,1.118

From: Robin Berjon via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 23 Jun 2010 09:37:31 +0000
To: public-dap-commits@w3.org
Message-Id: <E1ORMOh-0002jZ-1Z@lionel-hutz.w3.org>
Update of /sources/public/2009/dap/ReSpec.js/js
In directory hutz:/tmp/cvs-serv10457/ReSpec.js/js

Modified Files:
	respec.js 
Log Message:
noRecTrack

Index: respec.js
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -d -r1.117 -r1.118
--- respec.js	28 May 2010 15:21:12 -0000	1.117
+++ respec.js	23 Jun 2010 09:37:28 -0000	1.118
@@ -338,8 +338,9 @@
         if (!cfg.noIDLIn) cfg.noIDLIn = false;
         if (!cfg.maxTocLevel) cfg.maxTocLevel = 0;
         if (!cfg.diffTool) cfg.diffTool = 'http://www3.aptest.com/standards/htmldiff/htmldiff.pl';
+        if (!cfg.noRecTrack) cfg.noRecTrack = false;
         for (var k in cfg) this[k] = cfg[k];
-        this.isRecTrack = this.recTrackStatus.indexOf(this.specStatus) >= 0;
+        this.isRecTrack = cfg.noRecTrack ? false : this.recTrackStatus.indexOf(this.specStatus) >= 0;
         this.isNoTrack = this.noTrackStatus.indexOf(this.specStatus) >= 0;
         // this.specStatus = this._getMetaFor("http://berjon.com/prop/spec-status", "ED");
         // this.shortName = this._getMetaFor("http://berjon.com/prop/short-name", "xxx-xxx");
Received on Wednesday, 23 June 2010 09:37:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 23 June 2010 09:37:41 GMT