Clean code.

This commit is contained in:
Lars Jung 2015-04-14 01:38:49 +02:00
parent 6137120b2e
commit cdca37e59d
19 changed files with 53 additions and 47 deletions

View file

@ -5,7 +5,6 @@ modulejs.define('ext/preview-img', ['_', '$', 'core/settings', 'core/event', 'co
size: null,
types: []
}, allsettings['preview-img']);
var templateLoading = '<img id="pv-img-image" class="loading"/>';
var spinnerThreshold = 200;
var spinnerTimeoutId;
var currentItems;
@ -139,7 +138,7 @@ modulejs.define('ext/preview-img', ['_', '$', 'core/settings', 'core/event', 'co
_.each(item.content, initItem);
}
function onLocationRefreshed(item, added, removed) {
function onLocationRefreshed(item, added) {
_.each(added, initItem);
}