pandora_amp/static/js/getItemTitle.amp.js
2017-12-15 17:08:12 +00:00

5 lines
183 B
JavaScript

'use strict';
pandora.getItemTitle = function(itemData, includeYear) {
return (itemData.title || Ox._('Untitled')) + (includeYear && itemData.year ? ' ' + itemData.year : '')
};