Skip to content

Commit 77aa3d9

Browse files
committed
(#3) File to gather all custom pipes.
1 parent 8b70d90 commit 77aa3d9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/app/pipes/pipes.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/// <reference path="../../typings/_custom.d.ts" />
2+
/*
3+
* Angular 2
4+
*/
5+
import {Pipes} from 'angular2/change_detection';
6+
7+
/*
8+
* App Pipes
9+
*/
10+
/* TODO: Create these pipe classes
11+
import {capitalize} from './CapitalizePipe';
12+
import {rxAsync} from './RxPipe';
13+
*/
14+
15+
export var appPipes = [
16+
Pipes.extend({
17+
//'async': rxAsync,
18+
//'capitalize': capitalize
19+
// add more pipes to this Map
20+
})
21+
];

0 commit comments

Comments
 (0)