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.
		
			
				
	
	
		
			12 lines
		
	
	
		
			269 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			269 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
import 'dart:html';
 | 
						|
 | 
						|
import 'package:angular2/core.dart';
 | 
						|
 | 
						|
@Injectable()
 | 
						|
// #docregion class
 | 
						|
class Logger {
 | 
						|
  void log(Object msg) => window.console.log(msg);
 | 
						|
  void error(Object msg) => window.console.error(msg);
 | 
						|
  void warn(Object msg) => window.console.warn(msg);
 | 
						|
}
 |