define('application/formatters/search/vodasset', [
'antie/iterator',
'antie/runtimecontext',
'application/formatters/vodasset'
], function (
Iterator,
RuntimeContext,
VodFormatter
) {
'use strict';
var layout = RuntimeContext.getCurrentApplication().getLayout().search.asset.vod;
return VodFormatter.extend({
/**
* Formats the widget.
*
* @param {Object|Iterator} item - The item.
* @returns {Object} - The formatted widget.
*/
format: function format (item) {
var formatParams = {
width: layout.width,
height: layout.height
};
return format.base.call(this, item, formatParams);
}
});
});