Skip to content

Commit

Permalink
fix(misprint): replaced hightlight with highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
WolvenOne27 authored and valorkin committed Apr 22, 2016
1 parent 720ceba commit 6266d98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions components/select/select-pipes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 4 additions & 4 deletions components/select/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -29,7 +29,7 @@ let optionsTemplate = `
(mouseenter)="selectActive(o)"
(click)="selectMatch(o, $event)">
<a href="javascript:void(0)" class="ui-select-choices-row-inner">
<div [innerHtml]="o.text | hightlight:inputValue"></div>
<div [innerHtml]="o.text | highlight:inputValue"></div>
</a>
</div>
</li>
Expand All @@ -48,7 +48,7 @@ let optionsTemplate = `
(click)="selectMatch(o, $event)"
[ngClass]="{'active': isActive(o)}">
<a href="javascript:void(0)" class="ui-select-choices-row-inner">
<div [innerHtml]="o.text | hightlight:inputValue"></div>
<div [innerHtml]="o.text | highlight:inputValue"></div>
</a>
</div>
</li>
Expand All @@ -57,7 +57,7 @@ let optionsTemplate = `

@Component({
selector: 'ng-select',
pipes: [HightlightPipe],
pipes: [HighlightPipe],
template: `
<div tabindex="0"
*ngIf="multiple === false"
Expand Down

0 comments on commit 6266d98

Please sign in to comment.