define(["syncJobList","connectionManager"],function(syncJobList,connectionManager){"use strict";return function(view,params){var apiClient=connectionManager.currentApiClient(),mySyncJobList=new syncJobList({mode:"download",serverId:apiClient.serverId(),userId:null,element:view.querySelector(".syncActivity")});view.addEventListener("viewdestroy",function(){mySyncJobList.destroy()})}});