@@ -10,7 +10,7 @@ _SpecInjector _currentSpecInjector = null;
10
10
class _SpecInjector {
11
11
Injector moduleInjector;
12
12
Injector injector;
13
- dynamic injectiorCreateLocation ;
13
+ dynamic injectorCreateLocation ;
14
14
final modules = < Module > [];
15
15
final initFns = < Function > [];
16
16
@@ -29,8 +29,8 @@ class _SpecInjector {
29
29
}
30
30
31
31
module (fnOrModule, [declarationStack]) {
32
- if (injectiorCreateLocation != null ) {
33
- throw "Injector already created at:\n $injectiorCreateLocation " ;
32
+ if (injectorCreateLocation != null ) {
33
+ throw "Injector already created at:\n $injectorCreateLocation " ;
34
34
}
35
35
try {
36
36
if (fnOrModule is Function ) {
@@ -49,7 +49,7 @@ class _SpecInjector {
49
49
inject (Function fn, [declarationStack]) {
50
50
try {
51
51
if (injector == null ) {
52
- injectiorCreateLocation = declarationStack;
52
+ injectorCreateLocation = declarationStack;
53
53
injector = new ModuleInjector (modules); // Implicit injection is disabled.
54
54
initFns.forEach ((fn) {
55
55
_invoke (injector, fn);
@@ -63,7 +63,7 @@ class _SpecInjector {
63
63
64
64
reset () {
65
65
injector = null ;
66
- injectiorCreateLocation = null ;
66
+ injectorCreateLocation = null ;
67
67
}
68
68
69
69
_invoke (Injector injector, Function fn) {
0 commit comments