cleanup, remove trailing whitespace

This commit is contained in:
rolux 2011-10-29 19:46:46 +02:00
parent c6f11433f9
commit 51e9e72f32
34 changed files with 63 additions and 72 deletions

View file

@ -352,7 +352,6 @@ window.onerror = function(error, url, line) {
})
.html(html)
.appendTo($message);
});
function loadImages(images, callback) {

View file

@ -287,7 +287,6 @@ pandora.Query = (function() {
find: constructFind(pandora.user.ui.query),
sort: (operator == pandora.getSortOperator(key) ? '' : operator) + key
});
} else {
return pandora.user.ui.item + '/' + pandora.user.ui.itemView;
}

View file

@ -124,7 +124,6 @@ pandora.URL = (function() {
pandora.user.ui._list = pandora.getListsState(pandora.user.ui.find);
pandora.user.ui._groupsState = pandora.getGroupsState(pandora.user.ui.find);
pandora.user.ui._findState = pandora.getFindState(pandora.user.ui.find);
} else {
/*
pandora.UI.set({

View file

@ -46,7 +46,6 @@ pandora.ui.filter = function(list) {
pandora.$ui.groups.forEach(function($group) {
$group.reloadList();
});
});
} else {
pandora.UI.set({find: data.query});

View file

@ -296,7 +296,6 @@ pandora.ui.folderList = function(id) {
//var $list = pandora.$ui.folderList[id];
if (data.key == 'user') {
pandora.$ui.listDialog = pandora.ui.listDialog('icon').open();
} else if (data.key == 'type') {
if (that.value(data.id, 'type') == 'smart') {
pandora.$ui.listDialog = pandora.ui.listDialog('query').open();

View file

@ -32,5 +32,4 @@ pandora.ui.helpDialog = function() {
content.html('Help is coming soon...')
});
return that;
};

View file

@ -738,7 +738,6 @@ pandora.ui.infoView = function(data) {
})
.appendTo($info);
});
}
function renderRightsLevel() {

View file

@ -280,7 +280,6 @@ pandora.ui.item = function() {
//fixme: check that edit was successfull
pandora.api.editAnnotation(data, function(result) {
Ox.print('done updateAnnotation', result);
});
},
pandora_showannotations: function(data) {

View file

@ -6,7 +6,6 @@ pandora.ui.status = function(key, data) {
if (!pandora.user.ui.item && pandora.user.ui.listView == 'clip') {
itemName = data.items != 1 ? 'Clips' : 'Clip';
}
segments.push(Ox.formatNumber(data.items) + ' '+ itemName);
if (data.runtime)
segments.push(Ox.formatDuration(data.runtime, 'short'));