raw/ace/assets/js/uncompressed/fullcalendar.js
function buildSegments(events) {
		var segments = [];
		for (var i=0; i<events.length; i++) {
			var eventSegments = buildSegmentsForEvent(events[i]);
			segments.push.apply(segments, eventSegments); // append an array to an array
		}
		return segments;
	}
function buildSegments(events) {
		var segments = [];
		for (var i=0; i<events.length; i++) {
			var eventSegments = buildSegmentsForEvent(events[i]);
			segments.push.apply(segments, eventSegments); // append an array to an array
		}
		return segments;
	}
function buildSegments ( events ) { var segments = [ ] ; for ( var i = 0 ; i < events . length ; i ++ ) { var eventSegments = buildSegmentsForEvent ( events [ i ] ) ; segments . push . apply ( segments , eventSegments ) ; // append an array to an array } return segments ; }
Generate an array of "segments" for all events.
Generate an array of segments for all events .