From 588f7ba55c3fdb7fcdd75004c50ba86d78820317 Mon Sep 17 00:00:00 2001 From: John Meilleur Date: Wed, 13 Apr 2016 19:21:40 +0000 Subject: [PATCH] fix(icon): fixed typo with newValue parameter --- src/components/icon/iconDirective.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/icon/iconDirective.ts b/src/components/icon/iconDirective.ts index 116b40e..3a88317 100644 --- a/src/components/icon/iconDirective.ts +++ b/src/components/icon/iconDirective.ts @@ -64,9 +64,9 @@ export class IconDirective implements ng.IDirective { public link(scope: IIconScope, instanceElement: ng.IAugmentedJQuery, attrs: ng.IAttributes, controller: IconController): void { // add watcher - scope.$watch('uifType', (newValule: string, oldValue: string) => { + scope.$watch('uifType', (newValue: string, oldValue: string) => { // verify a valid icon was passed in - if (IconEnum[newValule] === undefined) { + if (IconEnum[newValue] === undefined) { controller.$log.error('Error [ngOfficeUiFabric] officeuifabric.components.icon - Unsupported icon: ' + 'The icon (\'' + scope.uifType + '\') is not supported by the Office UI Fabric. ' + 'Supported options are listed here: ' +