- Dart code: fix issues raised by @thso during review. - Dart code: remove "show x" clauses from imports. - Dart add docsync config file. - Prose: make consistent use of _Http variables; otherwise use "HTTP". - Prose: add links to the demos list. * _heroesUrl as static const
		
			
				
	
	
		
			32 lines
		
	
	
		
			754 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			754 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
// #docplaster
 | 
						|
// #docregion
 | 
						|
import 'package:angular2/core.dart';
 | 
						|
 | 
						|
import 'toh/hero_list_component.dart';
 | 
						|
import 'wiki/wiki_component.dart';
 | 
						|
import 'wiki/wiki_smart_component.dart';
 | 
						|
 | 
						|
@Component(
 | 
						|
    selector: 'my-app',
 | 
						|
    template: '''
 | 
						|
      <hero-list></hero-list>
 | 
						|
      <my-wiki></my-wiki>
 | 
						|
      <my-wiki-smart></my-wiki-smart>
 | 
						|
    ''',
 | 
						|
    // #enddocregion
 | 
						|
    /*
 | 
						|
    // #docregion http-providers
 | 
						|
    providers: const [
 | 
						|
      // in-memory web api provider
 | 
						|
      const Provider(BrowserClient,
 | 
						|
          useFactory: HttpClientBackendServiceFactory, deps: const [])],
 | 
						|
    // #enddocregion http-providers
 | 
						|
    */
 | 
						|
    // #docregion
 | 
						|
    directives: const [
 | 
						|
      HeroListComponent,
 | 
						|
      WikiComponent,
 | 
						|
      WikiSmartComponent
 | 
						|
    ])
 | 
						|
class AppComponent {}
 |