From 6266d98d90d471c8e81874bdffd7843dcf7191a5 Mon Sep 17 00:00:00 2001 From: Dean Date: Thu, 21 Apr 2016 12:12:22 -0500 Subject: [PATCH] fix(misprint): replaced hightlight with highlight --- components/select/select-pipes.ts | 4 ++-- components/select/select.ts | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/select/select-pipes.ts b/components/select/select-pipes.ts index 086a10dc..13f521a7 100644 --- a/components/select/select-pipes.ts +++ b/components/select/select-pipes.ts @@ -2,9 +2,9 @@ import {Pipe} from 'angular2/core'; import {escapeRegexp} from './common'; @Pipe({ - name: 'hightlight' + name: 'highlight' }) -export class HightlightPipe { +export class HighlightPipe { transform(value:string, args:any[]) { if (args.length < 1) { return value; diff --git a/components/select/select.ts b/components/select/select.ts index 26e196e8..78a5c5b9 100644 --- a/components/select/select.ts +++ b/components/select/select.ts @@ -13,7 +13,7 @@ import { } from 'angular2/common'; import {SelectItem} from './select-item'; import { - HightlightPipe, + HighlightPipe, stripTags } from './select-pipes'; import {IOptionsBehavior} from './select-interfaces'; @@ -29,7 +29,7 @@ let optionsTemplate = ` (mouseenter)="selectActive(o)" (click)="selectMatch(o, $event)"> -
+
@@ -48,7 +48,7 @@ let optionsTemplate = ` (click)="selectMatch(o, $event)" [ngClass]="{'active': isActive(o)}"> -
+
@@ -57,7 +57,7 @@ let optionsTemplate = ` @Component({ selector: 'ng-select', - pipes: [HightlightPipe], + pipes: [HighlightPipe], template: `