Use the `ProtoViewDto` created by the render `Compiler` to create a `ChangeDetectorDefinition`. From there, generate a subclass of `AbstractChangeDetector` for each `ChangeDetectorDefinition`. Run some basic unit tests for the dynamic and JIT change detectors on pre-generated change detectors.
		
			
				
	
	
		
			6 lines
		
	
	
		
			111 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			111 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
// Ignore me, needed to support Angular 2 Dart.
 | 
						|
 | 
						|
export function getFactoryById(id: string) {
 | 
						|
  return null;
 | 
						|
}
 |