refactor(di): cleanup

This commit is contained in:
vsavkin 2014-10-12 17:03:22 -04:00
parent c3d9b5c91e
commit 92b2559109
2 changed files with 5 additions and 5 deletions

View File

@ -3,10 +3,10 @@ import {List, MapWrapper, ListWrapper} from 'facade/collection';
import {reflector} from './reflector';
import {Key} from './key';
@FIELD('final key:Key')
@FIELD('final asFuture:bool')
@FIELD('final lazy:bool')
export class Dependency {
@FIELD('final key:Key')
@FIELD('final asFuture:bool')
@FIELD('final lazy:bool')
constructor(key:Key, asFuture:bool, lazy:bool) {
this.key = key;
this.asFuture = asFuture;

View File

@ -4,9 +4,9 @@ import {FIELD, int, bool} from 'facade/lang';
var _allKeys = {};
var _id:int = 0;
@FIELD('final token')
@FIELD('final id:int')
export class Key {
@FIELD('final token')
@FIELD('final id:int')
constructor(token, id:int) {
this.token = token;
this.id = id;