refactor(pipes): removed pipes from properties

BREAKING CHANGE:

This PR remove an ability to use pipes in the properties config. Instead, inject the pipe registry.
This commit is contained in:
vsavkin
2015-06-18 15:40:12 -07:00
parent ad7aca631d
commit 20a8f0dbe5
31 changed files with 261 additions and 270 deletions

View File

@ -10,7 +10,7 @@ import {
Conditional,
EmptyExpr,
If,
Pipe,
BindingPipe,
ImplicitReceiver,
Interpolation,
KeyedAccess,
@ -68,7 +68,7 @@ export function main() {
it('should support Pipe', () => {
var originalExp = '(a | b)';
var ast = parseBinding(originalExp).ast;
expect(ast).toBeAnInstanceOf(Pipe);
expect(ast).toBeAnInstanceOf(BindingPipe);
expect(unparser.unparse(ast)).toEqual(originalExp);
});