From 06ecd17cc656333e6658a13895a44b39884a0dff Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 8 Oct 2011 11:10:01 +0200 Subject: [PATCH] no globals --- source/Ox.UI/Ox.UI.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/Ox.UI.js b/source/Ox.UI/Ox.UI.js index 9aa4c683..de2eefe7 100644 --- a/source/Ox.UI/Ox.UI.js +++ b/source/Ox.UI/Ox.UI.js @@ -295,7 +295,7 @@ Ox.load.UI = function(options, callback) { 'ogg': 'video/ogg; codecs="theora, vorbis"', 'webm': 'video/webm; codecs="vp8, vorbis"' }, - userAgent = navigator.userAgent.toLowerCase(); + userAgent = navigator.userAgent.toLowerCase(), video = document.createElement('video'); Ox.forEach(formats, function(f) { var alias = aliases[f] || f; @@ -399,4 +399,4 @@ Ox.load.UI = function(options, callback) { } -}; \ No newline at end of file +};