[html5] r7061 - [e] (0) Fix some typos or copypasta. Fixing https://www.w3.org/Bugs/Public/show_ [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Apr 19 16:53:04 PDT 2012


Author: ianh
Date: 2012-04-19 16:53:03 -0700 (Thu, 19 Apr 2012)
New Revision: 7061

Modified:
   complete.html
   index
   source
Log:
[e] (0) Fix some typos or copypasta.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=15674
Affected topics: Video Text Tracks

Modified: complete.html
===================================================================
--- complete.html	2012-04-19 23:42:42 UTC (rev 7060)
+++ complete.html	2012-04-19 23:53:03 UTC (rev 7061)
@@ -33221,7 +33221,7 @@
    able to run the script at the exact time specified.</p>
 
    <pre>var sfx = new Audio('sfx.wav');
-var sounds = a.addTextTrack('metadata');
+var sounds = sfx.addTextTrack('metadata');
 
 // add sounds we care about
 sounds.addCue(new TextTrackCue('dog bark', 12.783, 13.612, '', '', '', true));

Modified: index
===================================================================
--- index	2012-04-19 23:42:42 UTC (rev 7060)
+++ index	2012-04-19 23:53:03 UTC (rev 7061)
@@ -33221,7 +33221,7 @@
    able to run the script at the exact time specified.</p>
 
    <pre>var sfx = new Audio('sfx.wav');
-var sounds = a.addTextTrack('metadata');
+var sounds = sfx.addTextTrack('metadata');
 
 // add sounds we care about
 sounds.addCue(new TextTrackCue('dog bark', 12.783, 13.612, '', '', '', true));

Modified: source
===================================================================
--- source	2012-04-19 23:42:42 UTC (rev 7060)
+++ source	2012-04-19 23:53:03 UTC (rev 7061)
@@ -36338,7 +36338,7 @@
    able to run the script at the exact time specified.</p>
 
    <pre>var sfx = new Audio('sfx.wav');
-var sounds = a.addTextTrack('metadata');
+var sounds = sfx.addTextTrack('metadata');
 
 // add sounds we care about
 sounds.addCue(new TextTrackCue('dog bark', 12.783, 13.612, '', '', '', true));




More information about the Commit-Watchers mailing list