W3C home > Mailing lists > Public > public-dap-commits@w3.org > April 2011

2009/dap/ReSpec.js/js simple-node.js,1.7,1.8

From: Robin Berjon via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 29 Apr 2011 14:11:28 +0000
To: public-dap-commits@w3.org
Message-Id: <E1QFoPo-0002S8-BP@lionel-hutz.w3.org>
Update of /sources/public/2009/dap/ReSpec.js/js
In directory hutz:/tmp/cvs-serv9414/js

Modified Files:
	simple-node.js 
Log Message:
caching is too likely to fail

Index: simple-node.js
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/js/simple-node.js,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- simple-node.js	29 Apr 2011 13:52:12 -0000	1.7
+++ simple-node.js	29 Apr 2011 14:11:26 -0000	1.8
@@ -130,7 +130,8 @@
             while (this.doc.getElementById(id + "-" + inc) || this.idCache[id + "-" + inc]) inc++;
             id = id + "-" + inc;
         }
-        this.idCache[id] = true;
+        // XXX disable caching for now
+        // this.idCache[id] = true;
         return id;
     },
     
Received on Friday, 29 April 2011 14:11:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 29 April 2011 14:11:29 GMT