code: function resolveElements(segments, elements) {
  		for (var i=0; i<segments.length; i++) {
  			var segment = segments[i];
  			var event = segment.event;
  			var element = elements.eq(i);
  
  			// call the trigger with the original element
  			var triggerRes = trigger('eventRender', event, event, element);
  
  			if (triggerRes === false) {
  				// if `false`, remove the event from the DOM and don't assign it to `segment.event`
  				element.remove();
  			}
  			else {
  				if (triggerRes && triggerRes !== true) {
  					// the trigger returned a new element, but not `true` (which means keep the existing element)
  
  					// re-assign the important CSS dimension properties that were already assigned in `buildHTMLForSegment`
  					triggerRes = $(triggerRes)
  						.css({
  							position: 'absolute',
  							left: segment.left
  						});
  
  					element.replaceWith(triggerRes);
  					element = triggerRes;
  				}
  
  				segment.element = element;
  			}
  		}
  	}
docs: Associate each segment (an object) with an element (a jQuery object), by setting each `segment.element`. Run each element through the `eventRender` filter, which allows developers to modify an existing element, supply a new one, or cancel rendering.