// Keep track of a counter for use in generating
// ids for anonymous components.
this.anonymousRegionCounter = 0;
Component.prototype._renderRegions
// If region has no id, generate a unique region id w/i this component
// that is unlikely to collide with my other named regions
var thisComponent = self;
if (!region.id) {
region.id = ''+
Framework.id +
'__anonymous_region__' +
thisComponent.anonymousRegionCounter;
// Increment counter for next time
self.anonymousRegionCounter++;
}
Component constructor
Component.prototype._renderRegions