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

2009/dap/system-info battery-status-patch.js,1.1,1.2

From: Anssi Kostiainen via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 13 Sep 2011 06:20:17 +0000
To: public-dap-commits@w3.org
Message-Id: <E1R3MLx-0008IJ-Pr@lionel-hutz.w3.org>
Update of /sources/public/2009/dap/system-info
In directory hutz:/tmp/cvs-serv31869

Modified Files:
	battery-status-patch.js 
Log Message:
remove as redundant, respec.js handles this

Index: battery-status-patch.js
===================================================================
RCS file: /sources/public/2009/dap/system-info/battery-status-patch.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- battery-status-patch.js	12 Sep 2011 07:46:57 -0000	1.1
+++ battery-status-patch.js	13 Sep 2011 06:20:15 -0000	1.2
@@ -1,6 +1,5 @@
 // a monkey patch to move BatteryStatusEventInit dictionary into the
-// same WebIDL block with BatteryStatusEvent interface, and to rename
-// Members to Dictionary Members
+// same WebIDL block with BatteryStatusEvent interface
 window.addEventListener('load', function () {
   var _dictionary = setTimeout (function () {
     var idlbsei = document.querySelector('#idl-def-BatteryStatusEventInit'),
@@ -26,13 +25,6 @@
       ifbse.removeChild(idlbsei.parentNode);
       idlbse.parentNode.appendChild(document.createElement('br'));
       idlbse.parentNode.appendChild(idlbsei);
-      members_header.textContent = members_header.textContent.replace(/Members/, 'Dictionary Members');
-
-      for (i in toc) {
-        if (toc[i].textContent && toc[i].textContent.indexOf('Members') !== -1) {
-          toc[i].textContent = toc[i].textContent.replace(/Members/, 'Dictionary Members');
-        }
-      }
     }
   }, 2000);
 }, false);
\ No newline at end of file
Received on Tuesday, 13 September 2011 06:20:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 13 September 2011 06:20:20 GMT