forked from 0x2620/pandora
add missing semicolons
This commit is contained in:
parent
be27aa8208
commit
a49c0ec276
1 changed files with 4 additions and 4 deletions
|
@ -937,7 +937,7 @@ pandora.getDownloadLink = function(item, rightslevel) {
|
||||||
torrent = false;
|
torrent = false;
|
||||||
}
|
}
|
||||||
return '/' + item + (torrent ? '/torrent/' : '/download/');
|
return '/' + item + (torrent ? '/torrent/' : '/download/');
|
||||||
}
|
};
|
||||||
|
|
||||||
pandora.getEditTooltip = function(title) {
|
pandora.getEditTooltip = function(title) {
|
||||||
return function(e) {
|
return function(e) {
|
||||||
|
@ -1056,7 +1056,7 @@ pandora.getInfoHeight = function(section, includeHidden) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return height;
|
return height;
|
||||||
}
|
};
|
||||||
|
|
||||||
pandora.getItem = function(state, str, callback) {
|
pandora.getItem = function(state, str, callback) {
|
||||||
if (state.type == pandora.site.itemName.plural.toLowerCase()) {
|
if (state.type == pandora.site.itemName.plural.toLowerCase()) {
|
||||||
|
@ -1145,7 +1145,7 @@ pandora.getItem = function(state, str, callback) {
|
||||||
} else {
|
} else {
|
||||||
callback();
|
callback();
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
pandora.getItemFind = function(find) {
|
pandora.getItemFind = function(find) {
|
||||||
var itemFind = '';
|
var itemFind = '';
|
||||||
|
@ -1650,7 +1650,7 @@ pandora.getVideoURL = function(id, resolution, part) {
|
||||||
.replace('{resolution}', resolution)
|
.replace('{resolution}', resolution)
|
||||||
.replace('{uid}', Ox.uid());
|
.replace('{uid}', Ox.uid());
|
||||||
return prefix + '/' + id + '/' + resolution + 'p' + part + '.' + pandora.user.videoFormat;
|
return prefix + '/' + id + '/' + resolution + 'p' + part + '.' + pandora.user.videoFormat;
|
||||||
}
|
};
|
||||||
|
|
||||||
pandora.getVideoOptions = function(data) {
|
pandora.getVideoOptions = function(data) {
|
||||||
var canPlayClips = data.editable || pandora.site.capabilities.canPlayClips[pandora.user.level] >= data.rightslevel,
|
var canPlayClips = data.editable || pandora.site.capabilities.canPlayClips[pandora.user.level] >= data.rightslevel,
|
||||||
|
|
Loading…
Reference in a new issue