[xiph-commits] r4074 - itext

silvia at svn.annodex.net silvia at svn.annodex.net
Thu Feb 11 20:37:43 PST 2010


Author: silvia
Date: 2010-02-11 20:37:43 -0800 (Thu, 11 Feb 2010)
New Revision: 4074

Modified:
   itext/chocolate_rain.html
   itext/elephant_no_skin.html
Log:
Just some re-formatting.


Modified: itext/chocolate_rain.html
===================================================================
--- itext/chocolate_rain.html	2010-02-11 07:27:05 UTC (rev 4073)
+++ itext/chocolate_rain.html	2010-02-12 04:37:43 UTC (rev 4074)
@@ -93,8 +93,8 @@
   var audio = document.getElementsByTagName("audio")[0];
   
   // parse itexts and create an invisible menu for them
-    var itexts1=new ItextCollection(jQuery(video), "itextcontainer1");
-    var itexts2=new ItextCollection(jQuery(audio), "itextcontainer2");
+  var itexts1=new ItextCollection(jQuery(video), "itextcontainer1");
+  var itexts2=new ItextCollection(jQuery(audio), "itextcontainer2");
     
   // set callback for video
   video.addEventListener("timeupdate", function() {

Modified: itext/elephant_no_skin.html
===================================================================
--- itext/elephant_no_skin.html	2010-02-11 07:27:05 UTC (rev 4073)
+++ itext/elephant_no_skin.html	2010-02-12 04:37:43 UTC (rev 4074)
@@ -160,16 +160,16 @@
   var video = document.getElementsByTagName("video")[0];
   
   // parse itexts and create an invisible menu for them
-    var itexts=new ItextCollection(jQuery(video), "itextcontainer");
-    itexts.itextMenu(jQuery("#menu"), "window");
+  var itexts=new ItextCollection(jQuery(video), "itextcontainer");
+  itexts.itextMenu(jQuery("#menu"), "window");
     
   // set callback for video
   video.addEventListener("timeupdate", function() {
-        if (video.paused || video.ended) {
-            return;
-        }
-        itexts.show(self.video.currentTime);
-    }, false);
+      if (video.paused || video.ended) {
+          return;
+      }
+      itexts.show(self.video.currentTime);
+  }, false);
 
   // get itext button
   var itext_btn = document.getElementById("itext_menu");
@@ -186,16 +186,14 @@
       // make subtitle menu invisible
       jQuery(".catMenu").css("visibility", "hidden");
     }
-  }
-  ,false);
+  }, false);
   itext_btn.addEventListener("mouseout", function() {
     if (visitext) {
         // make subtitle menu invisible
       visitext=!visitext;
         jQuery(".catMenu").css("visibility", "hidden");
     }
-  }
-  ,false);
+  }, false);
 
 </script>
 



More information about the commits mailing list