vlc | branch: master | Francois Cartegnie <[email protected]> | Wed Sep 21 
13:02:31 2011 +0200| [db05c860f04a51c8c8179f5005ec5d61c83123bb] | committer: 
Francois Cartegnie

web intf: lint validation fix

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=db05c860f04a51c8c8179f5005ec5d61c83123bb
---

 share/lua/http/js/common.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/share/lua/http/js/common.js b/share/lua/http/js/common.js
index 9982b23..483a595 100644
--- a/share/lua/http/js/common.js
+++ b/share/lua/http/js/common.js
@@ -1,7 +1,7 @@
 var intv       =       0;
 var ccmd       =       "";
-var video_types                        =       new 
Array('avi','mp4','wmv','mov','swf','vob','mkv','mpg');
-var audio_types                        =       new Array('mp3','wav');
+var video_types                        =       
['avi','mp4','wmv','mov','swf','vob','mkv','mpg'];
+var audio_types                        =       ['mp3','wav'];
 var stream_server              =       window.location.hostname;
 function format_time( s ){
     var hours  = Math.floor(s/3600);
@@ -17,7 +17,7 @@ function setIntv(){
                intv++;
                setTimeout(setIntv,500);
        }else{
-               intv=0
+               intv=0;
        }
        if(intv>5){
                var nt  =       0;
@@ -58,4 +58,4 @@ function createElementLi(name,type,dir,ext){
        var open        =       type=="dir" ? "opendir='"+dir+"'" : 
(type=="file" ? "openfile='"+dir+"'" : "opendev='"+dir+"'");
        var str         =       "<li class='system_icon ui-widget-content' 
"+open+" ><img src='images/"+icon+"' width='48px' height='48px' 
title='"+name+"' alt='"+name+"' style='border: none;background:none;'/><div 
style='font-size:10px;border:none;background:none;'>"+name+"</div></li>";
        return str;
-}
\ No newline at end of file
+}

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to