62 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
		
		
			
		
	
	
			62 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| 
								 | 
							
								<!DOCTYPE html>
							 | 
						||
| 
								 | 
							
								<html>
							 | 
						||
| 
								 | 
							
								  <head>
							 | 
						||
| 
								 | 
							
								    <base href="/">
							 | 
						||
| 
								 | 
							
								    <meta name="viewport" content="width=device-width, initial-scale=1">
							 | 
						||
| 
								 | 
							
								    <link rel="stylesheet" href="styles.css">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <!-- IE required polyfills, in this exact order -->
							 | 
						||
| 
								 | 
							
								    <script src="node_modules/es6-shim/es6-shim.min.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="node_modules/systemjs/dist/system-polyfills.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <script src="node_modules/angular2/bundles/angular2-polyfills.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="node_modules/systemjs/dist/system.src.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="node_modules/rxjs/bundles/Rx.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="node_modules/angular2/bundles/angular2.dev.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="node_modules/angular2/bundles/router.dev.js"></script>
							 | 
						||
| 
								 | 
							
								    <script>
							 | 
						||
| 
								 | 
							
								      System.config({
							 | 
						||
| 
								 | 
							
								        packages: {
							 | 
						||
| 
								 | 
							
								          app: {
							 | 
						||
| 
								 | 
							
								            format: 'register',
							 | 
						||
| 
								 | 
							
								            defaultExtension: 'js'
							 | 
						||
| 
								 | 
							
								          }
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								      });
							 | 
						||
| 
								 | 
							
								      System.import('app/main')
							 | 
						||
| 
								 | 
							
								            .then(null, console.error.bind(console));
							 | 
						||
| 
								 | 
							
								    </script>
							 | 
						||
| 
								 | 
							
								  </head>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  <body>
							 | 
						||
| 
								 | 
							
								    <a id="toc"></a>
							 | 
						||
| 
								 | 
							
								    <h1>TypeScript to JavaScript</h1>
							 | 
						||
| 
								 | 
							
								    <a href="#class-metadata">Classes and Class Metadata</a><br>
							 | 
						||
| 
								 | 
							
								    <a href="#property-metadata">Input and Output Metadata</a><br>
							 | 
						||
| 
								 | 
							
								    <a href="#dependency-injection">Dependency Injection</a><br>
							 | 
						||
| 
								 | 
							
								    <a href="#other-property-metadata">Host and Query Metadata</a><br>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    <hr>
							 | 
						||
| 
								 | 
							
								    <h4 id="class-metadata">Classes and Class Metadata</h4> 
							 | 
						||
| 
								 | 
							
								    <hero-view id="class-metadata">Loading hero-view...</hero-view>
							 | 
						||
| 
								 | 
							
								    <hero-lifecycle>Loading hero-lifecycle...</hero-lifecycle>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    <hr>
							 | 
						||
| 
								 | 
							
								    <h4 id="property-metadata">Input and Output Metadata</h4> 
							 | 
						||
| 
								 | 
							
								    <hero-io>Loading hero-io...</hero-io>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <hr>
							 | 
						||
| 
								 | 
							
								    <h4 id="dependency-injection">Dependency Injection</h4> 
							 | 
						||
| 
								 | 
							
								    <hero-di>Loading hero-di...</hero-di>
							 | 
						||
| 
								 | 
							
								    <hero-di-inject>Loading hero-di-inject...</hero-di-inject>  
							 | 
						||
| 
								 | 
							
								    <hero-di-inject-additional>Loading hero-di-inject-additional...</hero-di-inject-additional>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    <hr>
							 | 
						||
| 
								 | 
							
								    <h4 id="other-property-metadata">Host and Query Metadata</h4>   
							 | 
						||
| 
								 | 
							
								    <heroes-bindings>Loading heroes-bindings...</heroes-bindings>
							 | 
						||
| 
								 | 
							
								    <heroes-queries id="other-property-metadata">Loading heroes-queries...</heroes-queries>
							 | 
						||
| 
								 | 
							
								  </body>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								</html>
							 |