```javascript
/ requires generic_view */ (function () { YAHOO.G4.ActivitiesView = function (cont, opts) { YAHOO.G4.ActivitiesView.superclass.constructor.call (this, cont, opts); };
var Dom = YAHOO.util.Dom, Config = YAHOO.util.Config, ActivitiesView = YAHOO.G4.ActivitiesView, Lang = YAHOO.lang, GenericView = YAHOO.G4.GenericView;
ActivitiesView.API_DO_URL = ‘/api/activity/do/’;
ActivitiesView.label_formatter = function (elCell, oRecord, oColumn, oData) { var color = oRecord.getData(‘color’), title = oRecord.getData(‘title’);
elCell.innerHTML = '<span class=\"t-label-dt\">'+title+'</span>';}