Вы можете добавить / установить класс в качестве флага сортировки. В этом случае мы добавим класс с именем applied
//scroll through each upload item
$('.upload').each(function(){
//Make sure class is not found
if (!$(this).hasClass('applied'))
//Apply Class and Upload Plugin
$(this).addClass('applied').fileUploadUI({...});
});
Обновление , как указано ниже yoavmatchulsky
, вы также можете, проще сделать
$('.upload:not(.applied)').addClass('applied').fileUploadUI({...});