raw/ace/assets/js/uncompressed/fullcalendar.js
function setVerticals(segments, doRowHeights) {
		var rowContentHeights = calculateVerticals(segments); // also sets segment.top
		var rowContentElements = getRowContentElements(); // returns 1 inner div per row
		var rowContentTops = [];

		// Set each row's height by setting height of first inner div
		if (doRowHeights) {
			for (var i=0; i<rowContentElements.length; i++) {
				rowContentElements[i].height(rowContentHeights[i]);
			}
		}

		// Get each row's top, relative to the views's origin.
		// Important to do this after setting each row's height.
		for (var i=0; i<rowContentElements.length; i++) {
			rowContentTops.push(
				rowContentElements[i].position().top
			);
		}

		// Set each segment element's CSS "top" property.
		// Each segment object has a "top" property, which is relative to the row's top, but...
		segmentElementEach(segments, function(segment, element) {
			element.css(
				'top',
				rowContentTops[segment.row] + segment.top // ...now, relative to views's origin
			);
		});
	}
function setVerticals(segments, doRowHeights) {
		var rowContentHeights = calculateVerticals(segments); // also sets segment.top
		var rowContentElements = getRowContentElements(); // returns 1 inner div per row
		var rowContentTops = [];

		// Set each row's height by setting height of first inner div
		if (doRowHeights) {
			for (var i=0; i<rowContentElements.length; i++) {
				rowContentElements[i].height(rowContentHeights[i]);
			}
		}

		// Get each row's top, relative to the views's origin.
		// Important to do this after setting each row's height.
		for (var i=0; i<rowContentElements.length; i++) {
			rowContentTops.push(
				rowContentElements[i].position().top
			);
		}

		// Set each segment element's CSS "top" property.
		// Each segment object has a "top" property, which is relative to the row's top, but...
		segmentElementEach(segments, function(segment, element) {
			element.css(
				'top',
				rowContentTops[segment.row] + segment.top // ...now, relative to views's origin
			);
		});
	}
function setVerticals ( segments , doRowHeights ) { var rowContentHeights = calculateVerticals ( segments ) ; // also sets segment.top var rowContentElements = getRowContentElements ( ) ; // returns 1 inner div per row var rowContentTops = [ ] ; // Set each row's height by setting height of first inner div if ( doRowHeights ) { for ( var i = 0 ; i < rowContentElements . length ; i ++ ) { rowContentElements [ i ] . height ( rowContentHeights [ i ] ) ; } } // Get each row's top, relative to the views's origin. // Important to do this after setting each row's height. for ( var i = 0 ; i < rowContentElements . length ; i ++ ) { rowContentTops . push ( rowContentElements [ i ] . position ( ) . top ) ; } // Set each segment element's CSS "top" property. // Each segment object has a "top" property, which is relative to the row's top, but... segmentElementEach ( segments , function ( segment , element ) { element . css ( 'top' , rowContentTops [ segment . row ] + segment . top // ...now, relative to views's origin ) ; } ) ; }
Sets the "top" CSS property for each element. If `doRowHeights` is `true`, also sets each row's first cell to an explicit height, so that if elements vertically overflow, the cell expands vertically to compensate.
Sets the top CSS property for each element . If doRowHeights is true also sets each row s first cell to an explicit height so that if elements vertically overflow the cell expands vertically to compensate .