plugins/calendar.js
function() {
			// First deselect everything
			this.el.all('td.selected').removeClass('selected')
			
			for (var i=0,date;date=this.selected[i];i++) {
				var cell = this.el.one('.pane[data-month="' + date.month + '"][data-year="' + date.year + '"] td[data-day="' + date.day + '"]')
				if (cell._node) {
					cell.addClass('selected')
				}
			}
		}
function() {
			// First deselect everything
			this.el.all('td.selected').removeClass('selected')
			
			for (var i=0,date;date=this.selected[i];i++) {
				var cell = this.el.one('.pane[data-month="' + date.month + '"][data-year="' + date.year + '"] td[data-day="' + date.day + '"]')
				if (cell._node) {
					cell.addClass('selected')
				}
			}
		}
function ( ) { // First deselect everything this . el . all ( 'td.selected' ) . removeClass ( 'selected' ) for ( var i = 0 , date ; date = this . selected [ i ] ; i ++ ) { var cell = this . el . one ( '.pane[data-month="' + date . month + '"][data-year="' + date . year + '"] td[data-day="' + date . day + '"]' ) if ( cell . _node ) { cell . addClass ( 'selected' ) } } }
Selects all cells in this.selection
Selects all cells in this . selection