pandora_amp/static/js/getItemTitle.amp.js

6 lines
183 B
JavaScript
Raw Normal View History

2017-12-15 17:08:12 +00:00
'use strict';
pandora.getItemTitle = function(itemData, includeYear) {
return (itemData.title || Ox._('Untitled')) + (includeYear && itemData.year ? ' ' + itemData.year : '')
};