| 
									
										
										
										
											2015-05-22 16:20:46 -07:00
										 |  |  | import {makeDecorator, makeParamDecorator} from 'angular2/src/util/decorators'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export class ClassDecoratorImpl { | 
					
						
							|  |  |  |   value; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   constructor(value) { this.value = value; } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export class ParamDecoratorImpl { | 
					
						
							|  |  |  |   value; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   constructor(value) { this.value = value; } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export function classDecorator(value) { | 
					
						
							|  |  |  |   return new ClassDecoratorImpl(value); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export function paramDecorator(value) { | 
					
						
							|  |  |  |   return new ParamDecoratorImpl(value); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export var ClassDecorator = makeDecorator(ClassDecoratorImpl); | 
					
						
							| 
									
										
										
										
											2015-06-12 23:51:42 -07:00
										 |  |  | export var ParamDecorator = makeParamDecorator(ParamDecoratorImpl); |