define(['itemHelper', 'mediaInfo', 'indicators', 'clearButtonStyle', 'css!./listview'], function (itemHelper, mediaInfo, indicators) { function getListViewHtml(items, options) { var outerHtml = ""; var index = 0; var groupTitle = ''; var action = options.action || 'link'; var isLargeStyle = options.imageSize == 'large'; var enableOverview = options.enableOverview; outerHtml += items.map(function (item) { var html = ''; var cssClass = "itemAction clearButton listItem"; var downloadWidth = 80; if (isLargeStyle) { cssClass += " largeImage"; downloadWidth = 500; } html += ''; index++; return html; }).join(''); return outerHtml; } return { getListViewHtml: getListViewHtml }; });