From 92b25591090566920fdd07ea361626dcc8c0d3dc Mon Sep 17 00:00:00 2001 From: vsavkin Date: Sun, 12 Oct 2014 17:03:22 -0400 Subject: [PATCH] refactor(di): cleanup --- modules/di/src/binding.js | 6 +++--- modules/di/src/key.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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;