| 
									
										
										
										
											2016-08-30 18:07:40 -07:00
										 |  |  | /** | 
					
						
							|  |  |  |  * @license | 
					
						
							|  |  |  |  * Copyright Google Inc. All Rights Reserved. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Use of this source code is governed by an MIT-style license that can be | 
					
						
							|  |  |  |  * found in the LICENSE file at https://angular.io/license
 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import {ResourceLoader, platformCoreDynamic} from '@angular/compiler'; | 
					
						
							| 
									
										
										
										
											2016-09-27 17:12:25 -07:00
										 |  |  | import {PlatformRef, Provider, createPlatformFactory} from '@angular/core'; | 
					
						
							| 
									
										
										
										
											2016-08-30 18:07:40 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | import {INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from './platform_providers'; | 
					
						
							|  |  |  | import {CachedResourceLoader} from './resource_loader/resource_loader_cache'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export * from './private_export'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /** | 
					
						
							|  |  |  |  * @experimental | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | export const RESOURCE_CACHE_PROVIDER: Provider[] = | 
					
						
							|  |  |  |     [{provide: ResourceLoader, useClass: CachedResourceLoader}]; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /** | 
					
						
							| 
									
										
										
										
											2016-10-07 13:54:06 -07:00
										 |  |  |  * @stable | 
					
						
							| 
									
										
										
										
											2016-08-30 18:07:40 -07:00
										 |  |  |  */ | 
					
						
							|  |  |  | export const platformBrowserDynamic = createPlatformFactory( | 
					
						
							|  |  |  |     platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS); |