From dbeff6f54805382d4f5499370d4b62432b2497e5 Mon Sep 17 00:00:00 2001 From: Bryce Johnson Date: Sun, 17 Jan 2016 03:46:15 -0500 Subject: [PATCH] style(ReflectionCapabilities) _zipTypesAndAnnotations, not _zipTypesAndAnnotaions I was stepping through the Reflector and came across this little guy. Closes #6535 --- .../angular2/src/core/reflection/reflection_capabilities.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/angular2/src/core/reflection/reflection_capabilities.ts b/modules/angular2/src/core/reflection/reflection_capabilities.ts index 371e5778ae..a200420d0f 100644 --- a/modules/angular2/src/core/reflection/reflection_capabilities.ts +++ b/modules/angular2/src/core/reflection/reflection_capabilities.ts @@ -83,7 +83,7 @@ export class ReflectionCapabilities implements PlatformReflectionCapabilities { } /** @internal */ - _zipTypesAndAnnotaions(paramTypes, paramAnnotations): any[][] { + _zipTypesAndAnnotations(paramTypes, paramAnnotations): any[][] { var result; if (typeof paramTypes === 'undefined') { @@ -119,7 +119,7 @@ export class ReflectionCapabilities implements PlatformReflectionCapabilities { var paramAnnotations = this._reflect.getMetadata('parameters', typeOrFunc); var paramTypes = this._reflect.getMetadata('design:paramtypes', typeOrFunc); if (isPresent(paramTypes) || isPresent(paramAnnotations)) { - return this._zipTypesAndAnnotaions(paramTypes, paramAnnotations); + return this._zipTypesAndAnnotations(paramTypes, paramAnnotations); } } // The array has to be filled with `undefined` because holes would be skipped by `some`