- From: Anssi Kostiainen via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 13 Sep 2011 06:20:17 +0000
- To: public-dap-commits@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 UTC