refactor(core): renamed injectables into appInjector

BREAKING CHANGES

Before:

@Component({injectables: [Type]} class MyCmp{}

After:

@Component({appInjector: [Type]} class MyCmp{}
This commit is contained in:
vsavkin
2015-05-16 15:21:36 -07:00
parent 3a53f67911
commit 7b511462af
17 changed files with 34 additions and 52 deletions
@@ -14,7 +14,7 @@ void initReflector(reflector) {
'parameters': const [],
'annotations': const [
const Component(
selector: '[soup]', injectables: const [dep.DependencyComponent])
selector: '[soup]', appInjector: const [dep.DependencyComponent])
]
});
}
@@ -15,7 +15,7 @@ void initReflector(reflector) {
'parameters': const [],
'annotations': const [
const Component(
selector: '[soup]', injectables: const [dep.DependencyComponent])
selector: '[soup]', appInjector: const [dep.DependencyComponent])
]
});
i0.initReflector(reflector);