2015-07-01 12:10:14 -07:00
|
|
|
DDH.independence_day = DDH.independence_day || {};
|
|
|
|
DDH.independence_day.build = function(ops) {
|
2015-07-30 20:59:01 -07:00
|
|
|
var flagUrl = DDG.settings.region.getLargeIconURL(ops.data.country_code);
|
|
|
|
// makes flag icon url point to a 64 px image.
|
|
|
|
flagUrl = flagUrl.replace(/\/\d+\//, "/64/");
|
2015-07-01 12:10:14 -07:00
|
|
|
return {
|
|
|
|
normalize: function(item) {
|
2015-07-09 10:43:33 -07:00
|
|
|
return {
|
2015-07-30 20:59:01 -07:00
|
|
|
image: flagUrl
|
2015-07-01 12:10:14 -07:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|