Skip to content

Commit f66649c

Browse files
committed
Fix respec warnings: extraCSS, data-transform/escapeContents.
1 parent 7c5139a commit f66649c

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

index.html

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@
4040
// if this is a LCWD, uncomment and set the end of its review period
4141
// lcEnd: "2009-08-05",
4242

43-
// if you want to have extra CSS, append them to this list
44-
// it is recommended that the respec.css stylesheet be kept
45-
extraCSS: ["http://www.w3.org/StyleSheets/TR/W3C-TR.css", "http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css"],
46-
4743
// editors, add as many as you like
4844
// only "name" is required
4945
editors: [
@@ -88,12 +84,6 @@
8884
white-space: pre-wrap;
8985
}
9086
</style>
91-
92-
<script>
93-
function escapeContents(doc, content) {
94-
return doc._esc(content);
95-
}
96-
</script>
9787
</head>
9888
<body>
9989
<section id='abstract'>
@@ -492,7 +482,7 @@ <h2>Synthetic cursor interaction with HTML DOM UI</h2>
492482
following code should permit a custom cursor to send click events while
493483
the pointer is locked:</p>
494484

495-
<pre class='example' data-transform='escapeContents'>
485+
<pre class='example highlight'>
496486
document.addEventListener("click", function (e) {
497487
if (e._isSynthetic)
498488
return;

0 commit comments

Comments
 (0)