no globals
This commit is contained in:
parent
234c5fc760
commit
356ab68a12
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ pandora.ui.clipList = function(videoRatio) {
|
||||||
item: function(data, sort, size) {
|
item: function(data, sort, size) {
|
||||||
size = size || 128; // fixme: is this needed?
|
size = size || 128; // fixme: is this needed?
|
||||||
var ratio, width, height,
|
var ratio, width, height,
|
||||||
format, info, sortKey, url;
|
format, info, sortKey, title, url;
|
||||||
if (!ui.item) {
|
if (!ui.item) {
|
||||||
ratio = data.videoRatio;
|
ratio = data.videoRatio;
|
||||||
width = ratio > fixedRatio ? size : Math.round(size * ratio / fixedRatio);
|
width = ratio > fixedRatio ? size : Math.round(size * ratio / fixedRatio);
|
||||||
|
|
Loading…
Reference in a new issue