X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/examples/calendar/src/templates/DayBodyTemplate.js diff --git a/examples/calendar/src/templates/DayBodyTemplate.js b/examples/calendar/src/templates/DayBodyTemplate.js deleted file mode 100644 index b458ce79..00000000 --- a/examples/calendar/src/templates/DayBodyTemplate.js +++ /dev/null @@ -1,89 +0,0 @@ -/*! - * Ext JS Library 3.3.1 - * Copyright(c) 2006-2010 Sencha Inc. - * licensing@sencha.com - * http://www.sencha.com/license - */ -/** - * @class Ext.calendar.DayBodyTemplate - * @extends Ext.XTemplate - *

This is the template used to render the scrolling body container used in {@link Ext.calendar.DayView DayView} and - * {@link Ext.calendar.WeekView WeekView}. This template is automatically bound to the underlying event store by the - * calendar components and expects records of type {@link Ext.calendar.EventRecord}.

- *

Note that this template would not normally be used directly. Instead you would use the {@link Ext.calendar.DayViewTemplate} - * that internally creates an instance of this template along with a {@link Ext.calendar.DayHeaderTemplate}.

- * @constructor - * @param {Object} config The config object - */ -Ext.calendar.DayBodyTemplate = function(config){ - - Ext.apply(this, config); - - Ext.calendar.DayBodyTemplate.superclass.constructor.call(this, - '', - '', - '', - '', - '', - '', - '', - '', - '', - '', - '', - '', - '', - '
', - '
', - '
', - '', - '
', - '
', - '
', - '
', - '
', - '
', - '
', - '', - '
', - '
{.}
', - '
', - '
', - '
', - '
', - '
', - '
', - '
' - ); -}; - -Ext.extend(Ext.calendar.DayBodyTemplate, Ext.XTemplate, { - // private - applyTemplate : function(o){ - this.today = new Date().clearTime(); - this.dayCount = this.dayCount || 1; - - var i = 0, days = [], - dt = o.viewStart.clone(), - times; - - for(; i