diff --git a/modules/di/src/binding.js b/modules/di/src/binding.js index c98bbf03e3..5fc98aec15 100644 --- a/modules/di/src/binding.js +++ b/modules/di/src/binding.js @@ -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; diff --git a/modules/di/src/key.js b/modules/di/src/key.js index 86beb59c6f..a7df7fbdc0 100644 --- a/modules/di/src/key.js +++ b/modules/di/src/key.js @@ -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;