closes #1807 - e2e tests now also cover the tax calculator. - Dart app updated to match TS (it had no sales tax calculator). - TS sample source cleanup (e.g. removed many unnecessary `docregions`). - Prose updated to include @kwalrath's revisions from a while ago, Ward's comments, and some of my edits as well. Contributes to #1598 and #1508.
		
			
				
	
	
		
			10 lines
		
	
	
		
			226 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			226 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { Injectable } from '@angular/core';
 | |
| 
 | |
| @Injectable()
 | |
| // #docregion class
 | |
| export class Logger {
 | |
|   log(msg: any)   { console.log(msg); }
 | |
|   error(msg: any) { console.error(msg); }
 | |
|   warn(msg: any)  { console.warn(msg); }
 | |
| }
 |