Skip to content

Commit

Permalink
Merge pull request #31 from VadimDez/feature/#23
Browse files Browse the repository at this point in the history
Fixes #23, made pipe impure to detect all the changes
  • Loading branch information
VadimDez authored Nov 8, 2017
2 parents 2019b1e + 90216f4 commit 65ff5f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/ng-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"start": "ng serve",
"build": "ng build --base-href /ngx-order-pipe/",
"test": "ng test --watch=false",
"test:watch": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"gh-pages": "ngh --message=\"update\" --dir ./dist"
Expand Down
3 changes: 2 additions & 1 deletion examples/ng-cli/src/app/order-pipe/ngx-order.pipe.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
name: 'orderBy'
name: 'orderBy',
pure: false
})
export class OrderPipe implements PipeTransform {

Expand Down
3 changes: 2 additions & 1 deletion src/ngx-order.pipe.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
name: 'orderBy'
name: 'orderBy',
pure: false
})
export class OrderPipe implements PipeTransform {

Expand Down

0 comments on commit 65ff5f7

Please sign in to comment.